On Mon, Aug 09, 2004 at 10:14:58AM +0100, Fergus Wilde wrote:
SuSE 9.1, all updates, rebooted, tried hotplug restart and re-plugging scanner in all the possible combinations. Scanner worked perfectly in 9.0. Now with xsane, error message always appears:
Failed to start scanner. Error during device I/O
The system log for the relevant portion of activity:
Aug 9 09:10:28 pc11 su: pam_unix2: session finished for user root, service su Aug 9 09:15:35 pc11 kernel: usb 4-5: USB disconnect, address 2 Aug 9 09:15:35 pc11 /etc/hotplug/usb.agent[8066]: need a device for this comman d Aug 9 09:16:24 pc11 kernel: usb 4-5: new high speed USB device using address 3 Aug 9 09:16:24 pc11 kernel: usb 4-5: Product: EPSON Scanner Aug 9 09:16:24 pc11 kernel: usb 4-5: Manufacturer: EPSON Aug 9 09:16:25 pc11 /etc/hotplug/usb.agent[8141]: need a device for this comman d Aug 9 09:16:33 pc11 su: (to root) fergus on /dev/pts/1 Aug 9 09:16:33 pc11 su: pam_unix2: session started for user root, service su Aug 9 09:17:16 pc11 xsane: resmgr: server response code 502 Aug 9 09:17:16 pc11 last message repeated 8 times Aug 9 09:17:16 pc11 xsane: resmgr: server response code 500 Aug 9 09:17:16 pc11 last message repeated 3 times Aug 9 09:17:16 pc11 xsane: resmgr: server response code 502 Aug 9 09:17:16 pc11 last message repeated 8 times Aug 9 09:17:16 pc11 kernel: ehci_hcd 0000:00:1d.7: qh de418180 (#17) state 1 Aug 9 09:17:48 pc11 kernel: usb 4-5: bulk timeout on ep1in Aug 9 09:17:48 pc11 kernel: usbfs: USBDEVFS_BULK failed dev 3 ep 0x81 len 1 ret -110
Fergus, as you see from the messages, the problem is resmgr related (5xx error codes). Please see the thread http://lists.suse.com/archive/suse-linux-e/2004-Feb/2859.html in list archives. For the impatient, the solution is to create a file /etc/hotplug/usb/desktopdev.usermap with the following lines: # usb module match_flags idVendor idProduct bcdDevice_lo bcdDevice_hi bDeviceClass bDeviceSubClass bDeviceProtocol bInterfaceClass bInterfaceSubClass bInterfaceProtocol driver_info desktopdev 0x0003 0x04b8 0x011c 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000 That forces /etc/hotplug/usb.agent to invoke /etc/hotplug/usb/desktopdev and add a usb device to resmgr. The first line is actually a comment explaining the format of the next line. idVendor 0x04b8 is Epson, idProduct 0x011c is for Perfection Photo 3200. The second item might be different in your case. Regards, -Kastus