kopia lustrzana https://gitlab.com/sane-project/website
64 wiersze
2.9 KiB
HTML
64 wiersze
2.9 KiB
HTML
<!-- received="Wed Jul 22 09:51:03 1998 PDT" -->
|
||
<!-- sent="Wed, 22 Jul 1998 17:47:13 +0100 (BST)" -->
|
||
<!-- name="Jon Knight" -->
|
||
<!-- email="jon@net.lut.ac.uk" -->
|
||
<!-- subject="Re: developing plustek driver-- questions" -->
|
||
<!-- id="" -->
|
||
<!-- inreplyto="Pine.BSF.4.00.9807221054300.353-100000@weevil.nac.net" -->
|
||
<title>sane-devel: Re: developing plustek driver-- questions</title>
|
||
<h1>Re: developing plustek driver-- questions</h1>
|
||
<b>Jon Knight</b> (<a href="mailto:jon@net.lut.ac.uk"><i>jon@net.lut.ac.uk</i></a>)<br>
|
||
<i>Wed, 22 Jul 1998 17:47:13 +0100 (BST)</i>
|
||
<p>
|
||
<ul>
|
||
<li> <b>Messages sorted by:</b> <a href="date.html#132">[ date ]</a><a href="index.html#132">[ thread ]</a><a href="subject.html#132">[ subject ]</a><a href="author.html#132">[ author ]</a>
|
||
<!-- next="start" -->
|
||
<li> <b>Next message:</b> <a href="0133.html">Yuri Dario: "Re: shmem in backends?"</a>
|
||
<li> <b>Previous message:</b> <a href="0131.html">becka@rz.uni-duesseldorf.de: "Re: HP 6100C Scanner"</a>
|
||
<!-- nextthread="start" -->
|
||
<!-- reply="end" -->
|
||
</ul>
|
||
<!-- body="start" -->
|
||
On Wed, 22 Jul 1998, Antal Novak wrote:<br>
|
||
<i>> Well... maybe further down the line. At this point, all I'm interested in</i><br>
|
||
<i>> is a working SANE driver.</i><br>
|
||
<p>
|
||
Fair enough. <br>
|
||
<br>
|
||
<i>> Do other parallel port drivers require kernel support?</i><br>
|
||
<p>
|
||
Looking at backend/mustek.c, it seems to call routines in<br>
|
||
sanei/sanei_ab306.c which look to be userland (it uses ioperm to get<br>
|
||
access to the parallel port registers). The backend/epson.c also seems to<br>
|
||
use sanei/sane_pio.c which also seems to be userland and busy waits. Not<br>
|
||
having a mustek or epson parallel port scanner myself I can't really say<br>
|
||
what the performance is like but I wouldn't expect it to be stellar<br>
|
||
(though I'm more than happy to be told I'm wrong and shutup!)<br>
|
||
<p>
|
||
Tatty bye,<br>
|
||
<p>
|
||
Jim'll<br>
|
||
<p>
|
||
#!/usr/bin/perl -- -Whois++-client-in-6-lines-of-Perl -Beat-that-Z39.50! <br>
|
||
use IO::Socket;sub w{$f=shift;$a{$f}=1;($h,$p,$q)=split("/",$f);$s=<br>
|
||
IO::Socket::INET->new(PeerAddr=>"$h:$p")||return;print $s "$q\r\n";while(<$s>)<br>
|
||
{next if(/^%/);if(/^# SERVER-TO-ASK/){while(<$s>){$x=$1 if/Name: (.*)\r\n$/;$y<br>
|
||
=$1 if/Port: (.*)\r\n$/;$f="$x/$y/$q";@j=(@j,$f)if(/^# END/&&!$a{$f})}}else{<br>
|
||
print}}close($s)}@j=shift;while(@j){w(pop(@j))}# whois++.pl host/port/query<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">majordomo@mostang.com</a>
|
||
</pre>
|
||
<!-- body="end" -->
|
||
<p>
|
||
<ul>
|
||
<!-- next="start" -->
|
||
<li> <b>Next message:</b> <a href="0133.html">Yuri Dario: "Re: shmem in backends?"</a>
|
||
<li> <b>Previous message:</b> <a href="0131.html">becka@rz.uni-duesseldorf.de: "Re: HP 6100C Scanner"</a>
|
||
<!-- nextthread="start" -->
|
||
<!-- reply="end" -->
|
||
</ul>
|