Date: Thu, 6 May 2004 15:13:34 +0930 From: Tim Aslat <tim@spyderweb.com.au> To: Philippine FreeBSD Info <freebsdinfo@7t.net> Cc: freebsd-questions@freebsd.org Subject: Re: Setting Data on the Parallel Port Message-ID: <20040506151334.4d8eaf55@bofh.spyderweb.com.au> In-Reply-To: <4.3.2.7.2.20040506132928.00bf7b60@mail.7t.net> References: <4.3.2.7.2.20040506132928.00bf7b60@mail.7t.net>
next in thread | previous in thread | raw e-mail | index | archive | help
In the immortal words of Philippine FreeBSD Info <freebsdinfo@7t.net>... > Is there a simple way to set the D0 to D7 bits on the Parallel Port... Simplest option (I've been doing a bit of this myself lately) is to use the ppi interface. There is some example code (in C) to be found in /usr/share/examples/ppi/ppilcd.c Failing that, you could also try man ppi > perhaps with a script I could make into a cron job. I just want to > turn on and off some things through out the day. My buddy does this > with his WhenDoze? machine and basic, and everyone knows FreeBSD does > everything better! I don't know for sure, but you can probably find something on CPAN in the way of a Perl module for controlling the Parallel port. Hope this helps Cheers Tim -- Tim Aslat <tim@spyderweb.com.au> Spyderweb Consulting http://www.spyderweb.com.au P: +61 8 82243020 M: +61 0401088479
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040506151334.4d8eaf55>