kopia lustrzana https://gitlab.com/sane-project/website
206 wiersze
8.1 KiB
HTML
206 wiersze
8.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: [snapscan] Vuego 620S and ACARD scsi card</TITLE>
|
|
<META NAME="Author" CONTENT="abel deuring (a.deuring@satzbau-gmbh.de)">
|
|
<META NAME="Subject" CONTENT="Re: [snapscan] Vuego 620S and ACARD scsi card">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
|
<H1>Re: [snapscan] Vuego 620S and ACARD scsi card</H1>
|
|
<!-- received="Fri Dec 15 04:34:23 2000" -->
|
|
<!-- isoreceived="20001215123423" -->
|
|
<!-- sent="Fri, 15 Dec 2000 14:48:54 +0100" -->
|
|
<!-- isosent="20001215134854" -->
|
|
<!-- name="abel deuring" -->
|
|
<!-- email="a.deuring@satzbau-gmbh.de" -->
|
|
<!-- subject="Re: [snapscan] Vuego 620S and ACARD scsi card" -->
|
|
<!-- id="3A3A2146.45D4F669@satzbau-gmbh.de" -->
|
|
<!-- inreplyto="3A4DDE14@operamail.com" -->
|
|
<STRONG>From:</STRONG> abel deuring (<A HREF="mailto:a.deuring@satzbau-gmbh.de?Subject=Re:%20[snapscan]%20Vuego%20620S%20and%20ACARD%20scsi%20card&In-Reply-To=<3A3A2146.45D4F669@satzbau-gmbh.de>"><EM>a.deuring@satzbau-gmbh.de</EM></A>)<BR>
|
|
<STRONG>Date:</STRONG> Fri Dec 15 2000 - 05:48:54 PST
|
|
<P>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0168.html">Tobias Nijweide: "Re: HP5300C mini HowTo"</A>
|
|
<UL>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0166.html">Remco van 't Veer: "Re: HP5300C mini HowTo"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0165.html">Ben Millhouse: "[snapscan] Vuego 620S and ACARD scsi card"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0178.html">Ben Millhouse: "RE: [snapscan] Vuego 620S and ACARD scsi card"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#167">[ date ]</A>
|
|
<A HREF="index.html#167">[ thread ]</A>
|
|
<A HREF="subject.html#167">[ subject ]</A>
|
|
<A HREF="author.html#167">[ author ]</A>
|
|
</UL>
|
|
<HR NOSHADE><P>
|
|
<!-- body="start" -->
|
|
<P>
|
|
Ben Millhouse wrote:
|
|
<BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> Hello all,
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> I'm at a bit of a loss as to what to do with my Vuego 620S scanner that is
|
|
</EM><BR>
|
|
<EM>> running off the bundled ACARD scsi card on my linuux box.
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> After trolling through the mailing list archives, I managed to get sane to
|
|
</EM><BR>
|
|
<EM>> recognise my scanner with "scanimage -L" but if I try to do anything
|
|
</EM><BR>
|
|
<EM>> more complex it cacks itself with a floating point exception.
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> The output of "scanimage -T" with SANE_DEBUG_SNAPSCAN set to 255
|
|
</EM><BR>
|
|
<EM>> can be found at <A HREF="http://www.tygger.net/~wico/snapscan/debug.txt">http://www.tygger.net/~wico/snapscan/debug.txt</A>
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> Here's the specifics of my system:
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> Linux kernel 2.0.37
|
|
</EM><BR>
|
|
<EM>> sg driver 2.1.39
|
|
</EM><BR>
|
|
<EM>> sane 1.0.3
|
|
</EM><BR>
|
|
<EM>> snapscan backend 11282000
|
|
</EM><BR>
|
|
<EM>> Acer Vuego Scan Brisa 620S
|
|
</EM><BR>
|
|
<EM>> ACARD AEC-6710D
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> Anybody have a clue what's going on?
|
|
</EM><BR>
|
|
<P>I guess that you are using the atp870u driver for the Acard adapter.
|
|
<BR>
|
|
This driver clips the data returned for the INQUIRY command to 36 bytes,
|
|
<BR>
|
|
but the Snapscan backend needs more data from this command to work
|
|
<BR>
|
|
properly. Stephen Carr got a similar problem with the atp870u driver and
|
|
<BR>
|
|
a Umax scanner; he could fix it by patching the atp870u driver.
|
|
<BR>
|
|
<P>The function send_s870 in atp870u.c (copied from lk 2.2.13) looks at
|
|
<BR>
|
|
line 507 like this:
|
|
<BR>
|
|
<P>oktosend:
|
|
<BR>
|
|
memcpy(&ata_cdbu[h][0], &workrequ->cmnd[0], workrequ->cmd_len);
|
|
<BR>
|
|
if (ata_cdbu[h][0] == 0x25) {
|
|
<BR>
|
|
if (workrequ->request_bufflen > 8) {
|
|
<BR>
|
|
workrequ->request_bufflen = 0x08;
|
|
<BR>
|
|
}
|
|
<BR>
|
|
}
|
|
<BR>
|
|
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>(Other versions of the driver use the macro INQUIRY instead of the
|
|
<BR>
|
|
number 0x12)
|
|
<BR>
|
|
<P>Commenting out the "if (ata_cdbu[h][0] == 0x12)" part should fix the
|
|
<BR>
|
|
problem:
|
|
<BR>
|
|
<P>oktosend:
|
|
<BR>
|
|
memcpy(&ata_cdbu[h][0], &workrequ->cmnd[0], workrequ->cmd_len);
|
|
<BR>
|
|
if (ata_cdbu[h][0] == 0x25) {
|
|
<BR>
|
|
if (workrequ->request_bufflen > 8) {
|
|
<BR>
|
|
workrequ->request_bufflen = 0x08;
|
|
<BR>
|
|
}
|
|
<BR>
|
|
}
|
|
<BR>
|
|
/*
|
|
<BR>
|
|
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>
|
|
*/
|
|
<BR>
|
|
<P>I don't know, why there is this limit to 36 bytes for the INQUIRY
|
|
<BR>
|
|
command and so I cannot guarantee that this patch does not introduce
|
|
<BR>
|
|
another error.
|
|
<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:%20[snapscan]%20Vuego%20620S%20and%20ACARD%20scsi%20card&In-Reply-To=<3A3A2146.45D4F669@satzbau-gmbh.de>">majordomo@mostang.com</A>
|
|
</PRE>
|
|
<P><!-- body="end" -->
|
|
<HR NOSHADE>
|
|
<UL>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0168.html">Tobias Nijweide: "Re: HP5300C mini HowTo"</A>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0166.html">Remco van 't Veer: "Re: HP5300C mini HowTo"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0165.html">Ben Millhouse: "[snapscan] Vuego 620S and ACARD scsi card"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0178.html">Ben Millhouse: "RE: [snapscan] Vuego 620S and ACARD scsi card"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#167">[ date ]</A>
|
|
<A HREF="index.html#167">[ thread ]</A>
|
|
<A HREF="subject.html#167">[ subject ]</A>
|
|
<A HREF="author.html#167">[ 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>Fri Dec 15 2000 - 04:36:44 PST</EM>
|
|
</EM>
|
|
</SMALL>
|
|
</BODY>
|
|
</HTML>
|