Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi all, I'm trying to access my

Status
Not open for further replies.

greadey

Technical User
Oct 25, 2001
231
GB
Hi all,

I'm trying to access my parallel port to use as an interface for a PIC programmer. I cannot seem to get the port to respond to anything I do.

A while ago I nicked a simple program from the portio HOWTO and changed it to make a simple little binary counter from the parallel port. So I've done it before. By the way I had to use /dev/lp1.

Since then I have added a CUPS print sever and got a HP deskjet working.

The only device that is mentioned in the CUPS config is /dev/lp0 (stwange).

/dev/lp* are also owned by the user lp.

Would I be right in assuming that while the CUPS server is running the root user cannot access /dev/lp* and ig this is the case why do my error trapping statements in my parallel port software not tell me that root cannot access the devices.

greadey
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top