Henrik Nordstrom wrote: > >> For IOIO see iopl > >> > >> iopl - change I/O privilege level > > how? should I invoke it before inb&outb? > > yes, > > > and the privilege level should be set > > less than or equal to 3? > > Not entirely sure what the different levels < 3 are. At level 3 you have > access to all ports. Linux doesn't use rings 1 or 2; only levels 0 (kernel) and 3 (user-space) are meaningful. Using 1 or 2 is equivalent to 0, i.e. user-space processes can only access those ports which are enabled by ioperm(). -- Glynn Clements <glynn@gclements.plus.com> - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html