[sane-devel] sane :: plustek opticslim m12

Henning Meier-Geinitz henning@meier-geinitz.de
Sun, 6 Jun 2004 21:53:24 +0200


Hi,

On Sun, Jun 06, 2004 at 12:49:23PM -0700, Ciprian Manea wrote:
> ps. yes, OpticSlim M12 it's an AutoFeed scanner (small
> format, marketted as a notebook scanner :)

This is the first autofeed scanner that will (hopefully) be supported
by the gt68xx backend so you'll need some more effort than for a
flatbed scanner.

> I tried to "fix" the source,

Please send a patch of the changes you did so far, especially
gt68xx_devices.c.

> and make scanimage ignore this 'power' stuff,

The next gt68xx version will have a flag to disable that test as it
doesn't work with other Plustek scanners, either.

> but then the "scanning" is verry
> erratic. it will feed the page, too fast to do any
> scanning I guess (indicator light will be solid green.
> usually under Win the light is blinking during
> operation/scanning); then it will properly eject the
> page (that is, feeding it much faster to the 'exit' :)
> 
> 
> Any advice on what should be done from this point?
> thanks!

Make a logfile of the windows scan process using the sniffusb program.
Anaylze the log file and add the changes to the gt68xx backend. Check
especially the "20 01" (setup scan) command and the move mohme commands.

> [gt68xx] gt68xx_device_generic_req: command=0x3f
> [gt68xx] >> 3f 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> [gt68xx] << 00 3f 3f 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> [gt68xx] sane_open: power control failure: check power plug!

Just disable this test.

Bye,
  Henning