Capturing Parallel Port Data
Daniel O'Connor
doconnor at gsoft.com.au
Fri Dec 15 01:55:34 PST 2006
On Friday 15 December 2006 05:32, Mr CW wrote:
> Now, my real question is: how do I read data from the parallel port on the
> FreeBSD computer that is coming from the tester which is trying to 'print'
> to the FBSD computer's parallel port? Is there a suggested pinout for a
> parallel crossover calbe to accomplish this task with ppi? Is the
> crossover cable even required?
I think you would need to wire ACK to STROBE at the very least.. I kind of
suspect you'd need to write a ppbus driver because lpt only returns the
printer status when read.
> Finally, is there a FBSD-sanctioned parallel port driver for use with Perl
> instead of using ppi and C?
It would be pretty easy to write a wrapper to use ppi in Perl (eg SWIG)
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
-- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20061215/ee0c5eaf/attachment.pgp
More information about the freebsd-hackers
mailing list