sane-project-website/old-archive/2001-05/0314.html

127 wiersze
5.6 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: [EPSON / Generic USB] New backend - please test wit</TITLE>
<META NAME="Author" CONTENT="Karl Heinz Kremer (khk@khk.net)">
<META NAME="Subject" CONTENT="[EPSON / Generic USB] New backend - please test with SCSI scanners / New USB Query Feature">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>[EPSON / Generic USB] New backend - please test with SCSI scanners / New USB Query Feature</H1>
<!-- received="Wed May 23 19:28:15 2001" -->
<!-- isoreceived="20010524022815" -->
<!-- sent="Wed, 23 May 2001 22:30:16 -0400" -->
<!-- isosent="20010524023016" -->
<!-- name="Karl Heinz Kremer" -->
<!-- email="khk@khk.net" -->
<!-- subject="[EPSON / Generic USB] New backend - please test with SCSI scanners / New USB Query Feature" -->
<!-- id="20010523223016.A9898@khk.net" -->
<STRONG>From:</STRONG> Karl Heinz Kremer (<A HREF="mailto:khk@khk.net?Subject=Re:%20[EPSON%20/%20Generic%20USB]%20New%20backend%20-%20please%20test%20with%20SCSI%20scanners%20/%20New%20USB%20Query%20Feature&In-Reply-To=&lt;20010523223016.A9898@khk.net&gt;"><EM>khk@khk.net</EM></A>)<BR>
<STRONG>Date:</STRONG> Wed May 23 2001 - 19:30:16 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0315.html">Karl Heinz Kremer: "Re: [EPSON / Generic USB] New backend - please test with SCSI scanners / New USB Query Feature"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0313.html">Mick Barry: "Re: Canon 620S conf file"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0315.html">Karl Heinz Kremer: "Re: [EPSON / Generic USB] New backend - please test with SCSI scanners / New USB Query Feature"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0315.html">Karl Heinz Kremer: "Re: [EPSON / Generic USB] New backend - please test with SCSI scanners / New USB Query Feature"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#314">[ date ]</A>
<A HREF="index.html#314">[ thread ]</A>
<A HREF="subject.html#314">[ subject ]</A>
<A HREF="author.html#314">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
I just put up a test version of the EPSON backend. It adds support
<BR>
for the GT-8000 scanner in the standard backend distribution - so far
<BR>
this was only available as a patch agains the backend. If you have any
<BR>
EPSON SCSI scanner, please download this backend and give it a try. It
<BR>
works for me, but I've tested it just with one model. The backend also
<BR>
has experimental (and disabled) support for automatically recognizing
<BR>
USB scanners. You need a patched version of the USB scanner driver for
<BR>
this. The patch needs to be applied to the scanner.c file of a recent
<BR>
(2.4.4 or similar) version of the kernel. In addition you have to enable
<BR>
the new functionality by adding the following line to the file epson.c:
<BR>
<P>#define TEST_IOCTL
<BR>
<P>This feature enables the backend to get information about the connected
<BR>
scanner before it sends data to the scanner. It is fairly common that
<BR>
a backend tries to send data to a scanner without knowing that the
<BR>
scanner can actually be handled by this backend. Sometimes the backend
<BR>
not just sends data, it also wants to see a response. This of course
<BR>
will fail if the scanner does not even understand the command. My kernel
<BR>
patch adds two IOCTLs to the scanner driver that can be used to get
<BR>
the vendor and product ID of a connected scanner without having to
<BR>
send data to the device. With these IOCTLs the backend can query the
<BR>
type and manufacturer of a scanner and then decide if it makes sense
<BR>
to actually send data to the device.
<BR>
<P>I've submitted this patch to David Nelson for inclusion into the
<BR>
USB scanner driver, but have not received any response so far.
<BR>
<P>Karl Heinz
<BR>
<P>
<BR><HR NOSHADE>
<UL>
<LI>application/pgp-signature attachment: <A HREF="att-0314/01-part">stored</A>
</UL>
<!-- attachment="01-part" -->
<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[EPSON%20/%20Generic%20USB]%20New%20backend%20-%20please%20test%20with%20SCSI%20scanners%20/%20New%20USB%20Query%20Feature&In-Reply-To=&lt;20010523223016.A9898@khk.net&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0315.html">Karl Heinz Kremer: "Re: [EPSON / Generic USB] New backend - please test with SCSI scanners / New USB Query Feature"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0313.html">Mick Barry: "Re: Canon 620S conf file"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0315.html">Karl Heinz Kremer: "Re: [EPSON / Generic USB] New backend - please test with SCSI scanners / New USB Query Feature"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0315.html">Karl Heinz Kremer: "Re: [EPSON / Generic USB] New backend - please test with SCSI scanners / New USB Query Feature"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#314">[ date ]</A>
<A HREF="index.html#314">[ thread ]</A>
<A HREF="subject.html#314">[ subject ]</A>
<A HREF="author.html#314">[ 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 23 2001 - 19:31:28 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>