I have just upgraded from kernel 2.6.21.6 to 2.6.22.1 and xsane no longer finds my usb scanner under 2.6.22.1 from an ordinary account which is a member of the "scanner group".
This is under debian etch, and the relevant entry in etc/udev/libsane.rules is SYSFS{idVendor}=="04b8", SYSFS{idProduct}=="010a", MODE="664", GROUP="scanner" SANE_DEBUG_SANEI_USB=128 scanimage -L under 2.6.21.6 (good) gives: ------------------------------------------------------------------------ [sanei_debug] Setting debug level of sanei_usb to 128. [sanei_usb] sanei_usb_init: Looking for kernel scanner devices [sanei_usb] sanei_usb_init: can't stat /dev/usb/: No such file or directory [sanei_usb] sanei_usb_init: Looking for libusb devices usb_set_debug: Setting debugging level to 255 (on) [sanei_usb] sanei_usb_init: found libusb device (0x04b8/0x010a) interface 0 at libusb:001:004 <==== This is the scanner [sanei_usb] sanei_usb_init: device 0x05e3/0x0606, interface 0 doesn't look like a scanner (9/9) [sanei_usb] sanei_usb_init: device 0x05e3/0x0606: no suitable interfaces [sanei_usb] sanei_usb_init: device 0x05e3/0x0606, interface 0 doesn't look like a scanner (9/9) [sanei_usb] sanei_usb_init: device 0x05e3/0x0606: no suitable interfaces [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=0x010a [sanei_usb] sanei_usb_open: trying to open device `libusb:001:004' [sanei_usb] sanei_usb_open: configuration nr: 0 [sanei_usb] sanei_usb_open: interface nr: 0 --snip -- ---------------------------------------------------------------------------------- but under 2.6.22,1 SANE_DEBUG_SANEI_USB=128 scanimage -L ------------------------------------------------------------------------------- [sanei_debug] Setting debug level of sanei_usb to 128. [sanei_usb] sanei_usb_init: Looking for kernel scanner devices [sanei_usb] sanei_usb_init: can't stat /dev/usb/: No such file or directory [sanei_usb] sanei_usb_init: Looking for libusb devices usb_set_debug: Setting debugging level to 255 (on) [sanei_usb] sanei_usb_init: found libusb device (0x04b8/0x010a) interface 0 at libusb:001:005 <==== The scanner [sanei_usb] sanei_usb_init: device 0x05e3/0x0606, interface 0 doesn't look like a scanner (9/9) [sanei_usb] sanei_usb_init: device 0x05e3/0x0606: no suitable interfaces [sanei_usb] sanei_usb_init: device 0x05e3/0x0606, interface 0 doesn't look like a scanner (9/9) [sanei_usb] sanei_usb_init: device 0x05e3/0x0606: no suitable interfaces [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=0x010a [sanei_usb] sanei_usb_open: trying to open device `libusb:001:005' USB error: could not set config 1: Operation not permitted [sanei_usb] sanei_usb_open: libusb complained: could not set config 1: Operation not permitted [sanei_usb] Make sure you run as root or set appropriate permissions ---------------------------------------------------------------------------- I wonder if somehow I have misconfigured 2.6.22.1 but nothing was obvious after a couple of checks and recompiles. I see that there have been a great many patches to usb in 2.6.22. Is this a known problem, or am I missing something obvious/elementary? ael ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users