kopia lustrzana https://gitlab.com/sane-project/website
157 wiersze
6.0 KiB
HTML
157 wiersze
6.0 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: AW: AW: [snapscan] Core testing group</TITLE>
|
||
<META NAME="Author" CONTENT="Sebastien Sable (sebastien.sable@gmx.net)">
|
||
<META NAME="Subject" CONTENT="Re: AW: AW: [snapscan] Core testing group">
|
||
</HEAD>
|
||
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
||
<H1>Re: AW: AW: [snapscan] Core testing group</H1>
|
||
<!-- received="Thu Nov 2 18:07:46 2000" -->
|
||
<!-- isoreceived="20001103020746" -->
|
||
<!-- sent="02 Nov 2000 20:12:45 +0100" -->
|
||
<!-- isosent="20001102191245" -->
|
||
<!-- name="Sebastien Sable" -->
|
||
<!-- email="sebastien.sable@gmx.net" -->
|
||
<!-- subject="Re: AW: AW: [snapscan] Core testing group" -->
|
||
<!-- id="87y9z2i3wy.fsf@gmx.net" -->
|
||
<!-- inreplyto="Thu, 2 Nov 2000 08:37:22 -0800"" -->
|
||
<STRONG>From:</STRONG> Sebastien Sable (<A HREF="mailto:sebastien.sable@gmx.net?Subject=Re:%20AW:%20AW:%20[snapscan]%20Core%20testing%20group&In-Reply-To=<87y9z2i3wy.fsf@gmx.net>"><EM>sebastien.sable@gmx.net</EM></A>)<BR>
|
||
<STRONG>Date:</STRONG> Thu Nov 02 2000 - 11:12:45 PST
|
||
<P>
|
||
<!-- next="start" -->
|
||
<LI><STRONG>Next message:</STRONG> <A HREF="0036.html">Sebastien Sable: "Re: [snapscan] Core testing group"</A>
|
||
<UL>
|
||
<LI><STRONG>Previous message:</STRONG> <A HREF="0034.html">John Craig: "Re: Agfa Snapscan 310 color problem"</A>
|
||
<!-- nextthread="start" -->
|
||
<!-- reply="end" -->
|
||
<LI><STRONG>Messages sorted by:</STRONG>
|
||
<A HREF="date.html#35">[ date ]</A>
|
||
<A HREF="index.html#35">[ thread ]</A>
|
||
<A HREF="subject.html#35">[ subject ]</A>
|
||
<A HREF="author.html#35">[ author ]</A>
|
||
</UL>
|
||
<HR NOSHADE><P>
|
||
<!-- body="start" -->
|
||
<P>
|
||
"Stens, Ralph" <<A HREF="mailto:RStens@atg-test-systems.de?Subject=Re:%20AW:%20AW:%20[snapscan]%20Core%20testing%20group&In-Reply-To=<87y9z2i3wy.fsf@gmx.net>">RStens@atg-test-systems.de</A>> writes:
|
||
<BR>
|
||
<P><EM>> Please explain me what I should do and maybe within the next few
|
||
</EM><BR>
|
||
<EM>> days I can make a log of the SCSI commands. I talk also to the
|
||
</EM><BR>
|
||
<P>All right, here is how I got my scanner working with wine:
|
||
<BR>
|
||
<P>you need to launch your windows scanning driver with wine (there are
|
||
<BR>
|
||
other solutions for windows directly but I didn't tried them). Windows
|
||
<BR>
|
||
uses a library called ASPI to access the SCSI bus, you have to get
|
||
<BR>
|
||
wine ASPI to work (read stuff concerning ASPI in wine doc).
|
||
<BR>
|
||
<P>Your scanner driver probably uses ASPI and since ASPI is emulated by
|
||
<BR>
|
||
wine, it can log everything : wine -debugmsg +aspi yourscannerprog
|
||
<BR>
|
||
this gives you a log of all scsi commands used by the driver. You can
|
||
<BR>
|
||
look in snapscan sources to find what each command means (in
|
||
<BR>
|
||
snapscan-scsi.c, example: #define SEND 0x2A).
|
||
<BR>
|
||
<P>Unfortunately, to get the buffer associated with some commands you
|
||
<BR>
|
||
have to modify the wine ASPI dll code. This is quite easy, I did it a
|
||
<BR>
|
||
few weeks ago but I have removed it since. It may not be necessary
|
||
<BR>
|
||
since the command to tell the ADF to get a page may be quite simple
|
||
<BR>
|
||
(or it may not?) and so may not need an associated buffer.
|
||
<BR>
|
||
<P>Note : there is a basic twain client on www.twain.org that can make
|
||
<BR>
|
||
any twain request to your scanner driver. If there is a twain command
|
||
<BR>
|
||
corresponding to get_new_page_by_adf or something, then the scsi log
|
||
<BR>
|
||
will give you exactly what you need.
|
||
<BR>
|
||
<P>I don't know how the ADF works. There must be something at the
|
||
<BR>
|
||
beginning of the scan to detect it (probably difficult to find - you
|
||
<BR>
|
||
have to compare all commands with what snapscan already do; I did it
|
||
<BR>
|
||
and it's really boring, but quite usefull) and then after each page,
|
||
<BR>
|
||
there must be something to tell the ADF to get a new page (this one
|
||
<BR>
|
||
may be easy to find: a new scsi command that does not appear at all in
|
||
<BR>
|
||
snapscan).
|
||
<BR>
|
||
<P>If you want more details don't hesitate to ask, I did it recently so I
|
||
<BR>
|
||
know what it looks like (main aspect: it's extremely boring).
|
||
<BR>
|
||
<P><EM>> guys from Agfa and try to get the programming manual for the
|
||
</EM><BR>
|
||
<EM>> 1236s and the ADF. I expect that it will become easier if I
|
||
</EM><BR>
|
||
<EM>> get this manual.
|
||
</EM><BR>
|
||
<P>Quite a lot of people (me included) asked for such manuals to AGFA or
|
||
<BR>
|
||
others and we haven't even received an answer. Good luck!
|
||
<BR>
|
||
<P><EM>> It is very nice that the work with the SnapScan backend starts
|
||
</EM><BR>
|
||
<EM>> again.
|
||
</EM><BR>
|
||
<P>I will start a new job in 2 weeks, so I try to make a version working
|
||
<BR>
|
||
more or less for everybody that can be submited to sane CVS before
|
||
<BR>
|
||
that. I will probably not do much after that for quite some time
|
||
<BR>
|
||
(except for testing new versions and easy corrections). Fortunately,
|
||
<BR>
|
||
there are other people working on it as well.
|
||
<BR>
|
||
<P><PRE>
|
||
--
|
||
S<EFBFBD>bastien Sabl<62>
|
||
<A HREF="mailto:sebastien.sable@gmx.net?Subject=Re:%20AW:%20AW:%20[snapscan]%20Core%20testing%20group&In-Reply-To=<87y9z2i3wy.fsf@gmx.net>">sebastien.sable@gmx.net</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:%20AW:%20AW:%20[snapscan]%20Core%20testing%20group&In-Reply-To=<87y9z2i3wy.fsf@gmx.net>">majordomo@mostang.com</A>
|
||
</PRE>
|
||
<P><!-- body="end" -->
|
||
<HR NOSHADE>
|
||
<UL>
|
||
<!-- next="start" -->
|
||
<LI><STRONG>Next message:</STRONG> <A HREF="0036.html">Sebastien Sable: "Re: [snapscan] Core testing group"</A>
|
||
<LI><STRONG>Previous message:</STRONG> <A HREF="0034.html">John Craig: "Re: Agfa Snapscan 310 color problem"</A>
|
||
<!-- nextthread="start" -->
|
||
<!-- reply="end" -->
|
||
<LI><STRONG>Messages sorted by:</STRONG>
|
||
<A HREF="date.html#35">[ date ]</A>
|
||
<A HREF="index.html#35">[ thread ]</A>
|
||
<A HREF="subject.html#35">[ subject ]</A>
|
||
<A HREF="author.html#35">[ 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 Nov 02 2000 - 18:33:47 PST</EM>
|
||
</EM>
|
||
</SMALL>
|
||
</BODY>
|
||
</HTML>
|