sane-project-website/old-archive/1997-08/0196.html

99 wiersze
4.2 KiB
HTML

<!-- received="Thu Sep 18 11:37:19 1997 MST" -->
<!-- sent="Thu, 18 Sep 1997 20:50:54 +0300 (EET DST)" -->
<!-- name="Petri Lehtonen" -->
<!-- email="onaias@iki.fi" -->
<!-- subject="HP 4P problems" -->
<!-- id="199709161735.TAA00442@Babylon5.wolfsburg.de" -->
<!-- inreplyto="XFMail.970916092217.Ritzert@T-Online.de" -->
<title>sane-devel: HP 4P problems</title>
<h1>HP 4P problems</h1>
<b>Petri Lehtonen</b> (<a href="mailto:onaias@iki.fi"><i>onaias@iki.fi</i></a>)<br>
<i>Thu, 18 Sep 1997 20:50:54 +0300 (EET DST)</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#196">[ date ]</a><a href="index.html#196">[ thread ]</a><a href="subject.html#196">[ subject ]</a><a href="author.html#196">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0197.html">Mathias Weigt: "Re: HP 4P problems"</a>
<li> <b>Previous message:</b> <a href="0195.html">Craig Milo Rogers: "SANE FTP Archive Problem?"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
Hello SANE developers and other expoerts,<br>
<p>
I'm having a bit of a problems getting SANE to work with my HP 4P scanner. First<br>
of all I'm not really sure if it should work with it, but I hope and saw some <br>
tips on getting it work on the mailing list archives.<br>
<p>
[I just noticed after writing this that on the sane-hp man page it first says <br>
that ScanJet 5P is know to work and then couple of lines below it, it says that<br>
currently 5P is not supported. I wonder if it really should read that 4P is<br>
supported. If this is the case please ignore the rest, then I'll just have to<br>
wait until 4P is supported since I don't know much more about C than that it is<br>
the third letter in the alphabets.]<br>
<p>
This boggles me...<br>
<p>
checking for scsi.h... (cached) no<br>
checking for sys/scsi.h... (cached) no<br>
checking for sys/scsicmd.h... (cached) no<br>
checking for sys/scsiio.h... (cached) no<br>
checking for bsd/dev/scsireg.h... (cached) no<br>
checking for scsi/sg.h... (cached) yes<br>
checking for /usr/src/linux/include/scsi/sg.h... (cached) yes<br>
<p>
I have a link from /usr/include/scsi to /usr/src/linux/include/scsi so I<br>
wonder why scsi.h isn't found and I have copied the scsi.h file to to both /usr/<br>
include and /usr/include/sys directories and it still doesn't find it.<br>
<p>
I overcame this problem by changing scsi.h in the configure script to <br>
/usr/src/linux/include/scsi/scsi.h and then the configure script found<br>
I don't know if it is enough.<br>
<p>
Then I do make and make install.<br>
<p>
Here is the debug information I get with scanimage -d hp<br>
<p>
[sanei_init_debug]: Setting debug level of dll to 128.<br>
[dll] adding backend pnm<br>
[dll] adding backend mustek<br>
[dll] adding backend hp<br>
[dll] adding backend qcam<br>
[dll] loading backend hp<br>
[dll] load: found `/usr/local/lib/libsane-hp.la'<br>
[dll] dlopen()ing `/usr/local/lib/libsane-hp.so.0'<br>
[dll] init: initializing backend `hp'<br>
[sanei_init_debug]: Setting debug level of hp to 128.<br>
[hp] attach: opening /dev/scanner<br>
[sanei_init_debug]: Setting debug level of sanei_scsi to 128.<br>
[sanei_scsi] sanei_scsi_open: open() failed: No such device or address<br>
[hp] attach: open failed (Invalid argument)<br>
scanimage: open of device hp failed: Invalid argument<br>
[dll] exiting<br>
[dll] calling backend `hp's exit function<br>
<p>
I'm using redhat 4.0 with various things upgraded. The scanner is connected to<br>
Adaptec 1542B. Kernel is 2.0.18 and I just downloaded the sane distribution 0.63<br>
from a sunsite mirror in funet.<br>
<p>
Any help is appreciated.<br>
<p>
<p>
<p>
Petri<br>
<p>
<pre>
--
Source code, list archive, and docs: <a href="http://www.azstarnet.com/~axplinux/sane/">http://www.azstarnet.com/~axplinux/sane/</a>
To unsubscribe: mail -s unsubscribe <a href="mailto:sane-devel-request@listserv.azstarnet.com">sane-devel-request@listserv.azstarnet.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0197.html">Mathias Weigt: "Re: HP 4P problems"</a>
<li> <b>Previous message:</b> <a href="0195.html">Craig Milo Rogers: "SANE FTP Archive Problem?"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>