sane-project-website/old-archive/2001-06/0218.html

206 wiersze
5.8 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: Should Snapscan e20 work?</TITLE>
<META NAME="Author" CONTENT="Pascal Terjan (pascal@ace.nl)">
<META NAME="Subject" CONTENT="Re: Should Snapscan e20 work?">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: Should Snapscan e20 work?</H1>
<!-- received="Thu Jun 14 01:24:55 2001" -->
<!-- isoreceived="20010614082455" -->
<!-- sent="Thu, 14 Jun 2001 10:33:56 +0200" -->
<!-- isosent="20010614083356" -->
<!-- name="Pascal Terjan" -->
<!-- email="pascal@ace.nl" -->
<!-- subject="Re: Should Snapscan e20 work?" -->
<!-- id="3B2876F4.87C94240@ace.nl" -->
<!-- inreplyto="87hexkwbix.fsf@incubus.snv.jussieu.fr" -->
<STRONG>From:</STRONG> Pascal Terjan (<A HREF="mailto:pascal@ace.nl?Subject=Re:%20Should%20Snapscan%20e20%20work?&In-Reply-To=&lt;3B2876F4.87C94240@ace.nl&gt;"><EM>pascal@ace.nl</EM></A>)<BR>
<STRONG>Date:</STRONG> Thu Jun 14 2001 - 01:33:56 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0219.html">Gerhard Schuck: "unknown type M or level @, using B3"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0217.html">Franz Bakan: "Re: Compiling on OS/2"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0206.html">Sebastien Sable: "Re: Should Snapscan e20 work?"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#218">[ date ]</A>
<A HREF="index.html#218">[ thread ]</A>
<A HREF="subject.html#218">[ subject ]</A>
<A HREF="author.html#218">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Sebastien Sable wrote:
<BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Pascal Terjan &lt;<A HREF="mailto:pascal@ace.nl?Subject=Re:%20Should%20Snapscan%20e20%20work?&In-Reply-To=&lt;3B2876F4.87C94240@ace.nl&gt;">pascal@ace.nl</A>&gt; writes:
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; &gt; I recently bought a Snapscan e20 because I saw it support had been added
</EM><BR>
<EM>&gt; &gt; in April.
</EM><BR>
<EM>&gt; &gt; I'd like to know if it should work.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Steffen H<>bner &lt;xxxxxxxxxxxx&gt; writes:
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; &gt; Hi!
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; I was able to get an e20 working per USB.
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; My config:
</EM><BR>
<EM>&gt; &gt; Kernel 2.4.2
</EM><BR>
<EM>&gt; &gt; Kernel USB Scanner driver 0.4.5
</EM><BR>
<EM>&gt; &gt; Sane 1.0.4
</EM><BR>
<EM>&gt; &gt; Snapscan 20010319
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; Two things are to make:
</EM><BR>
<EM>&gt; &gt; First, add the IDs of the e20 to Kernel source
</EM><BR>
<EM>&gt; &gt; linux/drivers/usb/scanner.h (or ~.c repectivly):
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; ...
</EM><BR>
<EM>&gt; &gt; { USB_DEVICE(0x06bd, 0x2091) }, /* SnapScan
</EM><BR>
<EM>&gt; &gt; e20 */
</EM><BR>
<EM>&gt; &gt; ...
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; (I'll be in contact with the author to add these IDs
</EM><BR>
<EM>&gt; &gt; in future releases.)
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; Second, add your e20 to the (previously patched with
</EM><BR>
<EM>&gt; &gt; snapscan-20010319) sane-backends/backend/snapscan.h:
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; Add in
</EM><BR>
<EM>&gt; &gt; typedef enum
</EM><BR>
<EM>&gt; &gt; ...
</EM><BR>
<EM>&gt; &gt; SNAPSCAN_E20,
</EM><BR>
<EM>&gt; &gt; ...
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; and in
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; static struct SnapScan_Model_desc scanners[] =
</EM><BR>
<EM>&gt; &gt; {
</EM><BR>
<EM>&gt; &gt; ...
</EM><BR>
<EM>&gt; &gt; {&quot;SNAPSCAN e20&quot;, SNAPSCAN_E20},
</EM><BR>
<EM>&gt; &gt; ...
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; Thats all! Compile and smile!
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; Maybe you have to add an /dev/usbscanner device node,
</EM><BR>
<EM>&gt; &gt; if not already there.
</EM><BR>
<EM>&gt; &gt; Install a correct snapscan.conf and the scanner is
</EM><BR>
<EM>&gt; &gt; working.
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; B/W scan is working just fine, but still minor
</EM><BR>
<EM>&gt; &gt; problems remain in color scanning. The RGB colors are
</EM><BR>
<EM>&gt; &gt; &quot;shifted&quot; for a few pixels for some reason...
</EM><BR>
<EM>&gt; &gt; I don't know how to correct it for now.
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; So far...
</EM><BR>
<EM>&gt;
</EM><BR>
I got it to work yesterday. I had a few problems but it works quite
<BR>
fine.
<BR>
To solve my problem, I added a step to the initialisation : upload the
<BR>
firmware...
<BR>
(For information : Kernel 4.0.3)
<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:%20Should%20Snapscan%20e20%20work?&In-Reply-To=&lt;3B2876F4.87C94240@ace.nl&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0219.html">Gerhard Schuck: "unknown type M or level @, using B3"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0217.html">Franz Bakan: "Re: Compiling on OS/2"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0206.html">Sebastien Sable: "Re: Should Snapscan e20 work?"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#218">[ date ]</A>
<A HREF="index.html#218">[ thread ]</A>
<A HREF="subject.html#218">[ subject ]</A>
<A HREF="author.html#218">[ 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>Thu Jun 14 2001 - 01:26:14 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>