Setting Data on the Parallel Port

2004-05-05 Thread Philippine FreeBSD Info
Is there a simple way to set the D0 to D7 bits on the Parallel Port... 
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!

Please respond to my email address, I'm not on the list. 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Setting Data on the Parallel Port

2004-05-05 Thread Tim Aslat
In the immortal words of Philippine FreeBSD Info [EMAIL PROTECTED]...
 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 [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
P: +61 8 82243020M: +61 0401088479
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]