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:
In the past, you would also have to create the access node, but this is now scripted and will happen automatically:
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
Code:
mknod /dev/parport0 c 99 0 -m 660
Total Comments 0