[sane-devel] "hp4200" backend detects non-HP scanners as HP ScanJet 4200
Henning Meier-Geinitz
henning at meier-geinitz.de
Thu Sep 4 10:24:09 BST 2003
Hi,
On Sun, Aug 31, 2003 at 02:04:38PM +0200, Till Kamppeter wrote:
> Now, within the two days which me original posting needed to arrive on
> the SANE list, there is more information. See
>
> http://qa.mandrakesoft.com/show_bug.cgi?id=4987
>
> Especially also a user with a Mustek ScanExpress 1200 ("gt68xx" driver)
> observed this problem. It seems that the "hp4200" backend recognizes
> every scanner on USB as an HP ScanJet 4200.
There is a macro "NO_AUTODETECT" that's used in that code. Maybe it's
defined?
Anyway, the code assumes that the parameter for sanei_usb_open is a
filedescriptor and uses open instead of sanei_usb_open. That's not
possible anymore in recent SANE versions. I'm pretty much surprised
that it works at all.
That external backend needs a maintainer to avoid bit-rot.
Bye,
Henning
More information about the sane-devel
mailing list