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
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