sane-project-website/old-archive/1999-06/0020.html

163 wiersze
8.0 KiB
HTML

<!-- received="Thu Jun 3 13:23:04 1999 PDT" -->
<!-- sent="Thu, 03 Jun 1999 22:19:33 +0200" -->
<!-- name="Peter Kirchgessner" -->
<!-- email="peter@kirchgessner.net" -->
<!-- subject="Re: problems with HP SJ 4C and Linux" -->
<!-- id="" -->
<!-- inreplyto="problems with HP SJ 4C and Linux" -->
<title>sane-devel: Re: problems with HP SJ 4C and Linux</title>
<h1>Re: problems with HP SJ 4C and Linux</h1>
<b>Peter Kirchgessner</b> (<a href="mailto:peter@kirchgessner.net"><i>peter@kirchgessner.net</i></a>)<br>
<i>Thu, 03 Jun 1999 22:19:33 +0200</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#20">[ date ]</a><a href="index.html#20">[ thread ]</a><a href="subject.html#20">[ subject ]</a><a href="author.html#20">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0021.html">Wolfgang Goeller: "Re: Problem with snapscan, aha1505, linux kernel 2.2.9"</a>
<li> <b>Previous message:</b> <a href="0019.html">Dr. Andreas Bolsch: "Re: Mustek ScanExpress 12000SP slow"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
Hi Britt,<br>
<p>
do you have the Scanner at SCSI ID 0 ? If so, you can try another one<br>
beside 0 and 7.<br>
Maybe you can also try to use only 5MB/s (but I dont know how to<br>
configure that).<br>
<p>
Sincerely<br>
<p>
Peter<br>
<p>
Britt Bolen wrote:<br>
<i>&gt; </i><br>
<i>&gt; Well the extra debugging levels didn't get me anywhere, but when I attempt</i><br>
<i>&gt; to do a simple scan, I get these message in my system logs...</i><br>
<i>&gt; </i><br>
<i>&gt; Jun 2 16:16:30 schubert kernel: scsi0 channel 0 : resetting for second</i><br>
<i>&gt; half of retries.</i><br>
<i>&gt; Jun 2 16:16:30 schubert kernel: SCSI bus is being reset for host 0</i><br>
<i>&gt; channel 0.</i><br>
<i>&gt; Jun 2 16:16:30 schubert kernel: ncr53c8xx_reset: pid=29311 reset_flags=1</i><br>
<i>&gt; serial_number=0 serial_number_at_timeout=0</i><br>
<i>&gt; Jun 2 16:16:30 schubert kernel: scsi0: device driver called scsi_done()</i><br>
<i>&gt; for a syncronous reset.</i><br>
<i>&gt; Jun 2 16:16:30 schubert kernel: ncr53c825-0: restart (scsi reset).</i><br>
<i>&gt; Jun 2 16:16:30 schubert kernel: ncr53c825-0-&lt;4,*&gt;: device did not report</i><br>
<i>&gt; SYNC.</i><br>
<i>&gt; Jun 2 16:16:31 schubert kernel: ncr53c825-0-&lt;0,*&gt;: FAST-10 SCSI 10.0 MB/s</i><br>
<i>&gt; (100 ns, offset 8)</i><br>
<i>&gt; </i><br>
<i>&gt; Termination is correct. (this used to work with xvscan under BSD/OS)</i><br>
<i>&gt; </i><br>
<i>&gt; Any other clues?</i><br>
<i>&gt; </i><br>
<i>&gt; thanks,</i><br>
<i>&gt; </i><br>
<i>&gt; Britt</i><br>
<i>&gt; </i><br>
<i>&gt; On Mon, 31 May 1999, Peter Kirchgessner wrote:</i><br>
<i>&gt; </i><br>
<i>&gt; &gt;</i><br>
<i>&gt; &gt; Britt Bolen wrote:</i><br>
<i>&gt; &gt; &gt;</i><br>
<i>&gt; &gt; &gt; I've got a stock RedHat 6.0 Linux machine running on a P166 with an</i><br>
<i>&gt; &gt; &gt; ncr53c825 scsi controller.</i><br>
<i>&gt; &gt; &gt;</i><br>
<i>&gt; &gt; &gt; My machine sees the scanner as</i><br>
<i>&gt; &gt; &gt;</i><br>
<i>&gt; &gt; &gt; Vendor: HP Model: C2520A Rev: 3503</i><br>
<i>&gt; &gt; &gt; Type: Processor ANSI SCSI revision: 02</i><br>
<i>&gt; &gt; &gt;</i><br>
<i>&gt; &gt; &gt; scanimage gives me this info....</i><br>
<i>&gt; &gt; &gt;</i><br>
<i>&gt; &gt; &gt; device `hp:/dev/scanner' is a Hewlett-Packard C2520A flatbed scanner</i><br>
<i>&gt; &gt; &gt;</i><br>
<i>&gt; &gt; &gt; When i set SANE_DEBUG_HP to 1 and try and grab an image, i get this</i><br>
<i>&gt; &gt; &gt; output... (abridged)</i><br>
<i>&gt; &gt; &gt;</i><br>
<i>&gt; &gt; &gt; [hp] sanei_hp_device_new: /dev/scanner: found HP ScanJet model C2520A</i><br>
<i>&gt; &gt; &gt; [hp] start: No request to mirror image vertically</i><br>
<i>&gt; &gt; &gt; [hp] start: No request to mirror image vertically</i><br>
<i>&gt; &gt; &gt; [hp] start: 2550 pixels per line, 319 bytes, 4199 lines high</i><br>
<i>&gt; &gt;</i><br>
<i>&gt; &gt; Hi Britt,</i><br>
<i>&gt; &gt;</i><br>
<i>&gt; &gt; up to here the SCSI communication was ok. Now the large amounts of data</i><br>
<i>&gt; &gt; will be transfered. Several possibilities for failure:</i><br>
<i>&gt; &gt;</i><br>
<i>&gt; &gt; Termination ok ?</i><br>
<i>&gt; &gt; hp-backend in SANE V1.0 has some problems in it. If possible try</i><br>
<i>&gt; &gt; upgrading to SANE 1.01 ?</i><br>
<i>&gt; &gt;</i><br>
<i>&gt; &gt; To localize the problem, you also can increase the value of</i><br>
<i>&gt; &gt; SANE_DEBUG_HP and SANE_DEBUG_SANEI_SCSI.</i><br>
<i>&gt; &gt;</i><br>
<i>&gt; &gt; --Peter</i><br>
<i>&gt; &gt;</i><br>
<i>&gt; &gt; &gt; [hp] sanei_hp_scl_startScan: Start scan</i><br>
<i>&gt; &gt; &gt; [hp] start_reader: reader proces 14468 started</i><br>
<i>&gt; &gt; &gt; [hp] do_read: Start reading data from scanner</i><br>
<i>&gt; &gt; &gt; [hp] do_read: Error from scsi_req_wait: Error during device I/O</i><br>
<i>&gt; &gt; &gt; [hp] do_read: cleaning up leftover requests</i><br>
<i>&gt; &gt; &gt; [hp] read: EOF from pipe</i><br>
<i>&gt; &gt; &gt; [hp] do_cancel: child exited, status = 9</i><br>
<i>&gt; &gt; &gt; scanimage: sane_read: Error during device I/O</i><br>
<i>&gt; &gt; &gt;</i><br>
<i>&gt; &gt; &gt; and it dies...</i><br>
<i>&gt; &gt; &gt;</i><br>
<i>&gt; &gt; &gt; I have stock 2.2.5 kernel with the generic scsi module loaded.</i><br>
<i>&gt; &gt; &gt;</i><br>
<i>&gt; &gt; &gt; Any ideas on why this is dieing?</i><br>
<i>&gt; &gt; &gt;</i><br>
<i>&gt; &gt; &gt; thanks a lot,</i><br>
<i>&gt; &gt; &gt;</i><br>
<i>&gt; &gt; &gt; Britt</i><br>
<i>&gt; &gt; &gt;</i><br>
<i>&gt; &gt; &gt; ------------------------------------------------------------------------</i><br>
<i>&gt; &gt; &gt; Britt Bolen EECS Computer Support Office</i><br>
<i>&gt; &gt; &gt; Division of Engineering and Applied Sciences email: bolen@eecs</i><br>
<i>&gt; &gt; &gt; Harvard University voice: 617 495-UNIX</i><br>
<i>&gt; &gt; &gt; ESL 112, 40 Oxford St., Cambridge, MA, 02138 fax: 617-496-1066</i><br>
<i>&gt; &gt; &gt; ------------------------------------------------------------------------</i><br>
<i>&gt; &gt; &gt;</i><br>
<i>&gt; &gt; &gt; --</i><br>
<i>&gt; &gt; &gt; Source code, list archive, and docs: <a href="http://www.mostang.com/sane/">http://www.mostang.com/sane/</a></i><br>
<i>&gt; &gt; &gt; To unsubscribe: echo unsubscribe sane-devel | mail <a href="mailto:majordomo@mostang.com">majordomo@mostang.com</a></i><br>
<i>&gt; &gt;</i><br>
<i>&gt; &gt; --</i><br>
<i>&gt; &gt; Peter Kirchgessner</i><br>
<i>&gt; &gt; WWW: <a href="http://www.kirchgessner.net">http://www.kirchgessner.net</a></i><br>
<i>&gt; &gt; e-mail: <a href="mailto:peter@kirchgessner.net">peter@kirchgessner.net</a></i><br>
<i>&gt; &gt;</i><br>
<i>&gt; </i><br>
<i>&gt; ------------------------------------------------------------------------</i><br>
<i>&gt; Britt Bolen EECS Computer Support Office</i><br>
<i>&gt; Division of Engineering and Applied Sciences email: bolen@eecs</i><br>
<i>&gt; Harvard University voice: 617 495-UNIX</i><br>
<i>&gt; ESL 112, 40 Oxford St., Cambridge, MA, 02138 fax: 617-496-1066</i><br>
<i>&gt; ------------------------------------------------------------------------</i><br>
<p>
<pre>
--
Peter Kirchgessner
WWW: <a href="http://www.kirchgessner.net">http://www.kirchgessner.net</a>
e-mail: <a href="mailto:peter@kirchgessner.net">peter@kirchgessner.net</a>
<p>
<p>
<pre>
--
Source code, list archive, and docs: <a href="http://www.mostang.com/sane/">http://www.mostang.com/sane/</a>
To unsubscribe: echo unsubscribe sane-devel | mail <a href="mailto:majordomo@mostang.com">majordomo@mostang.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0021.html">Wolfgang Goeller: "Re: Problem with snapscan, aha1505, linux kernel 2.2.9"</a>
<li> <b>Previous message:</b> <a href="0019.html">Dr. Andreas Bolsch: "Re: Mustek ScanExpress 12000SP slow"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>