Re: ScanJet 4p and sane

David Mosberger-Tang (davidm@azstarnet.com)
Thu, 15 May 1997 10:40:15 -0700

>>>>> On Thu, 15 May 1997 10:43:11 -0700, Myslik Vladimir student 4_96_97 k336 <xmyslik@sun.felk.cvut.cz> said:

Myslik> Hello developers, I had no success with sane-0.55 and our
Myslik> school HP Scanjet 4p scanner. I uncommented hp in
Myslik> sane.d/dll.conf and set the symlink /dev/scanner -> sga The
Myslik> system loads sg module whenever I start saned, but the
Myslik> device list doesn't show anything.(scanimage -L)

Myslik> PLease let me know if I missed something and others' 4p
Myslik> scanners work with this.

Does your system have a symlink from /usr/include/scsi to
/usr/src/linux/include/scsi? If not, do one of the following:

(a) create the symlink and then rebuild everything from scratch

(b) upgrade to sane-0.57 and rebuild everything from scratch

I'd recommend (b), since there were various bug-fixes between 0.55 and
0.57 (and the diffs are relatively small). To rebuild SANE, do:

$ make distclean
$ ./configure ...whatever options you want/need...
$ make
$ su
$ make install

If this doesn't fix the problem, could you send me the output you get
with:

SANE_DEBUG_SANEI_SCSI=128 SANE_DEBUG_HP=128 SANE_DEBUG_DLL=128 \
scanimage -d hp -h

Once things work, would you mind sending me the output you get with:

SANE_DEBUG_HP=1 scanimage -d hp -h >/dev/null

Good luck!

--david

--
Source code, list archive, and docs: http://www.azstarnet.com/~axplinux/sane/
To unsubscribe: mail -s unsubscribe sane-devel-request@listserv.azstarnet.com