kopia lustrzana https://gitlab.com/sane-project/website
148 wiersze
6.1 KiB
HTML
148 wiersze
6.1 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
|
|
"http://www.w3.org/TR/REC-html40/loose.dtd">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>sane-devel: Re: 2 SCSI cards</TITLE>
|
|
<META NAME="Author" CONTENT="abel deuring (a.deuring@satzbau-gmbh.de)">
|
|
<META NAME="Subject" CONTENT="Re: 2 SCSI cards">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
|
<H1>Re: 2 SCSI cards</H1>
|
|
<!-- received="Wed May 2 09:25:53 2001" -->
|
|
<!-- isoreceived="20010502162553" -->
|
|
<!-- sent="Wed, 02 May 2001 19:44:31 +0200" -->
|
|
<!-- isosent="20010502174431" -->
|
|
<!-- name="abel deuring" -->
|
|
<!-- email="a.deuring@satzbau-gmbh.de" -->
|
|
<!-- subject="Re: 2 SCSI cards" -->
|
|
<!-- id="3AF0477F.B40DDD74@satzbau-gmbh.de" -->
|
|
<!-- inreplyto="C1256A40.0056E123.00@d07mta01.france.ibm.com" -->
|
|
<STRONG>From:</STRONG> abel deuring (<A HREF="mailto:a.deuring@satzbau-gmbh.de?Subject=Re:%202%20SCSI%20cards&In-Reply-To=<3AF0477F.B40DDD74@satzbau-gmbh.de>"><EM>a.deuring@satzbau-gmbh.de</EM></A>)<BR>
|
|
<STRONG>Date:</STRONG> Wed May 02 2001 - 10:44:31 PDT
|
|
<P>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0027.html">Henning Meier-Geinitz: "Re: [dev] Problems with dynamic loading on AIX"</A>
|
|
<UL>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0025.html">fenaille@fr.ibm.com: "2 SCSI cards"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0025.html">fenaille@fr.ibm.com: "2 SCSI cards"</A>
|
|
<!-- nextthread="start" -->
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#26">[ date ]</A>
|
|
<A HREF="index.html#26">[ thread ]</A>
|
|
<A HREF="subject.html#26">[ subject ]</A>
|
|
<A HREF="author.html#26">[ author ]</A>
|
|
</UL>
|
|
<HR NOSHADE><P>
|
|
<!-- body="start" -->
|
|
<P>
|
|
<A HREF="mailto:fenaille@fr.ibm.com?Subject=Re:%202%20SCSI%20cards&In-Reply-To=<3AF0477F.B40DDD74@satzbau-gmbh.de>">fenaille@fr.ibm.com</A> wrote:
|
|
<BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> I have a Guillemot "Color Flatbedscanner_9" installed on an SCSI AEC 67D
|
|
</EM><BR>
|
|
<EM>> card. I have also an
|
|
</EM><BR>
|
|
<EM>> INITIO scsi card for cd brner and disks. If I run Xscanimage with the
|
|
</EM><BR>
|
|
<EM>> scanner connected to the external
|
|
</EM><BR>
|
|
<EM>> port of the INITIO it works as a snapscan.
|
|
</EM><BR>
|
|
<EM>> If I connect the scanner to the AEC card, Xscanimage crash.
|
|
</EM><BR>
|
|
<EM>> The scanner and the AEC card are well recognized during Mandrake 8 bootup.
|
|
</EM><BR>
|
|
<EM>> find-scanner finds the beast also.
|
|
</EM><BR>
|
|
<EM>> How could I tell Xscanimage how to find the scanner ?
|
|
</EM><BR>
|
|
<P>If you use the atp870u driver for your SCSI card, you'll need to patch
|
|
<BR>
|
|
that driver. It limits the data length for the SCSI command INQURIY to
|
|
<BR>
|
|
36 bytes, while several backends, including the Snapscan und the Umax
|
|
<BR>
|
|
backend, need to read more data for this command.
|
|
<BR>
|
|
<P>In the driver's source file (linux/driver/scsi/atp870u.c) you'll find
|
|
<BR>
|
|
either these lines:
|
|
<BR>
|
|
<P> if (ata_cdbu[h][0] == 0x12) {
|
|
<BR>
|
|
if (workrequ->request_bufflen > 0x24) {
|
|
<BR>
|
|
workrequ->request_bufflen = 0x24;
|
|
<BR>
|
|
ata_cdbu[h][4] = 0x24;
|
|
<BR>
|
|
}
|
|
<BR>
|
|
}
|
|
<BR>
|
|
<P>or these lines:
|
|
<BR>
|
|
<P> /*
|
|
<BR>
|
|
* Why limit this ????
|
|
<BR>
|
|
*/
|
|
<BR>
|
|
if (dev->ata_cdbu[0] == INQUIRY) {
|
|
<BR>
|
|
if (workrequ->request_bufflen > 0x24) {
|
|
<BR>
|
|
workrequ->request_bufflen = 0x24;
|
|
<BR>
|
|
dev->ata_cdbu[4] = 0x24;
|
|
<BR>
|
|
}
|
|
<BR>
|
|
}
|
|
<BR>
|
|
<P>If you comment them out and install the newly compiled driver, your
|
|
<BR>
|
|
scanner should be accessible via the atp870u driver. (Disclaimer: I'm
|
|
<BR>
|
|
not a kernel hacker and did not read the file atp870u.c very carefully,
|
|
<BR>
|
|
so I can't guarantee that this patch is completely side effect free. But
|
|
<BR>
|
|
it seems to work a few people.)
|
|
<BR>
|
|
<P>Abel
|
|
<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?Subject=Re:%202%20SCSI%20cards&In-Reply-To=<3AF0477F.B40DDD74@satzbau-gmbh.de>">majordomo@mostang.com</A>
|
|
</PRE>
|
|
<P><!-- body="end" -->
|
|
<HR NOSHADE>
|
|
<UL>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0027.html">Henning Meier-Geinitz: "Re: [dev] Problems with dynamic loading on AIX"</A>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0025.html">fenaille@fr.ibm.com: "2 SCSI cards"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0025.html">fenaille@fr.ibm.com: "2 SCSI cards"</A>
|
|
<!-- nextthread="start" -->
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#26">[ date ]</A>
|
|
<A HREF="index.html#26">[ thread ]</A>
|
|
<A HREF="subject.html#26">[ subject ]</A>
|
|
<A HREF="author.html#26">[ author ]</A>
|
|
</UL>
|
|
<!-- trailer="footer" -->
|
|
<HR NOSHADE>
|
|
<P>
|
|
<SMALL>
|
|
<EM>
|
|
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
|
|
: <EM>Wed May 02 2001 - 09:27:17 PDT</EM>
|
|
</EM>
|
|
</SMALL>
|
|
</BODY>
|
|
</HTML>
|