sane-project-website/old-archive/2001-02/0126.html

122 wiersze
4.7 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: use of ioperm in sane -&gt; sanei_ppdev</TITLE>
<META NAME="Author" CONTENT="Jochen Eisinger (jochen.eisinger@gmx.de)">
<META NAME="Subject" CONTENT="Re: use of ioperm in sane -&gt; sanei_ppdev">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: use of ioperm in sane -&gt; sanei_ppdev</H1>
<!-- received="Mon Feb 12 10:46:09 2001" -->
<!-- isoreceived="20010212184609" -->
<!-- sent="Mon, 12 Feb 2001 19:47:37 +0100 (CET)" -->
<!-- isosent="20010212184737" -->
<!-- name="Jochen Eisinger" -->
<!-- email="jochen.eisinger@gmx.de" -->
<!-- subject="Re: use of ioperm in sane -&gt; sanei_ppdev" -->
<!-- id="Pine.LNX.4.21.0102121944160.15427-100000@s118.sw-stusie.uni-freiburg.de" -->
<!-- inreplyto="20010212183804.A3268@wanadoo.fr" -->
<STRONG>From:</STRONG> Jochen Eisinger (<A HREF="mailto:jochen.eisinger@gmx.de?Subject=Re:%20use%20of%20ioperm%20in%20sane%20-&gt;%20sanei_ppdev&In-Reply-To=&lt;Pine.LNX.4.21.0102121944160.15427-100000@s118.sw-stusie.uni-freiburg.de&gt;"><EM>jochen.eisinger@gmx.de</EM></A>)<BR>
<STRONG>Date:</STRONG> Mon Feb 12 2001 - 10:47:37 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0127.html">Tim Waugh: "Re: use of ioperm in sane"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0125.html">stef: "Re: use of ioperm in sane"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0125.html">stef: "Re: use of ioperm in sane"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0127.html">Tim Waugh: "Re: use of ioperm in sane"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#126">[ date ]</A>
<A HREF="index.html#126">[ thread ]</A>
<A HREF="subject.html#126">[ subject ]</A>
<A HREF="author.html#126">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi!
<BR>
<P>The sanei_pa4s2 interface uses direct port io to communicate with the parallel
<BR>
port. I also considered using the ppdev interface, but I don't have the
<BR>
time to implement this, and don't have a kernel supporting this and only
<BR>
linux comes with this interface.
<BR>
<P>However, if there was something like a sanei_ppdev which could be used
<BR>
by all backends (if such ppdevs are available), I could easily add support
<BR>
for this to the sanei_pa4s2.
<BR>
<P><P>[stef]
<BR>
<P><EM>&gt; On Mon, Feb 12, 2001 at 04:41:55PM +0000, Tim Waugh wrote:
</EM><BR>
<EM>&gt; &gt; The ppdev _interface_ has support for 32-bit EPP reads and writes (or
</EM><BR>
<EM>&gt; &gt; it might possibly need a PPFLAG ioctl to set PARPORT_EPP_FAST). The
</EM><BR>
<EM>&gt; &gt; implementation hasn't caught up with that yet, but that's a Small
</EM><BR>
<EM>&gt; &gt; Matter of Programming.
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; But 32-bit writes or 8-bit writes is just a speed thing rather than
</EM><BR>
<EM>&gt; &gt; something that makes it not work altogether, surely?
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; Tim.
</EM><BR>
<EM>&gt; &gt; */
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Unfortunately, for parallel port scanner, transfer speed does matter.
</EM><BR>
<EM>&gt; However, I planned to use ppdev to have correct handling of concurrent access to the
</EM><BR>
<EM>&gt; parallel port, so when my beloved insl will be there, I will use it.
</EM><BR>
<EM>&gt;
</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:%20use%20of%20ioperm%20in%20sane%20-&gt;%20sanei_ppdev&In-Reply-To=&lt;Pine.LNX.4.21.0102121944160.15427-100000@s118.sw-stusie.uni-freiburg.de&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0127.html">Tim Waugh: "Re: use of ioperm in sane"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0125.html">stef: "Re: use of ioperm in sane"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0125.html">stef: "Re: use of ioperm in sane"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0127.html">Tim Waugh: "Re: use of ioperm in sane"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#126">[ date ]</A>
<A HREF="index.html#126">[ thread ]</A>
<A HREF="subject.html#126">[ subject ]</A>
<A HREF="author.html#126">[ 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>Mon Feb 12 2001 - 10:46:41 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>