Thanks to all who replied. ppi(4) was exactly what I needed.
Fer
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Wed, 4 Aug 2004 01:34, Fernando Gleiser wrote:
> The problem is, I can't even open the paralel port for writing, it
> always fails with EBUSY.
/dev/lpt0 expects a printer to be connected (you can open /dev/lpt0.ctl but
this is not what you should
* Fernando Gleiser <[EMAIL PROTECTED]> [2004-08-03 13:04 -0300]:
> I need to control some external hardware with a small program in
> FreeBSD. I thought about using the 8 data bits of the parallel port
> for sending the control bits to the hardware.
> The hardware is a very simple combinational lo
Am 3. Aug 2004 um 18:04 schrieb Fernando Gleiser:
Is there anything I'm missing? Are there a "programming and using the
parallel port in FreeBSD" guide?
You should try the ppi(4) driver. See the EXAMPLE section of the man
page for details how to send single bytes to the port.
Gruß
Frank
-
First, I apologize if this isn't the right place for asking this things
I need to control some external hardware with a small program in
FreeBSD. I thought about using the 8 data bits of the parallel port
for sending the control bits to the hardware.
The hardware is a very simple combinational lo
5 matches
Mail list logo