[sane-devel] Lost with udev and sane
John Coppens
john at jcoppens.com
Sun Mar 15 21:47:16 UTC 2009
On Sun, 15 Mar 2009 19:24:06 +0100
Oliver Schwartz <Oliver.Schwartz at gmx.de> wrote:
> You don't need to create any '/dev/usb/scanner' device, nor should you
> specify the scanner device in snapscan.conf. Your scanner will be
> detected automatically provided that the USB ID is listed in
> snapscan.conf, which should be the case for the snapscan 1212 on any
> standard sane installation.
I've removed my additions to the rules file, powercycled the 1212U_2,
even restarted the computer.
Now, sane-find-scanner nor scanimage -L detect anything. Plugging the
scanner in, lsusb -t reports:
Bus# 1
`-Dev# 1 Vendor 0x1d6b Product 0x0001
`-Dev# 3 Vendor 0x06bd Product 0x2061
$ sane-find-scanner -q
[sanei_debug] Setting debug level of sanei_usb to 255.
[sanei_usb] sanei_usb_init: Looking for kernel scanner devices
[sanei_usb] sanei_usb_init: Looking for libusb devices
libusb:error [op_get_config_descriptor] open '/dev/bus/usb/001/003' failed, ret=-1 errno=2
libusb-compat error: usb_find_devices: couldn't initialize device 1.3 (error -5)
libusb:error [op_get_config_descriptor] open '/dev/bus/usb/001/001' failed, ret=-1 errno=2
libusb-compat error: usb_find_devices: couldn't initialize device 1.1 (error -5)
libusb:error [op_get_config_descriptor] open '/dev/bus/usb/002/002' failed, ret=-1 errno=2
libusb-compat error: usb_find_devices: couldn't initialize device 2.2 (error -5)
libusb:error [op_get_config_descriptor] open '/dev/bus/usb/002/001' failed, ret=-1 errno=2
libusb-compat error: usb_find_devices: couldn't initialize device 2.1 (error -5)
[sanei_usb] sanei_usb_init: found 0 devices
[sanei_usb] sanei_usb_open: trying to open device `/dev/usb/scanner'
[sanei_usb] sanei_usb_open: can't find device `/dev/usb/scanner' in list
[sanei_usb] sanei_usb_open: trying to open device `/dev/usb/scanner0'
[sanei_usb] sanei_usb_open: can't find device `/dev/usb/scanner0' in list
[sanei_usb] sanei_usb_open: trying to open device `/dev/usb/scanner1'
[sanei_usb] sanei_usb_open: can't find device `/dev/usb/scanner1' in list
[sanei_usb] sanei_usb_open: trying to open device `/dev/usb/scanner2'
[sanei_usb] sanei_usb_open: can't find device `/dev/usb/scanner2' in list
(repeats for a lot of other devices)
Strange - looking for libusb devices, looks for 001/, but in the /dev/bus/usb are
directories 1, 2 are they wrongly formatted?
Thanks for replying!
John
More information about the sane-devel
mailing list