sane-project-website/old-archive/2000-06/0076.html

258 wiersze
10 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: Parallel Scanners (UMAX Astra 1220P)</TITLE>
<META NAME="Author" CONTENT="Jerome Hettich (sane@hettich.demon.co.uk)">
<META NAME="Subject" CONTENT="Re: Parallel Scanners (UMAX Astra 1220P)">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: Parallel Scanners (UMAX Astra 1220P)</H1>
<!-- received="Fri Jun 9 02:24:18 2000" -->
<!-- isoreceived="20000609092418" -->
<!-- sent="Fri, 9 Jun 2000 10:23:46 +0100" -->
<!-- isosent="20000609092346" -->
<!-- name="Jerome Hettich" -->
<!-- email="sane@hettich.demon.co.uk" -->
<!-- subject="Re: Parallel Scanners (UMAX Astra 1220P)" -->
<!-- id="003e01bfd1f4$7caf6c80$0200000a@jerome" -->
<!-- inreplyto="20000608125703.96007.qmail@hotmail.com" -->
<STRONG>From:</STRONG> Jerome Hettich (<A HREF="mailto:sane@hettich.demon.co.uk?Subject=Re:%20Parallel%20Scanners%20(UMAX%20Astra%201220P)&In-Reply-To=&lt;003e01bfd1f4$7caf6c80$0200000a@jerome&gt;"><EM>sane@hettich.demon.co.uk</EM></A>)<BR>
<STRONG>Date:</STRONG> Fri Jun 09 2000 - 02:23:46 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0077.html">abel deuring: "Re: Problems with sane-scsi"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0075.html">Kurt Savegnago: "Re: sane install"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0064.html">Michael Franz: "Re: Parallel Scanners (UMAX Astra 1220P)"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#76">[ date ]</A>
<A HREF="index.html#76">[ thread ]</A>
<A HREF="subject.html#76">[ subject ]</A>
<A HREF="author.html#76">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
I have seen somewhere (I don't remember where now) that the umax 1220P uses
<BR>
the same command protocol as the 1220U scanner (the USB version).
<BR>
Unfortunately neither are supported by the SANE umax backend either since
<BR>
UMAX will only release their SCSI command protocol.
<BR>
<P>However there is a driver available for the 1220U scanner, on Linux with a
<BR>
patched version of the 2.3.99pre3 kernel, written by one of the Linux USB
<BR>
development groups (Paul Mackerras). If you were considering attempting to
<BR>
write a backend for the 1220P then perhaps this may be of help. I may
<BR>
however be misinformed and this may be of no use whatsoever. It should be
<BR>
available from:
<BR>
<A HREF="ftp://linuxcare.com.au/pub/paulus/umax1220u.tar.gz">ftp://linuxcare.com.au/pub/paulus/umax1220u.tar.gz</A>
<BR>
<P>Perhaps Oliver Rauch would know more about this as I believe he is
<BR>
responsible for the umax backend. He has told me that there are no plans to
<BR>
support the USB and parallel scanners as the protocol is not released.
<BR>
However I was thinking about attempting to set about trying to get my 1220U
<BR>
scanner supported in SANE this summer. Since there is a driver available but
<BR>
no documentation could anyone comment on how hard they think this might be
<BR>
and perhaps give me a rough guide as to what I would need to do?
<BR>
<P>Jerome
<BR>
<P>----- Original Message -----
<BR>
From: &quot;Michael Franz&quot; &lt;<A HREF="mailto:mvfranz@hotmail.com?Subject=Re:%20Parallel%20Scanners%20(UMAX%20Astra%201220P)&In-Reply-To=&lt;003e01bfd1f4$7caf6c80$0200000a@jerome&gt;">mvfranz@hotmail.com</A>&gt;
<BR>
To: &lt;<A HREF="mailto:sane-devel@mostang.com?Subject=Re:%20Parallel%20Scanners%20(UMAX%20Astra%201220P)&In-Reply-To=&lt;003e01bfd1f4$7caf6c80$0200000a@jerome&gt;">sane-devel@mostang.com</A>&gt;
<BR>
Sent: Thursday, June 08, 2000 1:57 PM
<BR>
Subject: Re: Parallel Scanners (UMAX Astra 1220P)
<BR>
<P><P><EM>&gt;
</EM><BR>
<EM>&gt; Assuming that I did have the specifications (which I don't) where would I
</EM><BR>
<EM>&gt; start?
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; &gt;From: Doug Alcorn &lt;<A HREF="mailto:doug@lathi.net?Subject=Re:%20Parallel%20Scanners%20(UMAX%20Astra%201220P)&In-Reply-To=&lt;003e01bfd1f4$7caf6c80$0200000a@jerome&gt;">doug@lathi.net</A>&gt;
</EM><BR>
<EM>&gt; &gt;Reply-To: <A HREF="mailto:sane-devel@mostang.com?Subject=Re:%20Parallel%20Scanners%20(UMAX%20Astra%201220P)&In-Reply-To=&lt;003e01bfd1f4$7caf6c80$0200000a@jerome&gt;">sane-devel@mostang.com</A>
</EM><BR>
<EM>&gt; &gt;To: <A HREF="mailto:sane-devel@mostang.com?Subject=Re:%20Parallel%20Scanners%20(UMAX%20Astra%201220P)&In-Reply-To=&lt;003e01bfd1f4$7caf6c80$0200000a@jerome&gt;">sane-devel@mostang.com</A>
</EM><BR>
<EM>&gt; &gt;Subject: Re: Parallel Scanners (UMAX Astra 1220P)
</EM><BR>
<EM>&gt; &gt;Date: 07 Jun 2000 10:14:37 -0400
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt;&quot;Michael Franz&quot; &lt;<A HREF="mailto:mvfranz@hotmail.com?Subject=Re:%20Parallel%20Scanners%20(UMAX%20Astra%201220P)&In-Reply-To=&lt;003e01bfd1f4$7caf6c80$0200000a@jerome&gt;">mvfranz@hotmail.com</A>&gt; writes:
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; &gt; It seems that only the epson and mustek scanners are supported
</EM><BR>
<EM>&gt; &gt; &gt; either directly or by treating the scanner as a SCSI device. How do
</EM><BR>
<EM>&gt; &gt; &gt; I get started with the UMAX scanners?
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt;There are two pieces to using a scanner in Linux. First, the kernel
</EM><BR>
<EM>&gt; &gt;must be able to communicate with the device. This is rarely a
</EM><BR>
<EM>&gt; &gt;problem; even with USB scanners. The real problem comes with what
</EM><BR>
<EM>&gt; &gt;sane calls the &quot;backend&quot;. This is the piece that goes between the
</EM><BR>
<EM>&gt; &gt;actual scanning user interface and the kernel itself. The backend
</EM><BR>
<EM>&gt; &gt;must know how to control the scanner. This is different than just
</EM><BR>
<EM>&gt; &gt;talking to the scanner.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; O.K. How do I do this? I have tried the load module method, but since
</EM><BR>
the
<BR>
<EM>&gt; UMAX is not supported I don't know if I was on the right path. I tried
</EM><BR>
<EM>&gt; parport, ppSCSI, ppa,...
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt;Here's the bad news: UMAX doesn't release the command protocol for
</EM><BR>
<EM>&gt; &gt;controlling their parallel or USB scanners. I have the UMAX 2000U
</EM><BR>
<EM>&gt; &gt;scanner. The developement kernels (2.3.x) can recognize the scanner,
</EM><BR>
<EM>&gt; &gt;but sane has no idea what to say to it.
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt;You have two options. First, write a polite letter to UMAX requesting
</EM><BR>
<EM>&gt; &gt;the scanner control information. This is probably a dead end. I have
</EM><BR>
<EM>&gt; &gt;been doing this every so often for the last six months. The second is
</EM><BR>
<EM>&gt; &gt;to reverse engineer the command language. I don't really know how to
</EM><BR>
<EM>&gt; &gt;do this. I guess you would have to tap into the line (either USB or
</EM><BR>
<EM>&gt; &gt;parallel cable) and sniff out what commands are sent under what
</EM><BR>
<EM>&gt; &gt;situations. I think this would be very usefull (to me at least) but
</EM><BR>
<EM>&gt; &gt;very difficult. Someone much smarter than me can comment on this.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; I tried to do this briefly, but the program I was using did seem to give
</EM><BR>
me
<BR>
<EM>&gt; enough information. It told me that I was sending unsigned longs to the
</EM><BR>
<EM>&gt; port, but not the value. The next thing I was going to try was to look at
</EM><BR>
<EM>&gt; the actual drivers and see if they left anything in them.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Any one have any tips on this? A good snooping program?
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; &gt;--
</EM><BR>
<EM>&gt; &gt;Doug Alcorn | Fire Todd Dickinson, reform the US Patent Office
</EM><BR>
<EM>&gt; &gt;<A HREF="mailto:doug@lathi.net?Subject=Re:%20Parallel%20Scanners%20(UMAX%20Astra%201220P)&In-Reply-To=&lt;003e01bfd1f4$7caf6c80$0200000a@jerome&gt;">doug@lathi.net</A> | <A HREF="http://www.andovernews.com/cgi-bin/news_column.pl?533">http://www.andovernews.com/cgi-bin/news_column.pl?533</A>
</EM><BR>
<EM>&gt; &gt;www.lathi.net |
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt;--
</EM><BR>
<EM>&gt; &gt;Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
</EM><BR>
<EM>&gt; &gt;To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20Parallel%20Scanners%20(UMAX%20Astra%201220P)&In-Reply-To=&lt;003e01bfd1f4$7caf6c80$0200000a@jerome&gt;">majordomo@mostang.com</A>
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Michael
</EM><BR>
<EM>&gt; ________________________________________________________________________
</EM><BR>
<EM>&gt; Get Your Private, Free E-mail from MSN Hotmail at <A HREF="http://www.hotmail.com">http://www.hotmail.com</A>
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; --
</EM><BR>
<EM>&gt; Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
</EM><BR>
<EM>&gt; To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20Parallel%20Scanners%20(UMAX%20Astra%201220P)&In-Reply-To=&lt;003e01bfd1f4$7caf6c80$0200000a@jerome&gt;">majordomo@mostang.com</A>
</EM><BR>
<P><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:%20Parallel%20Scanners%20(UMAX%20Astra%201220P)&In-Reply-To=&lt;003e01bfd1f4$7caf6c80$0200000a@jerome&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0077.html">abel deuring: "Re: Problems with sane-scsi"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0075.html">Kurt Savegnago: "Re: sane install"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0064.html">Michael Franz: "Re: Parallel Scanners (UMAX Astra 1220P)"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#76">[ date ]</A>
<A HREF="index.html#76">[ thread ]</A>
<A HREF="subject.html#76">[ subject ]</A>
<A HREF="author.html#76">[ 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 Jun 09 2000 - 02:25:16 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>