outb, inb?

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


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

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