ioport - direct access to I/O ports from the command line


There is a GIT repository here:;a=summary
To clone it use:

git clone git://

For the released tarballs of ioport, see the downloads directory.

About ioport

inb 0x278
outw 0x440 0xffff

These commands enable command line and script access directly to I/O ports on PC hardware.

The inb, inw and inl commands perform an input (read) operation on the given I/O port, and print the result.

The outb, outw and outl commands perform an output (write) operation to the given I/O port, sending the given data. Note that the order of the parameters is ADDRESS DATA.

The size of the operation is selected according to the suffix, with b meaning byte, w meaning word (16 bits) and l meaning long (32 bits).


This software is distibuted under the terms of the GNU GPL version 2 or above.

rjones AT redhat DOT com

$Id: index.html,v 1.1 2009/03/09 10:55:24 rjones Exp $