Capturing Parallel Port Data

soralx at cydem.org soralx at cydem.org
Fri Dec 15 16:37:51 PST 2006


> No, I didn't try that but I certainly will now.  I wasn't sure you
> could just cat the port and read the data back.  I will let you know
> how this works.

Well, you should certainly try it, but don't count on it: Daniel says
that lpt returns only printer status (BTW, this means full 5 bits,
right?). What you need is to either write support for the 'byte mode'
in lpt, or utilize the nibble mode if your device supports it.
See `man ppbus` & friends, and `man lptcontrol`.

> -J. Hunt

[SorAlx]  ridin' VN1500-B2


More information about the freebsd-hackers mailing list