[sane-devel] Scanner (USB) not found after kernel upgrade

Bill Brelsford k2di2 at att.net
Sun Feb 5 22:01:22 UTC 2006


On Sun Feb 05 2006 at 12:41 PM +0100, Henning Meier-Geinitz wrote:
> On 2006-02-04 15:55, Bill Brelsford wrote:
> > > If no, send a log file: 
> > > SANE_DEBUG_EPSON=255 SANE_DEBUG_SANEI_USB=255 scanimage -L
> > 
> > This time sane-find-scanner got "libusb:002:003".  The log file:
> 
> This is not a log file, it's only the output from libusb.

I lost the log by doing ".. scanimage -L 2>&1 | tee file"; scanimage
doesn't produce it if stderr goes into a pipe.

This looks like the relevant part:

 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x080d
 [sanei_usb] sanei_usb_open: trying to open device `libusb:002:003'
 USB error: could not set config 1: Device or resource busy
 [sanei_usb] sanei_usb_open: libusb complained: could not set config 1: Device or resource busy
 [sanei_usb] Maybe the kernel scanner driver claims the scanner's interface?

Since the only change was a new kernel, here are the "USB" changes
to the kernel configuration:

	> CONFIG_USB_PRINTER=y
	< CONFIG_USB_STORAGE=m
	> CONFIG_USB_STORAGE=y
	< CONFIG_USB_PEGASUS=m
	> CONFIG_USB_MON=y
	< CONFIG_USB_SERIAL=m
	< CONFIG_USB_SERIAL_KEYSPAN=m
	< CONFIG_USB_SERIAL_KEYSPAN_USA28XB=y
	< CONFIG_USB_EZUSB=y

And, for completeness, the entire log file:

 [sanei_debug] Setting debug level of epson to 255.
 [epson] sane_init: sane-backends 1.0.15
 [sanei_debug] Setting debug level of sanei_usb to 255.
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner0: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner1: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner2: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner3: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner4: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner5: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner6: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner7: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner8: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner9: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner10: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner11: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner12: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner13: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner14: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner15: No such device
 usb_set_debug: Setting debugging level to 255 (on)
 usb_os_find_busses: Found 004
 usb_os_find_busses: Found 003
 usb_os_find_busses: Found 002
 usb_os_find_busses: Found 001
 usb_os_find_busses: Skipping non bus directory devices
 usb_os_find_devices: couldn't get connect info
 usb_os_find_devices: Found 001 on 004
 error obtaining child information: Operation not permitted
 usb_os_find_devices: couldn't get connect info
 usb_os_find_devices: Found 002 on 003
 usb_os_find_devices: couldn't get connect info
 usb_os_find_devices: Found 001 on 003
 error obtaining child information: Operation not permitted
 error obtaining child information: Operation not permitted
 usb_os_find_devices: Found 003 on 002
 usb_os_find_devices: couldn't get connect info
 usb_os_find_devices: Found 001 on 002
 error obtaining child information: Inappropriate ioctl for device
 error obtaining child information: Operation not permitted
 usb_os_find_devices: couldn't get connect info
 usb_os_find_devices: Found 001 on 001
 error obtaining child information: Operation not permitted
 [sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
 [sanei_usb] sanei_usb_init: device 0x04e6/0x0313, interface 0 doesn't look like a scanner (0/8)
 [sanei_usb] sanei_usb_init: device 0x04e6/0x0313: no suitable interfaces
 [sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
 [sanei_usb] sanei_usb_init: found libusb device (0x04b8/0x080d) interface 0  at libusb:002:003
 [sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
 [sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
 [sanei_usb] sanei_usb_init: found 1 devices
 [epson] sane_init, ># epson.conf<
 [epson] sane_init, >#<
 [epson] sane_init, ># here are some examples for how to configure the EPSON backend<
 [epson] sane_init, >#<
 [epson] sane_init, ># SCSI scanner:<
 [epson] sane_init, >##scsi EPSON<
 [epson] sane_init, >#<
 [epson] sane_init, ># Parallel port scanner:<
 [epson] sane_init, >#pio 0x278<
 [epson] sane_init, >#pio 0x378<
 [epson] sane_init, >#pio 0x3BC<
 [epson] sane_init, >#<
 [epson] sane_init, ># USB scanner:<
 [epson] sane_init, ># There are two different methods of configuring a USB scanner: libusb and the kernel module<
 [epson] sane_init, ># For any system with libusb support (which is pretty much any recent Linux distribution) the<
 [epson] sane_init, ># following line is sufficient. This however assumes that the connected scanner (or to be more<
 [epson] sane_init, ># accurate, it's device ID) is known to the backend.<
 [epson] sane_init, >usb<
 [epson] attach_one_usb()
 [epson] SANE Epson Backend v0.2.43 - 2004-10-16
 [epson] attach(, 3)
 [epson] attach: opening 
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0101
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0103
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x010c
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0104
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x010b
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0106
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0109
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x010a
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0107
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x010e
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0110
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0112
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0116
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x011b
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x011c
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x011e
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0126
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0128
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0129
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0801
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0802
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0805
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0806
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0807
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0808
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x080f
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0000
 [epson] sane_init, ># For libusb support for unknown scanners use the following command<
 [epson] sane_init, ># usb <product ID> <device ID><
 [epson] sane_init, ># e.g.:<
 [epson] sane_init, ># usb 0x4b8 0x110<
 [epson] sane_init, >##usb 0x4b8 0x080d<
 [epson] sane_init, ># And for the scanner module, use the following configuration:<
 [epson] sane_init, >#usb /dev/usbscanner0<
 [epson] sane_init, >#usb /dev/usb/scanner0<
 [epson] sane_get_devices()
 [sanei_debug] Setting debug level of sanei_usb to 255.
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner0: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner1: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner2: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner3: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner4: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner5: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner6: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner7: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner8: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner9: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner10: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner11: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner12: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner13: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner14: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner15: No such device
 usb_os_init: Found USB VFS at /proc/bus/usb
 usb_set_debug: Setting debugging level to 255 (on)
 [sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
 [sanei_usb] sanei_usb_init: device 0x04e6/0x0313, interface 0 doesn't look like a scanner (0/8)
 [sanei_usb] sanei_usb_init: device 0x04e6/0x0313: no suitable interfaces
 [sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
 [sanei_usb] sanei_usb_init: found libusb device (0x04b8/0x080d) interface 0  at libusb:002:003
 [sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
 [sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
 [sanei_usb] sanei_usb_init: found 1 devices
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0101
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0103
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0104
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0106
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0107
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0109
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x010a
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x010b
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x010c
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x010e
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x010f
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0110
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0112
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0116
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0118
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x011b
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x011c
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x011d
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x011e
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0126
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0128
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0129
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x012a
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0801
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0802
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0805
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0806
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0807
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x080d
 [sanei_usb] sanei_usb_open: trying to open device `libusb:002:003'
 USB error: could not set config 1: Device or resource busy
 [sanei_usb] sanei_usb_open: libusb complained: could not set config 1: Device or resource busy
 [sanei_usb] Maybe the kernel scanner driver claims the scanner's interface?
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x080e
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x080f
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0810
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0811
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0814
 [sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0000
 [sanei_debug] Setting debug level of sanei_usb to 255.
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner0: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner1: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner2: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner3: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner4: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner5: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner6: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner7: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner8: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner9: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner10: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner11: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner12: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner13: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner14: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner15: No such device
 usb_os_init: Found USB VFS at /proc/bus/usb
 usb_set_debug: Setting debugging level to 255 (on)
 [sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
 [sanei_usb] sanei_usb_init: device 0x04e6/0x0313, interface 0 doesn't look like a scanner (0/8)
 [sanei_usb] sanei_usb_init: device 0x04e6/0x0313: no suitable interfaces
 [sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
 [sanei_usb] sanei_usb_init: found libusb device (0x04b8/0x080d) interface 0  at libusb:002:003
 [sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
 [sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
 [sanei_usb] sanei_usb_init: found 1 devices
 [sanei_usb] sanei_usb_find_devices: vendor=0x05da, product=0x30d4
 [sanei_usb] sanei_usb_find_devices: vendor=0x05da, product=0x30cf
 [sanei_debug] Setting debug level of sanei_usb to 255.
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner0: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner1: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner2: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner3: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner4: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner5: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner6: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner7: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner8: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner9: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner10: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner11: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner12: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner13: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner14: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner15: No such device
 usb_os_init: Found USB VFS at /proc/bus/usb
 usb_set_debug: Setting debugging level to 255 (on)
 [sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
 [sanei_usb] sanei_usb_init: device 0x04e6/0x0313, interface 0 doesn't look like a scanner (0/8)
 [sanei_usb] sanei_usb_init: device 0x04e6/0x0313: no suitable interfaces
 [sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
 [sanei_usb] sanei_usb_init: found libusb device (0x04b8/0x080d) interface 0  at libusb:002:003
 [sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
 [sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
 [sanei_usb] sanei_usb_init: found 1 devices
 [sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x0000
 [sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x2205
 [sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x2005
 [sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x2005
 [sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x0705
 [sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x0805
 [sanei_debug] Setting debug level of sanei_usb to 255.
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner0: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner1: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner2: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner3: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner4: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner5: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner6: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner7: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner8: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner9: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner10: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner11: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner12: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner13: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner14: No such device
 [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner15: No such device
 usb_os_init: Found USB VFS at /proc/bus/usb
 usb_set_debug: Setting debugging level to 255 (on)
 [sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
 [sanei_usb] sanei_usb_init: device 0x04e6/0x0313, interface 0 doesn't look like a scanner (0/8)
 [sanei_usb] sanei_usb_init: device 0x04e6/0x0313: no suitable interfaces
 [sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
 [sanei_usb] sanei_usb_init: found libusb device (0x04b8/0x080d) interface 0  at libusb:002:003
 [sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
 [sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
 [sanei_usb] sanei_usb_init: found 1 devices
 [sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x0105

 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).

-- 
Bill Brelsford
k2di2 at att.net



More information about the sane-devel mailing list