/dev/parport0 probs
Hey all, trying to use ppdev and /dev/parport0 to send chars out the printer port to a motor for positioning. Pretty sure I have got things right using PPCLAIM and PPWDATA. However, I have a loop that checks whether the port is busy, and if so wait. My program always gets caught in this loop. Looking at dmesg it says
parport0: irq 7 detected
lp0 using parport0 (polling)
does this mean that lp0 is making the port busy so I cannot use it?
How can I make the port not busy so I can send stuff to my motor?
Cheers....
|