You are not logged in.
Hi,
I have been using this scanner with ubuntu distribution and managed to use it. Usually the problem was it was recognized only with root first but was easy to overcome. This is the first time I try with system.d and I am struggling.
** lsusb **
Bus 001 Device 005: ID 05da:009a Microtek International, Inc. Phantom C6
***********************
** sudo ls -R /dev **
Nothing new under /dev:
This what I found new when I plug
/dev/bsg:
10:0:0:0
/dev/bus/usb/002:
001
/dev/char:
189:256
/dev/vboxusb/001:
005
***********************
If I plug unplug the bus & vboxusb numbers can change even if plug on the extact same usb port.
I try the following commands without success
kdesu xsane
kdesu xsane -d /dev/vboxusb/001/005
sudo scanimage -L
sudo scanimage -L -d /dev/vboxusb/001/005
I have read the wiki
https://wiki.archlinux.org/index.php/sane
Any idea how to continue? Thanks
Last edited by kamelie1706 (2014-02-21 10:54:00)
Offline
What do those commands actually display? Any error messages or other pearls of wisdom from them?
As to Ubuntu vs Arch. It has been said the Ubuntu has become the Windows of the Linux world. It does things for you automatically, without the user needing to know what is going on under the hood. Some people think that is a good thing. Others do not.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
This is what the ** sudo scanimage ** returns:
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
This is what ** sudo sane-find-scanner ** returns
# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your
# scanner is powered up and properly connected to your computer.
# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a kernel SCSI driver for your SCSI adapter.
# Also you need support for SCSI Generic (sg) in your operating system.
# If using Linux, try "modprobe sg".
found USB scanner (vendor=0x05da, product=0x009a) at libusb:001:005
# Your USB scanner was (probably) detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.
# Not checking for parallel port scanners.
# Most Scanners connected to the parallel port or other proprietary ports
# can't be detected by this program.
Agree with your statement, this scanner has always worked without me understanding ... hence also why I moved to arch so I can understand once for ever and just not rely on some kind of magic for me :-)
Issue seems to be that the device should be identified as scsi device (/dev/sg) even if using usb.
****************************
** /etc/mkinitcpio.conf **
****************************
MODULES=""
HOOKS="base udev autodetect modconf block filesystems keyboard fsck"
****************************
** Module seems loaded - lsmod | grep microtek **
microtek 5640 0
usbcore 180072 9 btusb,usb_storage,microtek,ohci_hcd,ohci_pci,ehci_hcd,ehci_pci,usbhid,xhci_hcd
scsi_mod 130669 5 usb_storage,microtek,libata,sd_mod,sr_mod
****************************
** under /dev **
****************************
autofs log sdc2 tty20 tty45 ttyS3
block loop-control sdc5 tty21 tty46 uhid
bsg mapper sdc6 tty22 tty47 uinput
btrfs-control mcelog sdd tty23 tty48 urandom
bus mem sdd1 tty24 tty49 usb
cdrom mqueue sdd2 tty25 tty5 vboxusb
char net shm tty26 tty50 vcs
console network_latency snapshot tty27 tty51 vcs1
core network_throughput snd tty28 tty52 vcs2
cpu null sr0 tty29 tty53 vcs3
cpu_dma_latency port stderr tty3 tty54 vcs4
disk ppp stdin tty30 tty55 vcs5
dri psaux stdout tty31 tty56 vcs6
fb0 ptmx tty tty32 tty57 vcs7
fd pts tty0 tty33 tty58 vcsa
full random tty1 tty34 tty59 vcsa1
fuse rfkill tty10 tty35 tty6 vcsa2
fw0 rtc tty11 tty36 tty60 vcsa3
hidraw0 rtc0 tty12 tty37 tty61 vcsa4
hidraw1 sda tty13 tty38 tty62 vcsa5
hidraw2 sda1 tty14 tty39 tty63 vcsa6
hidraw3 sdb tty15 tty4 tty7 vcsa7
hpet sdb1 tty16 tty40 tty8 vga_arbiter
hugepages sdb5 tty17 tty41 tty9 vhost-net
initctl sdb6 tty18 tty42 ttyS0 watchdog
input sdc tty19 tty43 ttyS1 zero
kmsg sdc1 tty2 tty44 ttyS2
****************************
Obviously no entry for scsi device or do I miss something?
Some info to dig in
http://marc.info/?l=linux-usb-users&m=1 … 222926&w=2
http://www.linux-usb.org/USB-guide/x291.html
http://www.sane-project.org/man/sane-microtek2.5.html
Last edited by kamelie1706 (2014-02-21 09:49:32)
Offline
I am getting there!
Problem was that "sg" module is not loaded. If I make "sudo modprobe sg" every thing works. Now I need to figure out how to launch the module at boot time.
I tried that in /etc/mkinitcpio.conf but did not load the module
# MODULES
# The following modules are loaded before any boot hooks are
# run. Advanced users may wish to specify all system modules
# in this array. For instance:
# MODULES="piix ide_disk reiserfs"
MODULES="sg"
Offline
[SOLVED]
# Load sg module at boot time
Create a file /etc/modules-load.d/sg.conf containing only one line "sg" & voila.
Everything works without root priviledges needed.
Offline