Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Feb 2000 12:26:56 +0200 (SAT)
From:      Reinier Bezuidenhout <rbezuide@oskar.dev.nanoteq.co.za>
To:        freebsd-hackers@freebsd.org
Subject:   Reading lpt status register in NIBBLE mode
Message-ID:  <200002191026.MAA17660@oskar.dev.nanoteq.co.za>

next in thread | raw e-mail | index | archive | help
Hi ...

I want to read the status register of the lpt port in NIBBLE mode.  I want to 
do this wether there is a printer connected or not.

What would be the best way to accomplish this ??

Should I use the ppi0 device with the PPIGSTATUS ioctl call, because
if there is no printer connected I can't open the printer port.

Or is there another device on the ppbus that I should rather use.


Thanks

Reinier



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200002191026.MAA17660>