[sane-devel] scanner hp5400

François Patte Francois.Patte@math-info.univ-paris5.fr
Thu, 7 Oct 2004 13:11:42 +0200


Selon Henning Meier-Geinitz <henning@meier-geinitz.de>:

> Hi,
>
> On Sat, Oct 02, 2004 at 04:25:14PM +0200, François Patte wrote:
> > I am unable to have the scanner hp5400c working under linux. Here the
> result of:
>
> [...]
>
> > [hp5400] vendor/product 0x03F0-0x1005 opened
> > [hp5400] Read: reqtype = 0xC0, req = 0x04, value = 1200
> > [hp5400] Read: reqtype = 0xC0, req = 0x04, value = C500
> > [hp5400] Command 12 verified
> > [hp5400] Sorry, unknown scanner version. Attempted match on :
> > [hp5400] * 'SilitekIBlizd C3 ScannerV0.84'
> > [hp5400] * 'SilitekIBlizd C3 ScannerV0.86'
> > [hp5400] * 'SilitekIBlizd C3 ScannerV0.87'
> > [hp5400] Version is ''
>
> > What can I do else?
>
> Rebuild sane-backends like this:
>
> CFLAGS="-DNO_STRING_VERSION_MATCH" ./configure
> make
> make install
>
> That's untested but I think it disables the version test.

This has solved the problem: scanner is now working.

Please include this change in the next version of sane-backends. I hope that
linux distributors will make the change too: it is not so easy to compile only
one package when several packages depend on it and that all where installed by
the way of rpm....

Thank you.
--
François Patte

Ecole française d'Extrême-Orient - Pune - Inde
Université René Descartes - Paris 5
UFR de mathématiques et informatique
http://www.math-info.univ-paris5.fr/~patte