primax: Primax drivers ported to libieee1284
Subject:
Re: Primax drivers ported to libieee1284
From:
Andre Herms ####@####.####
Date:
30 Oct 2002 07:45:30 -0000
Message-Id: <200210300840.55809.aherms@cs.uni-magdeburg.de>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday 29 October 2002 22:06, you wrote:
> On Tue, Oct 29, 2002 at 05:32:33PM +0100, Andre Herms wrote:
> > I used the last days and ported the libprimax to the libieee1284. This is
> > a portable library for parallel port access.
> > More information at : http://cyberelk.net/tim/libieee1284/
>
> Sounds interesting. The usage of /dev/lp0 had timing problems and other
> stuff. How is it with this lib? is the Port accessed directly or also using
> any kernel driver stuff?
The lib uses the best way it can find. On Linux kernel 2.4.x exists a kernel
driver for the parallel port. This doesn't do any Primax specific stuff. Only
reading and writing of bytes to/from the port.
If you have an older kernel, it uses the way we did it before - io_inb...
This is also used on Windows, Solaris and the *BSBs.
It seems that it has a much better timing. The scan is more smooth and even
much faster - at least with the linux kernel module. I think we can trust the
lib for this. It has many active developers, who know what they are doning.
Hey - and think about the portability. If the libieee1284 is ported to MacOSX
we will have Mac-Driver without doing anything.
Bye
Andre
- --
Andre Herms ####@####.####
http://www.cs.uni-magdeburg.de/~aherms
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE9v40FK/HaDUFBducRAjqfAKCI4TGUtA3jyOl0Wde4DbBIwMRUfgCeNpdT
9XEnkerZx4HntCCuep7H6HE=
=ABjx
-----END PGP SIGNATURE-----