outb, inb?

Daniel Schüle uval at rz.uni-karlsruhe.de
Sun Dec 18 11:50:52 EST 2005


Hello,

I am looking for simple solution to outb to parallel port.
The program should run on Linux. I hope someone here already
faced this problem. In C it would look like

iopl(3/*mode*/);
ioperm(0x378 /*PORT_BASE*/, 3 /*bytes*/, 1/*on*/);
outb(0xff /* < data */, 0x378 /*DATA_REG*/);

Any ideas welcome

Regards, Daniel




More information about the Python-list mailing list