[sane-devel] Canon LiDE 80 (2nd try)
Stefan Lucke
stefan at lucke.in-berlin.de
Mon Feb 11 07:59:08 UTC 2008
On Monday 11 February 2008, Reinhard Biegel wrote:
> > > You are talking about writes like:
> >
> > I guess YES.
>
> Yes, I do.
>
> > Now I found the right one AND the right time: Before doing the reset ;-).
> >
> > So now I've the initial motor movement with LED blinking and a scan
> > movement with green LED.
> >
> > But no (strange) data arrives.
>
>
> I tried your diff, but I get the known 'invalid argument error'.
>
> Regards,
> Reinhard
>
> Debug output of scanimage:
> [genesys_gl841] genesys_bulk_write_data_gamma: completed
> [genesys] sanei_genesys_write_register (0x0e, 0x00) completed
> [genesys] sanei_genesys_write_register (0x6b, 0x0c) completed
Writing value 0x08 is enough for me. Following 2 register writes
can be skipped. That's around line 5166 in genesys_gl841.c
Additional you may prevent register 0x6b from further writes by
excluding it around line 409.
In file genesys_devices.c you can change around line 585 the y start
position from 7.9 mm to 4.9 mm, as my scan head reaches opposite
of home position audible.
> [genesys] sanei_genesys_write_register (0x6e, 0x6d) completed
> [genesys] sanei_genesys_write_register (0x6c, 0x00) completed
> [genesys_gl841] gl841_bulk_write_register (elems = 104)
> [genesys_gl841] reg[0x01] = 0xa0
> [genesys_gl841] reg[0x02] = 0x38
> ...........
> [genesys_gl841] reg[0x6b] = 0x02
> [genesys_gl841] reg[0x6e] = 0x6d
> [genesys_gl841] gl841_bulk_write_register: failed while writing command:
> Invalid argument
> scanimage: open of device genesys:libusb:001:010 failed: Invalid argument
At that moment, I guess you'll see messages like:
new high speed USB device using ehci_hcd and address nn
via dmesg.
Which way is your scanner connected ?
Mine is connected via a self powered USB 2 hub.
--
Stefan Lucke
More information about the sane-devel
mailing list