Fair enough.
> Do other parallel port drivers require kernel support?
Looking at backend/mustek.c, it seems to call routines in
sanei/sanei_ab306.c which look to be userland (it uses ioperm to get
access to the parallel port registers). The backend/epson.c also seems to
use sanei/sane_pio.c which also seems to be userland and busy waits. Not
having a mustek or epson parallel port scanner myself I can't really say
what the performance is like but I wouldn't expect it to be stellar
(though I'm more than happy to be told I'm wrong and shutup!)
Tatty bye,
Jim'll
#!/usr/bin/perl -- -Whois++-client-in-6-lines-of-Perl -Beat-that-Z39.50!
use IO::Socket;sub w{$f=shift;$a{$f}=1;($h,$p,$q)=split("/",$f);$s=
IO::Socket::INET->new(PeerAddr=>"$h:$p")||return;print $s "$q\r\n";while(<$s>)
{next if(/^%/);if(/^# SERVER-TO-ASK/){while(<$s>){$x=$1 if/Name: (.*)\r\n$/;$y
=$1 if/Port: (.*)\r\n$/;$f="$x/$y/$q";@j=(@j,$f)if(/^# END/&&!$a{$f})}}else{
print}}close($s)}@j=shift;while(@j){w(pop(@j))}# whois++.pl host/port/query
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com