Tried ioperm() with no success, so now trying to use the /dev/port approach. The open() call returns a "no permission" message, even though I run it as root. Suspect it may be something to do with the capabilities settings; the capabilities mask value is -257, which equates to FFFFFEFF, so only one bit cleared (which I assume is the CAP_SET bit) What am I missing here?