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

102 wiersze
4.9 KiB
HTML

<!-- received="Thu Sep 18 12:51:08 1997 MST" -->
<!-- sent="Thu, 18 Sep 1997 21:14:18 +0059 (MDT)" -->
<!-- name="Mathias Weigt" -->
<!-- email="p5iba@medchem7.pharmazie.uni-halle.de" -->
<!-- subject="Re: HP 4P problems" -->
<!-- id="199709161735.TAA00442@Babylon5.wolfsburg.de" -->
<!-- inreplyto="XFMail.970918212831.onaias@iki.fi" -->
<title>sane-devel: Re: HP 4P problems</title>
<h1>Re: HP 4P problems</h1>
<b>Mathias Weigt</b> (<a href="mailto:p5iba@medchem7.pharmazie.uni-halle.de"><i>p5iba@medchem7.pharmazie.uni-halle.de</i></a>)<br>
<i>Thu, 18 Sep 1997 21:14:18 +0059 (MDT)</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#197">[ date ]</a><a href="index.html#197">[ thread ]</a><a href="subject.html#197">[ subject ]</a><a href="author.html#197">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0198.html">Petri Lehtonen: "Re: HP 4P problems"</a>
<li> <b>Previous message:</b> <a href="0196.html">Petri Lehtonen: "HP 4P problems"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
Servus !<br>
<p>
<i>&gt; Hello SANE developers and other expoerts,</i><br>
I`m not an expert :-)<br>
<p>
<i>&gt; I'm having a bit of a problems getting SANE to work with my HP 4P scanner. First</i><br>
<i>&gt; of all I'm not really sure if it should work with it, but I hope and saw some </i><br>
<i>&gt; tips on getting it work on the mailing list archives.</i><br>
<i>&gt; </i><br>
<i>&gt; [I just noticed after writing this that on the sane-hp man page it first says </i><br>
<i>&gt; that ScanJet 5P is know to work and then couple of lines below it, it says that</i><br>
<i>&gt; currently 5P is not supported. I wonder if it really should read that 4P is</i><br>
<i>&gt; supported. If this is the case please ignore the rest, then I'll just have to</i><br>
<i>&gt; wait until 4P is supported since I don't know much more about C than that it is</i><br>
<i>&gt; the third letter in the alphabets.]</i><br>
<p>
But I had the HP 4P running on SANE (0.62) - So there is no reason for it <br>
not to work.<br>
<i>&gt; This boggles me...</i><br>
<i>&gt; </i><br>
<i>&gt; checking for scsi.h... (cached) no</i><br>
<i>&gt; checking for sys/scsi.h... (cached) no</i><br>
<i>&gt; checking for sys/scsicmd.h... (cached) no</i><br>
<i>&gt; checking for sys/scsiio.h... (cached) no</i><br>
<i>&gt; checking for bsd/dev/scsireg.h... (cached) no</i><br>
<i>&gt; checking for scsi/sg.h... (cached) yes</i><br>
<i>&gt; checking for /usr/src/linux/include/scsi/sg.h... (cached) yes</i><br>
<p>
<i>&gt; </i><br>
<i>&gt; I have a link from /usr/include/scsi to /usr/src/linux/include/scsi so I</i><br>
<i>&gt; wonder why scsi.h isn't found and I have copied the scsi.h file to to both /usr/</i><br>
<i>&gt; include and /usr/include/sys directories and it still doesn't find it.</i><br>
<i>&gt; </i><br>
<i>&gt; I overcame this problem by changing scsi.h in the configure script to </i><br>
<i>&gt; /usr/src/linux/include/scsi/scsi.h and then the configure script found</i><br>
<i>&gt; I don't know if it is enough.</i><br>
<p>
You should do a "make distclean" before typing configure again..<br>
<p>
<i>&gt; </i><br>
<i>&gt; Then I do make and make install.</i><br>
<i>&gt; </i><br>
<i>&gt; Here is the debug information I get with scanimage -d hp</i><br>
<i>&gt; </i><br>
<i>&gt; [sanei_init_debug]: Setting debug level of dll to 128.</i><br>
<i>&gt; [dll] adding backend pnm</i><br>
<i>&gt; [dll] adding backend mustek</i><br>
<i>&gt; [dll] adding backend hp</i><br>
<i>&gt; [dll] adding backend qcam</i><br>
<i>&gt; [dll] loading backend hp</i><br>
<i>&gt; [dll] load: found `/usr/local/lib/libsane-hp.la'</i><br>
<i>&gt; [dll] dlopen()ing `/usr/local/lib/libsane-hp.so.0'</i><br>
<i>&gt; [dll] init: initializing backend `hp'</i><br>
<i>&gt; [sanei_init_debug]: Setting debug level of hp to 128.</i><br>
<i>&gt; [hp] attach: opening /dev/scanner</i><br>
<i>&gt; [sanei_init_debug]: Setting debug level of sanei_scsi to 128.</i><br>
<i>&gt; [sanei_scsi] sanei_scsi_open: open() failed: No such device or address</i><br>
<i>&gt; [hp] attach: open failed (Invalid argument)</i><br>
<i>&gt; scanimage: open of device hp failed: Invalid argument</i><br>
<i>&gt; [dll] exiting</i><br>
<i>&gt; [dll] calling backend `hp's exit function</i><br>
<p>
Does the Kernel recognizes the Scanner ?<br>
Is your link /dev/scanner to /dev/sg? correct set ?<br>
<p>
<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="0198.html">Petri Lehtonen: "Re: HP 4P problems"</a>
<li> <b>Previous message:</b> <a href="0196.html">Petri Lehtonen: "HP 4P problems"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>