Re: HP Scanjet 4p and NetBSD/Sparc

David Mosberger-Tang (David.Mosberger@acm.org)
Tue, 27 Jan 1998 20:43:40 -0800

>>>>> On Tue, 27 Jan 1998 13:55:36 +0000 (GMT), Julian Coleman <J.D.Coleman@newcastle.ac.uk> said:

Julian> I'm trying to get SANE 0.69 to run on NetBSD 1.3/Sparc with
Julian> a HP Scanjet 4p. Scanimage fails with 'scanimage:
Julian> sane_start: Error during device I/O

Julian> Having added a few debugging printf's, I see it talk to the
Julian> scanner and get back some parameters. However, it fails to
Julian> get max_dpi and min|max brightnes|contrast. After that, it
Julian> shows the device type, sets the coordinates, brightness,
Julian> contrast and mode (don't know if these succeed) and fails
Julian> when it tries to read back the pixels per line
Julian> (\033*s1024E). When it fails, the received string is the
Julian> same as the transmitted string, e.g. transmit
Julian> '\033*s10323H', receive '\033*s10323H'.

Could well be a bug in the NetBSD version of the SANE scsi routines
(in sanei/sanei_scsi.c). I don't think they have been tested all that
well (or is anyone else using SANE under NetBSD at present?).

Julian> PS. Where can I get documentation on the scanner SCSI
Julian> command set? I tried searching HP's web pages, but didn't
Julian> find anything.

The information is not "public" but you can send mail to
hp_scan@greeley.sykes.com and ask how to get the necessary docs.

--david

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com