[wplug] ioperm
Weber, Larry A
laweber at switch.com
Wed Apr 2 12:18:50 EST 2003
I want to be able to use my PC's printer port as a discrete parallel I/O
port. I use ioperm() to acquire access permission to the I/O memory
location (0x378) of the port, and then use outb() and inb() to write or read
it. This works fine but only if the user is root. How do I give a user
permission to access an I/O memory location. Giving the user permission to
lp1 does not work.
-laweber
More information about the wplug
mailing list