[Date Prev][Date Next][Thread Prev][Thread Next] - [Date Index][Thread Index][Author Index]

Re: Linux Device Drivers and I/O ports

Frederick M. Spinner <fspinner@hotmail.com> wrote:

>The sloppy but fully controlable way of doing this is using ioperm / inb / 
>outb.  You ask Linux for permission to access the io range that
>your printer port is on, and then you just chug away with in and outs to 
>the port....

Nothing sloppy about it; this is the official, documented
way to do it.

Have a look at the IO-Port-Programming mini-HOWTO.

This doesn't give you interrupts, though. For that you
need device drivers. Non-trivial, but not impossible,

Laura Halliday VE7LDH     "Que les nuages soient notre
Grid: CN89lg                    pied a terre..."
ICBM: 49 16.57 N 123 0.24 W        - Hospital/Shafte

MSN 8 with e-mail virus protection service: 2 months FREE* 

Via the amsat-bb mailing list at AMSAT.ORG courtesy of AMSAT-NA.
To unsubscribe, send "unsubscribe amsat-bb" to Majordomo@amsat.org