[sane-devel] suddenly problems opening /dev/usbscanner0

Henning Meier-Geinitz henning@meier-geinitz.de
Fri, 30 May 2003 16:23:02 +0200


Hi,

On Thu, May 29, 2003 at 09:44:12PM +0200, Christoph Bier wrote:
> [gt68xx] gt68xx_device_generic_req: command=0x70
> [gt68xx] >> 70 01 00 00 00 00 00 00 70 01 00 00 00 00 00 00 70 01 00 00 00 00 00 00 70 01 00 00 00 00 00 00 70 01 00 00 00 00 00 00 70 01 00 00 00 00 00 00 70 01 00 00 00 00 00 00 70 01 00 00 00 00 00 00
> [gt68xx] gt68xx_device_generic_req: reading response failed: Error during device I/O

This is ok, it just means that the firmware wasn't loaded.

> [gt68xx] download_firmware: trying /usr/local/share/sane/gt68xx/PS2Dfw.usb
> [gt68xx] firmware size: 7410
> [gt68xx] gt68xx_device_memory_write: dev=0x8065828, addr=0x0, size=0x40, data=0x80748f0
> [gt68xx] gt68xx_device_memory_write: sanei_usb_control_msg failed: Error during device I/O

That's strange. Looks like the kernel didn't like the first error and
now returns an error for the next command also.

Try libusb instead of the kernel scanner driver:
rmmod scanner
mount -t usbfs /proc/bus/usb /proc/bus/usb

If you use an UHCI host controller, try the module "uhci"
instead of "ubs-uhci".

Also, there is now sane-backend-1.0.12. I don't know if the backport
is ready yet, but al least for sid it's there.

Bye,
  Henning