[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Parallel port



Hi all,

How i do read a byte from parallel port?
I have a problem i don't read a byte :

1. outb(x,0x378)
2. my device return a byte and i want read
3. c = inb(0x378); 

c=x and not byte returned from device why?


Thanks 
R!SC

P.S. It's not problem with device 

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/