kopia lustrzana https://gitlab.com/sane-project/website
154 wiersze
6.3 KiB
HTML
154 wiersze
6.3 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: Correct Network Scanner Syntax? (a question)</TITLE>
|
|
<META NAME="Author" CONTENT="John Fremlin (vii@penguinpowered.com)">
|
|
<META NAME="Subject" CONTENT="Re: Correct Network Scanner Syntax? (a question)">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
|
<H1>Re: Correct Network Scanner Syntax? (a question)</H1>
|
|
<!-- received="Sat May 27 15:37:54 2000" -->
|
|
<!-- isoreceived="20000527223754" -->
|
|
<!-- sent="27 May 2000 22:29:09 +0100" -->
|
|
<!-- isosent="20000527212909" -->
|
|
<!-- name="John Fremlin" -->
|
|
<!-- email="vii@penguinpowered.com" -->
|
|
<!-- subject="Re: Correct Network Scanner Syntax? (a question)" -->
|
|
<!-- id="m2hfbjptqy.fsf@boreas.southchinaseas" -->
|
|
<!-- inreplyto="Sat, 27 May 2000 21:00:37 +0200"" -->
|
|
<STRONG>From:</STRONG> John Fremlin (<A HREF="mailto:vii@penguinpowered.com?Subject=Re:%20Correct%20Network%20Scanner%20Syntax?%20(a%20question)&In-Reply-To=<m2hfbjptqy.fsf@boreas.southchinaseas>"><EM>vii@penguinpowered.com</EM></A>)<BR>
|
|
<STRONG>Date:</STRONG> Sat May 27 2000 - 14:29:09 PDT
|
|
<P>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0193.html">Oliver Neukum: "Re: Correct Network Scanner Syntax? (a question)"</A>
|
|
<UL>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0191.html">Marcel Pol: "Re: Xsane & no devices"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0193.html">Oliver Neukum: "Re: Correct Network Scanner Syntax? (a question)"</A>
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0170.html">Petter Reinholdtsen: "Re: Correct Network Scanner Syntax?"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0193.html">Oliver Neukum: "Re: Correct Network Scanner Syntax? (a question)"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0197.html">abel deuring: "Re: Correct Network Scanner Syntax? (a question)"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#192">[ date ]</A>
|
|
<A HREF="index.html#192">[ thread ]</A>
|
|
<A HREF="subject.html#192">[ subject ]</A>
|
|
<A HREF="author.html#192">[ author ]</A>
|
|
</UL>
|
|
<HR NOSHADE><P>
|
|
<!-- body="start" -->
|
|
<P>
|
|
abel deuring <<A HREF="mailto:a.deuring@satzbau-gmbh.de?Subject=Re:%20Correct%20Network%20Scanner%20Syntax?%20(a%20question)&In-Reply-To=<m2hfbjptqy.fsf@boreas.southchinaseas>">a.deuring@satzbau-gmbh.de</A>> writes:
|
|
<BR>
|
|
<P><EM>> > Hmm. I don't know if Oliver added anything to my version, but here is
|
|
</EM><BR>
|
|
<EM>> > what I sent him (relative to sane-cvs). The patch to
|
|
</EM><BR>
|
|
<EM>> > sanei/sanei_scsi.c should not be necessary if sane is setup properly,
|
|
</EM><BR>
|
|
<EM>> > and is probably incorrect wrt other sane backends.
|
|
</EM><BR>
|
|
<P>[...]
|
|
<BR>
|
|
<P><EM>> If this patch to sanei_scsi.c works for your setup (Microtek USB
|
|
</EM><BR>
|
|
<EM>> scanner, if my memory is right), it's fine. But it might break the
|
|
</EM><BR>
|
|
<EM>> memory management for other backends which use the function
|
|
</EM><BR>
|
|
<EM>> sanei_scsi_open. Most backends open the device file for scanner access
|
|
</EM><BR>
|
|
<P>To clarify:
|
|
<BR>
|
|
<P>The patch is *only* included because I couldn't be bothered to read
|
|
<BR>
|
|
the docs to find the correct fix for the fact that my kernel sg buffer
|
|
<BR>
|
|
size is smaller than that which SANE expects.
|
|
<BR>
|
|
<P>I suppose that the USB scanner will work OK with any SCSI buffer size,
|
|
<BR>
|
|
though this is untested and the blighters at microtek can't be
|
|
<BR>
|
|
bothered to give us the docs, and Oliver can't get it to work at all
|
|
<BR>
|
|
on his setup, so whether they work on any system except mine is open
|
|
<BR>
|
|
to question. ;-)
|
|
<BR>
|
|
<P>[...]
|
|
<BR>
|
|
<P><EM>> Therefore, it would be better to work with the environment variable
|
|
</EM><BR>
|
|
<EM>> SANE_SG_BUFFERSIZE, or to use the configure-option
|
|
</EM><BR>
|
|
<EM>> --enable-scsibuffersize.
|
|
</EM><BR>
|
|
<P>[...]
|
|
<BR>
|
|
<P><EM>> To remove this conflict, I suggest to use sanei_scsi_open_extended
|
|
</EM><BR>
|
|
<EM>> instead of sanei_scsi_open in those backends which support USB
|
|
</EM><BR>
|
|
<EM>> scanners. Practically, this means to get rid of
|
|
</EM><BR>
|
|
<P>I don't understand. The Microtek Scanmaker X6 USB scanner takes SCSI
|
|
<BR>
|
|
commands over the USB bus. Oliver Neukum and I wrote a kernel driver
|
|
<BR>
|
|
to pass SCSI commands to the scanner. Pure USB scanners would
|
|
<BR>
|
|
presumably not bother with SCSI at all.
|
|
<BR>
|
|
<P>My changes to sanei scsi were just to workaround my misconfigured
|
|
<BR>
|
|
SANE/kernel combo; they have nothing to do with any known hardware
|
|
<BR>
|
|
limitation.
|
|
<BR>
|
|
<P>[...]
|
|
<BR>
|
|
<P>However, could my patch to microtek2.c be integrated into CVS or at
|
|
<BR>
|
|
least undergo some testing by people with true SCSI scanners? I
|
|
<BR>
|
|
believe it should be correct.
|
|
<BR>
|
|
<P><PRE>
|
|
--
|
|
<P> <A HREF="http://altern.org/vii">http://altern.org/vii</A>
|
|
<P>--
|
|
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:%20Correct%20Network%20Scanner%20Syntax?%20(a%20question)&In-Reply-To=<m2hfbjptqy.fsf@boreas.southchinaseas>">majordomo@mostang.com</A>
|
|
</PRE>
|
|
<P><!-- body="end" -->
|
|
<HR NOSHADE>
|
|
<UL>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0193.html">Oliver Neukum: "Re: Correct Network Scanner Syntax? (a question)"</A>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0191.html">Marcel Pol: "Re: Xsane & no devices"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0193.html">Oliver Neukum: "Re: Correct Network Scanner Syntax? (a question)"</A>
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0170.html">Petter Reinholdtsen: "Re: Correct Network Scanner Syntax?"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0193.html">Oliver Neukum: "Re: Correct Network Scanner Syntax? (a question)"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0197.html">abel deuring: "Re: Correct Network Scanner Syntax? (a question)"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#192">[ date ]</A>
|
|
<A HREF="index.html#192">[ thread ]</A>
|
|
<A HREF="subject.html#192">[ subject ]</A>
|
|
<A HREF="author.html#192">[ 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>Sat May 27 2000 - 15:38:26 PDT</EM>
|
|
</EM>
|
|
</SMALL>
|
|
</BODY>
|
|
</HTML>
|