k12osn@redhat.com
[Top] [All Lists]

Re: [K12OSN] Error: Couldn't get the port at 378

Subject: Re: [K12OSN] Error: Couldn't get the port at 378
From: "Doug Simpson"
Date: Tue, 10 Jun 2008 15:33:55 -0500
Forgot to mention. . . linux, and Debian to be specific. . .

Doug Simpson
Technology Specialist
De Queen Public Schools
De Queen, AR
simpsond@xxxxxxxxxxxxxxxxxx
"A Dollar Saved is a Dollar Earned"


>>> "Doug Simpson" <simpsond@xxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxx 
"A Dollar Saved is a Dollar Earned"



_______________________________________________
K12OSN mailing list
K12OSN@xxxxxxxxxx 
https://www.redhat.com/mailman/listinfo/k12osn 
For more info see <http://www.k12os.org>


_______________________________________________
K12OSN mailing list
K12OSN@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>

<Prev in Thread] Current Thread [Next in Thread>