sane-project-website/old-archive/1998-02/0013.html

111 wiersze
4.7 KiB
HTML

<!-- received="Tue Feb 3 13:15:45 1998 PST" -->
<!-- sent="Tue, 3 Feb 1998 22:14:57 +0100 (MET)" -->
<!-- name="Martin Huber" -->
<!-- email="hu@garfield.m.isar.de" -->
<!-- subject="Re: SANE and Sparc" -->
<!-- id="199802032114.WAA08393@garfield.m.isar.de" -->
<!-- inreplyto="SANE and Sparc" -->
<title>sane-devel: Re: SANE and Sparc</title>
<h1>Re: SANE and Sparc</h1>
<b>Martin Huber</b> (<a href="mailto:hu@garfield.m.isar.de"><i>hu@garfield.m.isar.de</i></a>)<br>
<i>Tue, 3 Feb 1998 22:14:57 +0100 (MET)</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#13">[ date ]</a><a href="index.html#13">[ thread ]</a><a href="subject.html#13">[ subject ]</a><a href="author.html#13">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0014.html">mrada: "I give up"</a>
<li> <b>Previous message:</b> <a href="0012.html">Christoph Doerbeck: "Problems after installing 0.70"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
--Gam_of_Porpoises_780_000<br>
Content-Type: TEXT/plain; charset=us-ascii<br>
Content-MD5: p9MTjsXIrxzqtYMVfIDtHw==<br>
<p>
<p>
<i>&gt; Date: Thu, 29 Jan 1998 16:49:16 -0600</i><br>
<i>&gt; From: "D. Cameron Mauch" &lt;<a href="mailto:CameronM@savvis.com">CameronM@savvis.com</a>&gt;</i><br>
<i>&gt; MIME-Version: 1.0</i><br>
<i>&gt; To: <a href="mailto:sane-devel@mostang.com">sane-devel@mostang.com</a></i><br>
<i>&gt; Subject: SANE and Sparc</i><br>
<i>&gt; </i><br>
<i>&gt; Hello. SANE does not currently work with Sparc. I have spent a week working </i><br>
with many<br>
<i>&gt; different individuals on SANE with the SCG driver. It appears the SCG driver </i><br>
has some<br>
<i>&gt; problems. See the attached error output for more information. And the SG </i><br>
driver which<br>
<i>&gt; I just purchased does not seem to come with the sgdefs.h file needed by SANE </i><br>
to use it.<br>
<i>&gt; Any other ideas? I have already applied several patches, including the one to </i><br>
the file<br>
<i>&gt; include/sane/config.h.in to recognize the SCG and SG drivers. There were also </i><br>
two in the<br>
<i>&gt; sanei/sanei_scsi.c file (on lines 1392 and 1424). </i><br>
<i>&gt; </i><br>
<p>
This is not a problem of the sg drivers.<br>
They call the kernel function scsi_transport, which passes the SCSI control<br>
block down to the scsi interface and brings back the result.<br>
Evidently this is incompatible with some reserved or vendor-specific<br>
SCSI commands used by some scanners.<br>
HP scanners use none of them, umax do, but the command could be removed<br>
without any effect, but for microtek I did not succeed in getting rid of<br>
it.<br>
I sent the attached mail to the microtek backend developer, but got no <br>
response until now.<br>
I will contact sun if there is a solution. I don't know how to run microtek<br>
scanners witout a modification in either the backend or the kernel code<br>
<p>
--martin<br>
<p>
--Gam_of_Porpoises_780_000<br>
Content-Type: TEXT/plain; name="microtek.mail"; charset=us-ascii; x-unix-mode=0640<br>
Content-Description: microtek.mail<br>
Content-MD5: fj3JMTd+jGIpLU3dEAP0QA==<br>
<p>
Date: Sat, 31 Jan 1998 00:26:32 +0100 (MET)<br>
From: Martin Huber &lt;hu@garfield&gt;<br>
Subject: Microtek on Solaris<br>
To: <a href="mailto:maddog@mir.com">maddog@mir.com</a><br>
Mime-Version: 1.0<br>
<p>
I tried to use a Microtek ScanMaker III with Solaris 2.<br>
<p>
I found that microtek uses the command 0x19 in the function mode_sense_1().<br>
This command is vendor-specific for all devices except of magnetic tapes,<br>
where it is ERASE, and there the fifth word of the cdb, where microtek<br>
has the buffer size, is RESERVED.<br>
Evidently the scanner behaves different upon this command than a tape,<br>
and other than the solaris kernel expects. So it ignores this command, and<br>
returns in pkt_reason<br>
CMD_UNX_BUS_FREE = Unexpected Bus Free Phase occurred.<br>
<br>
The scanner gets in a locked state.<br>
<p>
What does this command do? Can it be substituted by another one?<br>
(umax had a similar command, which could be simply omitted).<br>
If I omit it, the scanner never replies with READY to a test_unit_ready<br>
command.<br>
<p>
--martin<br>
<p>
<p>
--Gam_of_Porpoises_780_000--<br>
<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="0014.html">mrada: "I give up"</a>
<li> <b>Previous message:</b> <a href="0012.html">Christoph Doerbeck: "Problems after installing 0.70"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>