[sane-devel] Benq 5300U not working with sane-backends-1.0.17

Warren Post warren at copaninvest.com
Sat Mar 18 20:14:35 UTC 2006


I need help getting a Benq 5300U scanner working. Here is what I have
done and what the results have been:

Googling shows me that the scanner is supported by the snapscan backend,
included in sane-backends, and that I need sane-backends-1.0.16 or
newer. I compiled sane-backends-1.0.17 from source, made an RPM out of
it with checkinstall, and installed it. I modified the backend
configuration file snapscan.conf per the sane-snapscan manpage,
supplying in particular the path to the scanner's firmware.

Once that was done, "scanimage -L" finds an "Acer FlatbedScanner22
flatbed scanner", which corresponds to an Benq 4300 scanner. (I was
expecting FlatbedScanner24, which corresponds to my scanner.) Using
either the firmware for the 5300U (u254v042.bin) or the the 4300
(u222v067.bin), I get a device I/O error. Specifically, "scanimage >
test.pnm" returns "scanimage: open of device snapscan:libusb:001:003
failed: Error during device I/O", and "sane-troubleshoot" generates a
lengthy log ending with:

---snip---

[snapscan] Downloading
/home/warren/mydocs/doc/hardware/scan/benq_5300u/firmware/u254v042.bin
[snapscan] Size of firmware: 36494
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(0,0x81856f8,36504,0x0,0x0 (0)) 
[snapscan] atomic_usb_cmd(0,0x81856f8,36504,0x0,0x0 (0)) 
[snapscan] usb_cmd(0,0x81856f8,36504,0x0,0x0 (0)) 
[snapscan] usb_cmd: cmdlen=10, datalen=36494 
[snapscan] usb_write: writing:  0x2a 0x00 0x87 0x00 0x00 0x00 0x00 0x8e
0x8e 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:  0x02 0x8b 0xd2 0x02 0x1f 0xae 0xff 0xff
0xff 0xff ... 
[snapscan] Written 36494 bytes 
[snapscan] usb_read: reading:  0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] wait_scanner_ready
[snapscan] test_unit_ready
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(0,0xbfffe7b0,6,0x0,0x0 (0)) 
[snapscan] atomic_usb_cmd(0,0xbfffe7b0,6,0x0,0x0 (0)) 
[snapscan] usb_cmd(0,0xbfffe7b0,6,0x0,0x0 (0)) 
[snapscan] usb_cmd: cmdlen=6, datalen=0 
[snapscan] usb_write: writing:  0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] usb_write Only 0 bytes written 
[snapscan] Written 0 bytes
[snapscan] test_unit_ready: snapscan_cmd command failed: Error during
device I/O 
[snapscan] wait_scanner_ready: hardware error detected.
[snapscan] sane_snapscan_open: wait_scanner_ready after firmware upload
command failed: Error during device I/O 
<-- sane_open (snapscan:libusb:001:013): Error during device I/O
--> sane_exit ()
[snapscan] sane_snapscan_exit
<-- sane_exit ()
Exiting Fri Mar 17 20:09:06 2006

---snip---

Once I have tried either scanimage>test.pnm or sane-troubleshoot, the
scanner continually blinks its lights and becomes unresponsive. I have
to disconnect and reconnect its power before it becomes responsive
again.

I notice that the sane-snapscan page mentions that firmware upload
problems have been reported with my scanner, but if I am reading the log
above correctly this does not appear to be a problem here.

Any ideas as to what I should be looking at to get this scanner working?

TIA,
-- 
Warren Post
Santa Rosa de Copán, Honduras
http://srcopan.vze.com/




More information about the sane-devel mailing list