[K12OSN] Error: Couldn't get the port at 378
Doug Simpson
simpsond at leopards.k12.ar.us
Tue Jun 10 20:33:55 UTC 2008
Forgot to mention. . . linux, and Debian to be specific. . .
Doug Simpson
Technology Specialist
De Queen Public Schools
De Queen, AR
simpsond at leopards.k12.ar.us
"A Dollar Saved is a Dollar Earned"
>>> "Doug Simpson" <simpsond at leopards.k12.ar.us> 6/10/2008 3:30 PM >>>
I have a program that lets you enter a command like:
lptout 233
and it passes the number to the parallel port and sets the data lines high corresponding to the number you gave it.
The problem I am having is that when root runs the program, it runs fine.
When any other user runs it, it returns:
Error: Couldn't get the port at 378
like no one but root is allowed to use the parallel port.
Where would I look to fix this?
This same program works fine on every other computer I have tried it on but this particular one. . .
There are two files for it:
lptout and lptout.c
Thanks for any assistance.
Doug
Doug Simpson
Technology Specialist
De Queen Public Schools
De Queen, AR
simpsond at leopards.k12.ar.us
"A Dollar Saved is a Dollar Earned"
_______________________________________________
K12OSN mailing list
K12OSN at redhat.com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>
More information about the K12OSN
mailing list