Thomas Ribbrock wrote:
>> Hi folks,
>> does anybody out there happen to know where I can find documentation about
> programming/accessing the parallel port under Linux? I'd like to experiment
> a bit with the port as 8bit I/O (should be possible with most modern,
> bidirectional parallel ports), but I'm not too certain how to actually
> access it (or is it as simple as writing to/reading from /dev/lp ?).
>
/dev/lp? is the line printer device. You need to either access the
ports
directly (use ioperm to gain access - see ioperm(2)) or use ppdev -
http://www.cyberelk.demon.co.uk/parport.html .
See http://www.torque.net/linux-pp.html for information on drivers
for existing parallel port devices.
Donnchadh
--
// Donnchadh O Donnabhain mailto:d_odonnabhain at vistech.ie
// Vistech Software http://www.vistechsoftware.com
// Inchvale House, Douglas West, Cork, Ireland
// Ph. +353-21-918166 Fax +353-21-896142
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!