IO ports in Linux

From Organic Design wiki
Revision as of 17:23, 16 March 2007 by Bender (talk | contribs) (Caretaker: categories)

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:

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

See also