[sane-devel] Unable to run scanimage

Stefan Urbanek stefan@agentfarms.net
Thu, 02 Jun 2005 20:37:47 +0200


On Thu, 2005-06-02 at 20:21 +0200, Stefan Urbanek wrote:
> On Thu, 2005-06-02 at 20:08 +0200, Henning Meier-Geinitz wrote:
> > Hi,
> > 
> > On Thu, Jun 02, 2005 at 08:02:58PM +0200, Stefan Urbanek wrote:
> > > [stevko@stevko experimental]$ SANE_DEBUG_GENESYS=255 scanimage -L
> > > 
> > > No scanners were identified. If you were expecting something different,
> > > check that the scanner is plugged in, turned on and detected by the
> > > sane-find-scanner tool (if appropriate). Please read the documentation
> > > which came with this software (README, FAQ, manpages).
> > 
> > As you don't get any debug output, the genesys backend is not even
> > loaded. check that it's listed in dll.conf. If it still doesn't work,
> > you can use "SANE_DEBUG_DLL=255" to find out why the genesys backend
> > is not loaded.
> > 

<snip>

Thank you for hints. I have managed to fix that. Some lines were missing
in the Makefile.

Now it ends on the similar problem as before.

[genesys] sanei_genesys_bulk_write_register (size = 6)
[sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 4, value = 130,
index = 0, len = 8
[sanei_usb] 0000: 01 11 00 00 06 00 00
00                         ................
[sanei_usb] sanei_usb_write_bulk: trying to write 6 bytes
[sanei_usb] 0000: 51 00 3A 00 3B 00
Q.:.;...........
USB error: error writing to bulk endpoint 2: Connection timed out
[sanei_usb] sanei_usb_write_bulk: write failed: Connection timed out
[genesys] sanei_genesys_bulk_write_register: failed while writing bulk
data: Error during device I/O
[genesys] sanei_genesys_fe_write_data: Failed while bulk writing
registers: Error during device I/O
scanimage: open of device genesys:libusb:004:022 failed: Error during
device I/O

Stefan
-- 
http://stefan.agentfarms.net

First they ignore you, then they laugh at you, then they fight you, then
you win.
- Mahatma Gandhi