[sane-devel] libusb : Error during device I/O

"Günter Haus" Guenter.Haus at gmx.at
Fri Oct 7 21:04:48 UTC 2005


I'm trying to get a Benq 4300U to work under Ubuntu 'Breezy Badger'  
  
/etc/sane.d/dll.conf and snapscan.conf should be ok according to   
other threads I found incl. path to firmware ( I'm alternating trying the 
files u176v046.bin and u222v067.bin) 
lsusb  shows:  
Bus 001 Device 003: ID 04a5:20b0 Acer Peripherals Inc. (now   
BenQ Corp.) S2W 3300U/4300U 
 
scanimage -L shows: 
device `snapscan:libusb:001:003' is a Acer FlatbedScanner22 flatbed   
scanner 
 
scanimage -T shows  
[snapscan] sane_snapscan_init 
[snapscan] sane_snapscan_init: Snapscan backend version 1.4.42 
[snapscan] add_usb_device(libusb:001:011) 
[snapscan] add_usb_device: Detected (kind of) an USB device 
[snapscan] snapscani_usb_open(libusb:001:011) 
[snapscan] add_usb_device: Checking if 0x04a5 is a supported USB vendor 
ID 
[snapscan] snapscani_check_device() 
[snapscan] mini_inquiry 
[snapscan] snapscan_cmd 
[snapscan] snapscani_usb_cmd(0,0xbfd136b2,6,0xbfd1368e,0xbfd136b8 (36)) 
[snapscan] atomic_usb_cmd(0,0xbfd136b2,6,0xbfd1368e,0xbfd136b8 (36)) 
[snapscan] usb_cmd(0,0xbfd136b2,6,0xbfd1368e,0xbfd136b8 (36)) 
[snapscan] usb_cmd: cmdlen=6, datalen=0 
[snapscan] usb_write: writing:  0x12 0x00 0x00 0x00 0x24 0x00 
[snapscan] Written 6 bytes 
[snapscan] usb_read: reading:  0xf9 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
[snapscan] Read 8 bytes 
[snapscan] usb_read: reading:  0x06 0x00 0x02 0x02 0x49 0x00 0x00 0x00 
0x43 0x6f ... 
[snapscan] Read 36 bytes 
[snapscan] usb_read: reading:  0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
[snapscan] Read 8 bytes 
[snapscan] snapscani_check_device: Is vendor "Color" model 
"FlatbedScanner22" a supported scanner? 
[snapscan] snapscani_get_model_id(FlatbedScanner22, 0, 2) 
[snapscan] snapscani_get_model_id: looking up scanner for ID 
0x04a5,0x20b0. 
[snapscan] snapscani_check_device: Autodetected driver: Acer4300 (42 bit) 
[snapscan] snapscani_usb_close(0) 
[snapscan] 1st read 3 write 1 
[snapscan] snapscani_usb_cmd(0,0xbfd136ae,6,0x0,0x0 (0)) 
[snapscan] atomic_usb_cmd(0,0xbfd136ae,6,0x0,0x0 (0)) 
[snapscan] usb_cmd(0,0xbfd136ae,6,0x0,0x0 (0)) 
[snapscan] usb_cmd: cmdlen=6, datalen=0 
[snapscan] usb_write: writing:  0x00 0x00 0x00 0x00 0x00 0x00 
[snapscan] Written 6 bytes 
[snapscan] usb_read: reading:  0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
[snapscan] Read 8 bytes 
[snapscan] 2nd read 4 write 2 
[snapscan] snapscani_init_device_structure() 
[snapscan] sane_snapscan_get_devices (0xbfd14898, 0) 
[snapscan] sane_snapscan_open (libusb:001:011, 0xbfd14898) 
[snapscan] find_device 
[snapscan] sane_snapscan_open: Allocating 64512 bytes as scanner buffer. 
[snapscan] sane_snapscan_open: allocated scanner structure at 0x8053068 
[snapscan] open_scanner 
[snapscan] snapscani_usb_open(libusb:001:011) 
[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(0,0xbfd146a6,6,0x0,0x0 (0)) 
[snapscan] atomic_usb_cmd(0,0xbfd146a6,6,0x0,0x0 (0)) 
[snapscan] usb_cmd(0,0xbfd146a6,6,0x0,0x0 (0)) 
[snapscan] usb_cmd: cmdlen=6, datalen=0 
[snapscan] usb_write: writing:  0x00 0x00 0x00 0x00 0x00 0x00 
[snapscan] Written 6 bytes 
[snapscan] usb_read: reading:  0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
[snapscan] Read 8 bytes 
[snapscan] sane_snapscan_open: performing scanner self test. 
[snapscan] send_diagnostic 
[snapscan] snapscan_cmd 
[snapscan] snapscani_usb_cmd(0,0xbfd1482e,6,0x0,0x0 (0)) 
[snapscan] atomic_usb_cmd(0,0xbfd1482e,6,0x0,0x0 (0)) 
[snapscan] usb_cmd(0,0xbfd1482e,6,0x0,0x0 (0)) 
[snapscan] sane_snapscan_open: self test passed. 
[snapscan] inquiry 
[snapscan] snapscan_cmd 
[snapscan] snapscani_usb_cmd(0,0x8053098,6,0x805f2a8,0x80531a8 (120)) 
[snapscan] atomic_usb_cmd(0,0x8053098,6,0x805f2a8,0x80531a8 (120)) 
[snapscan] usb_cmd(0,0x8053098,6,0x805f2a8,0x80531a8 (120)) 
[snapscan] usb_cmd: cmdlen=6, datalen=0 
[snapscan] usb_write: writing:  0x12 0x00 0x00 0x00 0x78 0x00 
[snapscan] Written 6 bytes 
[snapscan] usb_read: reading:  0xf9 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
[snapscan] Read 8 bytes 
[snapscan] usb_read: reading:  0x06 0x00 0x02 0x02 0x49 0x00 0x00 0x00 
0x43 0x6f ... 
[snapscan] Read 120 bytes 
[snapscan] usb_read: reading:  0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
[snapscan] Read 8 bytes 
[snapscan] inquiry: exposure time: 0.0 ms 
[snapscan] inquiry: ms per line: 0.000000 
[snapscan] inquiry: G2R_DIFF: 0 
[snapscan] inquiry: B2R_DIFF: 0 
[snapscan] inquiry: Chroma offsets=0; Red=0, Green:=0, Blue=0 
[snapscan] inquiry: hardware config = 0x00 
[snapscan] inquiry: bits per pixel = 8 
[snapscan] inquiry: pixels per scan line = 0 
[snapscan] inquiry: bytes per scan line = 0 
[snapscan] inquiry: number of scan lines = 0 
[snapscan] inquiry: effective buffer size = 0 bytes, 0 lines 
[snapscan] inquiry: expected total scan data: 0 bytes 
[snapscan] Looking up 176 
[snapscan] Downloading /etc/sane.d/firmware.bin 
[snapscan] Size of firmware: 31385 
[snapscan] snapscan_cmd 
[snapscan] snapscani_usb_cmd(0,0x806eeb0,31395,0x0,0x0 (0)) 
[snapscan] atomic_usb_cmd(0,0x806eeb0,31395,0x0,0x0 (0)) 
[snapscan] usb_cmd(0,0x806eeb0,31395,0x0,0x0 (0)) 
[snapscan] usb_cmd: cmdlen=10, datalen=31385 
[snapscan] usb_write: writing:  0x2a 0x00 0x87 0x00 0x00 0x00 0x00 0x7a 
0x99 0x00 
[snapscan] Written 10 bytes 
[snapscan] usb_read: reading:  0xf8 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
[snapscan] Read 8 bytes 
[snapscan] usb_write: writing:  0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x00 0x00 ... 
[snapscan] Written 31385 bytes 
[snapscan] usb_read: reading:  0xfb 0x02 0x00 0x00 0x00 0x00 0x00 0x00 
[snapscan] Read 8 bytes 
[snapscan] usb_request_sense 
[snapscan] usb_cmd(0,0xbfd144a2,6,0xbfd14486,0xbfd144a8 (20)) 
[snapscan] usb_cmd: cmdlen=6, datalen=0 
[snapscan] usb_write: writing:  0x03 0x00 0x00 0x00 0x14 0x00 
[snapscan] Written 6 bytes 
[snapscan] usb_read: reading:  0xf9 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
[snapscan] Read 8 bytes 
[snapscan] usb_read: reading:  0xf0 0x00 0x04 0x00 0x00 0x00 0x00 0x0b 
0x00 0x00 ... 
[snapscan] Read 20 bytes 
[snapscan] usb_read: reading:  0xfb 0x02 0x00 0x00 0x00 0x00 0x00 0x00 
[snapscan] Read 8 bytes 
[snapscan] usb_request_sense 
[snapscan] usb_cmd(0,0xbfd143e2,6,0xbfd143c6,0xbfd143e8 (20)) 
[snapscan] usb_cmd: cmdlen=6, datalen=0 
[snapscan] usb_write: writing:  0x03 0x00 0x00 0x00 0x14 0x00 
[snapscan] Written 6 bytes 
[snapscan] usb_read: reading:  0xf9 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
[snapscan] Read 8 bytes 
[snapscan] usb_read: reading:  0xf0 0x00 0x00 0x00 0x00 0x00 0x00 0x0b 
0x00 0x00 ... 
[snapscan] Read 20 bytes 
[snapscan] usb_read: reading:  0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
[snapscan] Read 8 bytes 
[snapscan] sense_handler(0, 0xbfd143c6, 0x8053068) 
[snapscan] sense_handler: sense key: 0x00, asc: 0x00, ascq: 0x00, i1: 
0x00, i2: 0x00 
[snapscan] sense_handler: No sense. 
[snapscan] sense_handler(0, 0xbfd14486, 0x8053068) 
[snapscan] sense_handler: sense key: 0x04, asc: 0x00, ascq: 0x00, i1: 
0x01, i2: 0x00 
[snapscan] sense_handler: Hardware error. (0x01, 0x00) 
[snapscan] sane_snapscan_open: download_firmware command failed: Error 
during device I/O 
scanimage: open of device snapscan:libusb:001:011 failed: Error during 
device I/O 
[snapscan] sane_snapscan_exit 
 
I don't have any clue, hoping you can help 
regards 
Guenter 
what's wrong!:confused: THX in advance   

-- 
NEU: Telefon-Flatrate fürs dt. Festnetz! GMX Phone_Flat: 9,99 Euro/Mon.*
Für DSL-Nutzer. Ohne Providerwechsel! http://www.gmx.net/de/go/telefonie



More information about the sane-devel mailing list