Problem access ioport .....
Hello,
I have tried to access ioport to read some information from pc/104 board, but I have a small problem.
After request_region, in my case, request_region(ox150 ,8,"MyBoard")
I have tried to read a byte with inb an always return me the same value 0xFF, but If I try to write a byte (bit 0 is a led) ,I can turn off and turn on the led.
So, Could somebody tell me why can write a register without problems and can not read a byte???
Best regards.
|