Next Previous Contents

Linux I/O port programming mini-HOWTO

Author: Riku Saikkonen <>

v3.0, 2000-12-13

This HOWTO document describes programming hardware I/O ports and waiting for small periods of time in user-mode Linux programs running on the Intel x86 architecture.

1. Introduction

2. Using I/O ports in C programs

3. Interrupts (IRQs) and DMA access

4. High-resolution timing

5. Other programming languages

6. Some useful ports

7. Hints

8. Troubleshooting

9. Example code

10. Credits

Next Previous Contents