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

148 wiersze
5.9 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: How to support a scanner without documentation</TITLE>
<META NAME="Author" CONTENT="John Fremlin (vii@penguinpowered.com)">
<META NAME="Subject" CONTENT="Re: How to support a scanner without documentation">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: How to support a scanner without documentation</H1>
<!-- received="Sun Jun 18 16:09:06 2000" -->
<!-- isoreceived="20000618230906" -->
<!-- sent="19 Jun 2000 00:03:54 +0100" -->
<!-- isosent="20000618230354" -->
<!-- name="John Fremlin" -->
<!-- email="vii@penguinpowered.com" -->
<!-- subject="Re: How to support a scanner without documentation" -->
<!-- id="m266r67fs5.fsf@boreas.southchinaseas" -->
<!-- inreplyto="Sun, 18 Jun 2000 20:26:30 +0200&quot;" -->
<STRONG>From:</STRONG> John Fremlin (<A HREF="mailto:vii@penguinpowered.com?Subject=Re:%20How%20to%20support%20a%20scanner%20without%20documentation&In-Reply-To=&lt;m266r67fs5.fsf@boreas.southchinaseas&gt;"><EM>vii@penguinpowered.com</EM></A>)<BR>
<STRONG>Date:</STRONG> Sun Jun 18 2000 - 16:03:54 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0136.html">Andrew R Reid: "Agfa Snapscan installation"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0134.html">Henning Meier-Geinitz: "How to support a scanner without documentation"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0137.html">Henning Meier-Geinitz: "Re: How to support a scanner without documentation"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0137.html">Henning Meier-Geinitz: "Re: How to support a scanner without documentation"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#135">[ date ]</A>
<A HREF="index.html#135">[ thread ]</A>
<A HREF="subject.html#135">[ subject ]</A>
<A HREF="author.html#135">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Henning Meier-Geinitz &lt;<A HREF="mailto:hmg-ml@gmx.de?Subject=Re:%20How%20to%20support%20a%20scanner%20without%20documentation&In-Reply-To=&lt;m266r67fs5.fsf@boreas.southchinaseas&gt;">hmg-ml@gmx.de</A>&gt; writes:
<BR>
<P>[...]
<BR>
<P><EM>&gt; I have a Scanner supplied with a MS Windows driver and want to
</EM><BR>
<EM>&gt; support it by a SANE backend. I need to know the SCSI commands and
</EM><BR>
<EM>&gt; buffers the driver sends to the scanner (and the scanner's response).
</EM><BR>
<EM>&gt; The same goes for USB and parallel port scanners.
</EM><BR>
<P>Oliver Neukum and I did this for the Microtek USB scanners, but we
<BR>
were given the SCSI command set.
<BR>
<P>There is a program called sniffusb downloadable that'll dump the USB
<BR>
transactions made by Windows drivers. I wrote a program (usb-robot) to
<BR>
let spit these transactions back at the device under linux (or other
<BR>
transactions of your choice). See
<BR>
<A HREF="http://altern.org/vii/programs/usb-robot/">http://altern.org/vii/programs/usb-robot/</A> for info and link to
<BR>
sniffusb. Note: this site is on the point of being taken down by the
<BR>
french government's heavy handed anti-annonymity legislation (see
<BR>
<A HREF="http://altern.org">http://altern.org</A>).
<BR>
<P>[...]
<BR>
<P><EM>&gt; 2) VMWARE: This doesn't work at the moment because only SCSI disks and
</EM><BR>
<EM>&gt; tapes are supported. According to VMWARE this may change in future.
</EM><BR>
<EM>&gt; I haven't checked parallel and USB devices.
</EM><BR>
<P>Didn't use to do USB.
<BR>
<P>[...]
<BR>
<P><EM>&gt; doesn't insist on their own winaspi.dll only (not
</EM><BR>
<EM>&gt; wnaspi32.dll). If somebody is interested I can email the dll and
</EM><BR>
<EM>&gt; source code.
</EM><BR>
<P>Don't hide your light under a bushel! Release it, even if it doesn't
<BR>
work very well! There's bound to be someone wanting to reverse
<BR>
engineer something who doesn't have this expertise.
<BR>
<P><EM>&gt; 5) Disassembling the Windows driver: I have never done this, other
</EM><BR>
<EM>&gt; people on this list may talk about this. I think it's a lot of
</EM><BR>
<EM>&gt; work and needs good understatement of assembler and the windows
</EM><BR>
<EM>&gt; API.
</EM><BR>
<P>The assembly is usually pretty simple (stupid compiler generated
<BR>
stuff) but likely to be very long (lots of boring work, you might like
<BR>
to look at a program called BIEW), and the quirks of Windows APIs are
<BR>
not to be messed with.
<BR>
<P>[...]
<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:%20How%20to%20support%20a%20scanner%20without%20documentation&In-Reply-To=&lt;m266r67fs5.fsf@boreas.southchinaseas&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0136.html">Andrew R Reid: "Agfa Snapscan installation"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0134.html">Henning Meier-Geinitz: "How to support a scanner without documentation"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0137.html">Henning Meier-Geinitz: "Re: How to support a scanner without documentation"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0137.html">Henning Meier-Geinitz: "Re: How to support a scanner without documentation"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#135">[ date ]</A>
<A HREF="index.html#135">[ thread ]</A>
<A HREF="subject.html#135">[ subject ]</A>
<A HREF="author.html#135">[ 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>Sun Jun 18 2000 - 16:17:40 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>