I use a Acer 3300U scanner and everything was fine with 8.2Beta 3. Configuration detects the scanner and installs it. With the released 8.2 also, configuration detects the scanner and installs. devfs finds it whenever I switch on the scanner and puts an icon on desktop. sane-find-scanner reports the same. But xsane fails to find the scanner. I'm suspecting the usb driver shipped in released version. Please find attached logs from snapscan.conf and xsane.
PS: I use firmware u222v067.bin (see log file). The one shows in the conf file is result of trying out with different firmwares. Thanks, --jaimon
# If not automatically found from above, then you may manually specify # a device name. # For USB devices, make sure that the name contains 'usb' somewhere, as in # '/dev/usbscanner' or '/dev/usb/scanner0'. Do not use a link # from /dev/scanner to your USB device. # For SCSI, use the generic device (e.g. /dev/sga in Linux). #/dev/sga /dev/usb/scanner0 # Change to the fully qualified filename of your firmware file, if # firmware upload is needed by the scanner firmware /mnt/windows/windows/twain_32/Mira4_02/bin/u176v041.bin
Apr 19 07:12:02 jjaimon kernel: usb_control/bulk_msg: timeout Apr 19 07:12:22 jjaimon kernel: usb_control/bulk_msg: timeout Apr 19 07:13:02 jjaimon last message repeated 2 times Apr 19 07:13:22 jjaimon kernel: usb_control/bulk_msg: timeout Apr 19 07:13:22 jjaimon kernel: scanner.c: read_scanner(0): excessive NAK's received [jjaimon@jjaimon jjaimon]$ xsane [sanei_debug] Setting debug level of snapscan to 255. [snapscan] sane_snapscan_init [snapscan] sane_snapscan_init: Snapscan backend version 1.4.7 [snapscan] add_device(/dev/usb/scanner0) [snapscan] add_device: Detected (kind of) an USB device [snapscan] snapscani_usb_open(/dev/usb/scanner0) [snapscan] add_device: Checking if 0x04a5 is a supported USB vendor ID [snapscan] mini_inquiry [snapscan] snapscan_cmd [snapscan] snapscani_usb_cmd(7,0xbfffd220,6,0xbfffd1f0,0xbfffd1cc (36)) [snapscan] atomic_usb_cmd(7,0xbfffd220,6,0xbfffd1f0,0xbfffd1cc (36)) [snapscan] usb_cmd(7,0xbfffd220,6,0xbfffd1f0,0xbfffd1cc (36)) [snapscan] usb_cmd: cmdlen=6, datalen=0 [snapscan] usb_write: writing: 0x12 0x00 0x00 0x00 0x24 0x00 [snapscan] usb_read: reading: 0xf9 0x00 0x00 0x00 0x00 0x00 0x00 0x00 [snapscan] usb_read: reading: 0x06 0x00 0x02 0x02 0x49 0x00 0x00 0x00 0x43 0x6f ... [snapscan] usb_read: reading: 0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00 [snapscan] add_device: Is vendor "Color" model "FlatbedScanner22" a supported sc anner? [snapscan] snapscani_get_model_id(FlatbedScanner22, 7, 2) [snapscan] snapscani_get_model_id: looking up scanner for ID 0x04a5,0x20b0. [snapscan] snapscani_usb_close(7) [snapscan] sane_snapscan_get_devices (0xbfffe408, 0) [snapscan] sane_snapscan_open (/dev/usb/scanner0, 0xbffff264) [snapscan] find_device [snapscan] sane_snapscan_open: Allocating 64512 bytes as scanner buffer. [snapscan] sane_snapscan_open: allocated scanner structure at 0x81151d0 [snapscan] open_scanner [snapscan] snapscani_usb_open(/dev/usb/scanner0) [snapscan] sane_snapscan_open: waiting for scanner to warm up. [snapscan] wait_scanner_ready [snapscan] test_unit_ready [snapscan] snapscan_cmd [snapscan] snapscani_usb_cmd(6,0xbffff1d0,6,0x0,0x0 (0)) [snapscan] atomic_usb_cmd(6,0xbffff1d0,6,0x0,0x0 (0)) [snapscan] usb_cmd(6,0xbffff1d0,6,0x0,0x0 (0)) [snapscan] usb_cmd: cmdlen=6, datalen=0 [snapscan] usb_write: writing: 0x00 0x00 0x00 0x00 0x00 0x00 [snapscan] usb_read: reading: 0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00 [snapscan] sane_snapscan_open: performing scanner self test. [snapscan] send_diagnostic [snapscan] snapscan_cmd [snapscan] snapscani_usb_cmd(6,0xbffff1d0,6,0x0,0x0 (0)) [snapscan] atomic_usb_cmd(6,0xbffff1d0,6,0x0,0x0 (0)) [snapscan] usb_cmd(6,0xbffff1d0,6,0x0,0x0 (0)) [snapscan] sane_snapscan_open: self test passed. [snapscan] inquiry [snapscan] snapscan_cmd [snapscan] snapscani_usb_cmd(6,0x8115200,6,0x8121dc0,0x8115310 (120)) [snapscan] atomic_usb_cmd(6,0x8115200,6,0x8121dc0,0x8115310 (120)) [snapscan] usb_cmd(6,0x8115200,6,0x8121dc0,0x8115310 (120)) [snapscan] usb_cmd: cmdlen=6, datalen=0 [snapscan] usb_write: writing: 0x12 0x00 0x00 0x00 0x78 0x00 [snapscan] usb_read: reading: 0xf9 0x00 0x00 0x00 0x00 0x00 0x00 0x00 [snapscan] usb_read: reading: 0x06 0x00 0x02 0x02 0x49 0x00 0x00 0x00 0x43 0x6f ... [snapscan] usb_read: reading: 0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00 [snapscan] Looking up 176 [snapscan] Downloading /mnt/windows/windows/twain_32/Mira4_02/bin/u222v067.bin [snapscan] Size of firmware: 30246 [snapscan] snapscan_cmd [snapscan] snapscani_usb_cmd(6,0x81319c8,30256,0x0,0x0 (0)) [snapscan] atomic_usb_cmd(6,0x81319c8,30256,0x0,0x0 (0)) [snapscan] usb_cmd(6,0x81319c8,30256,0x0,0x0 (0)) [snapscan] usb_cmd: cmdlen=10, datalen=30246 [snapscan] usb_write: writing: 0x2a 0x00 0x87 0x00 0x00 0x00 0x00 0x76 0x26 0x0 0 [snapscan] usb_read: reading: 0xf8 0x00 0x00 0x00 0x00 0x00 0x00 0x00 [snapscan] usb_write: writing: 0x02 0xf3 0x2b 0x32 0xff 0xff 0xff 0xff 0xff 0xf f ... [snapscan] usb_read: reading: 0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00 [snapscan] snapscan_cmd [snapscan] snapscani_usb_cmd(6,0x8115200,6,0x8121dc0,0x8115310 (120)) [snapscan] atomic_usb_cmd(6,0x8115200,6,0x8121dc0,0x8115310 (120)) [snapscan] usb_cmd(6,0x8115200,6,0x8121dc0,0x8115310 (120)) [snapscan] usb_cmd: cmdlen=6, datalen=0 [snapscan] usb_write: writing: 0x12 0x00 0x00 0x00 0x78 0x00 [snapscan] usb_read Only -1 bytes read [snapscan] inquiry: snapscan_cmd command failed: Error during device I/O [snapscan] sane_snapscan_open: error in inquiry command: Error during device I/O [snapscan] sane_snapscan_exit
