primax: Thread: Primax drivers ported to libieee1284


[<<] [<] Page 1 of 1 [>] [>>]
Subject: Primax drivers ported to libieee1284
From: Andre Herms ####@####.####
Date: 29 Oct 2002 16:37:19 -0000
Message-Id: <200210291732.35848.aherms@cs.uni-magdeburg.de>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi everybody,

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/ 

It currently supports Linux, Windows!, OpenBSD, FreeBSD and Solaris. so now 
all these platforms are supported by the primax driver.

The Linux 2.4.x Kernel have ann internal parallel port layer. This is also 
used if available. It is possible to use the driver as non-root user - 
because there is an character device /dev/parportx where you can set 
permissions.
Additionally it got a great performance boost. I measured that is 2 times as 
fast as before ( with 300 dpi ).

At the moment it is only in the CVS. I will soon create a tar archive, when I 
finished the documentation. 

For all who cannot wait:
* install the libieee1284 from the above location
* get the latest version from the CVS
* compile it, run it, be impressed ;-).

Andre


- -- 
Andre Herms                   ####@####.####
                              http://www.cs.uni-magdeburg.de/~aherms
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE9vrgiK/HaDUFBducRAu9RAJ9u9i76WvtkVKeKy2jM2Qkq+IfdfACfbNsY
V7lKmYmZSiUXdpQb8MpBnRE=
=f1Wi
-----END PGP SIGNATURE-----

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-----

[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.