How to access ports in Linux ?

Miscellaneous Forums/Linux Discussion/How to access ports in Linux ?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Any chance of posting some code? It may help.
Or it could be a access privilege (root is required to access low I/O)
And make sure that the parameters are the right way round outb(value, port) ( outb(port, value) is the MS/DOS way)