[sane-devel] gt68xx bugreport

Henning Meier-Geinitz henning@meier-geinitz.de
Sun, 5 Dec 2004 20:28:50 +0100


Hi,

On Thu, Dec 02, 2004 at 04:18:27PM +0100, Michael Daum wrote:
> I've got a mustek bearpawn 2448 cs plus scanner attached to
> the usb port. But it does not work.
> 
> I'm running a debian/testing system with
> 
> - 2.6.7-smp linux kernel
> - sane 1.0.15-2

The latest stable version of sane-backends is 1.0.15 an that scanner
should work with that version of sane-backends. At least my BearPaw
2448 TA Plus does work (just tested).

However, the current development version in CVS as well as the latest
backend on the gt68xx website do have a bug. Actually, this bug was
introduced by fixing a bug for other scanners in backend version 1.0.67.

> [gt68xx] gt68xx_device_generic_req: command=0x41
> [gt68xx] >> 41 01 00 00 00 00 00 00 41 01 00 00 00 00 00 00 41 01 00 00 00 00 00 00 41 01 00 00 00 00 00 00 41 01 00 00 00 00 00 00 41 01 00 00 00 00 00 00 41 01 00 00 00 00 00 00 41 01 00 00 00 00 00 00
> [gt68xx] gt68xx_device_generic_req: reading response failed: Invalid argument

Some scanners don't like the "stop scan" command when no scan is
active. Probably a firmware bug. Other scanners need this command
before the scan head can be moved back.

For a quick fix use sane-backends 1.0.15 or modify the source code of
the development version like this:
Edit backend/gt68xx_devices.c, search the entry for
mustek_2448taplus_model, go down to the bottom of that entry and
change 0 to GT68XX_FLAG_NO_STOP in the "Which flags..." line.
Do "touch backend/gt68xx.c"; make; make install. Or, if you haven't
installed from source before, ./configure; make; make install.

I'll fix that in the next backend release.

Bye,
  Henning