IO ports in Linux

From Organic Design wiki

From linux you need to be setuid() to get to the pins of an IO port. This is not problem because we run as root anyway. The function prototypes to look at are:

  • include <asm/io.h>
  • ioperm()
  • inw()
  • outw()

+Portio.c

See also