Link to home
Start Free TrialLog in
Avatar of daanen
daanen

asked on

What's /dev/port

Hi there,
I saw I have a /dev/port file. Looking in file system, I read it was for accessing to ioport. How can I use it to acces to parallel port ?
How can I specify the io port I want to work with ?

thanks

ASKER CERTIFIED SOLUTION
Avatar of rbr
rbr

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of daanen
daanen

ASKER

Does that mean I open /dev/port and then does inp and outp ?
No you don't have to open the /dev/port
outb and inb are the assembler makros whih you can use.