LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs > neonsignal
User Name
Password

Notices


Rate this Entry

user space access to parallel port

Posted 06-17-2012 at 09:53 PM by neonsignal

When using a parallel port for a printer, typically it will be accessed through a kernel printer driver.

However, the parallel port can also be used as a multi-purpose bit port from user space. This can be done by loading the ppdev driver:
Code:
modprobe ppdev
In the past, you would also have to create the access node, but this is now scripted and will happen automatically:
Code:
mknod /dev/parport0 c 99 0 -m 660
Posted in Uncategorized
Views 2031 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 03:02 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration