Hi all,
I have been trying the parallel port driver discussed in LDD 3rd edition from last few days now but with no success. Every time i read from any of the ports ( status, control or data ) I get 0xFF.
I did remove parport, parport_pc, lp, ppdev and the request_region() call is also successful. I confirmed the port by checking out the message that parport_pc writes to the syslog, so port is not an issue.
I tested the port in all configurations in BIOS ( SPP, ECP, EPP )
I also tried userspace ioperm, outb, inb.
inb returns correct values if parport_pc is installed but fails if parport_pc module is removed. perror() returns "illegal seek".
# uname -rmo
2.6.20-16-generic i686 GNU/Linux
please help
regards
taha