Documentation of Parallel and Serial port configuration?

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Wed Oct 5 15:32:45 CDT 2005


>>>>> "Kuba" == Kuba Ober <kuba at mareimbrium.org> writes:

    >> Several years ago I had my programmer and one other device working
    >> with dosemu and or bochs but after I updated from Mandrake 8.2 I
    >> think I have not been able to get it working again. I think the
    >> kernel has changed on hardware access and will require special driver
    >> to allow simulated direct hardware access.

    Kuba> man ioperm 2

    Kuba> You can use it via a suid-root wrapper program that acquires the
    Kuba> port access, drops privileges and executes your wine
    Kuba> programs. Works for me. Of course it doesn't work if the windows
    Kuba> program needs the special driver to talk to the device. It does
    Kuba> work for those old-style windows95 applications that expect to be
    Kuba> able to talk to the ports directly.

For both the serial and the parallel port, direct port access can be handled
by ioctl() to the devices. So doing direct port access via in() and out()
while running as root is only the last resort...

-- 
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------



More information about the wine-devel mailing list