Re: [PARPORT] Really raw access to the parport

From: Tim Waugh (twaugh@redhat.com)
Date: Mon Feb 05 2001 - 08:40:59 EST

  • Next message: Mohammed El Shobaki: "[PARPORT] Difference between PPNEGOT and PPSETMODE?"

    On Mon, Feb 05, 2001 at 01:54:19PM +0100, Klaus Andersen wrote:

    > What I would like is to read/write directly to the 8 data lines (D0-D7)
    > without any form of protocol, just banging directly on the hardware. It
    > would be great if it is possible to read from some of the lines and
    > write to others at the same time.

    The easiest way to do this at the moment is to use inb and outb
    directly. man iopl. (You need to compile with optimization at -O2 in
    order to inline some functions or it won't work.) You need to run
    your program as root.

    Tim.
    */



    -- To unsubscribe, send mail to: linux-parport-request@torque.net --
    -- with the single word "unsubscribe" in the body of the message. --



    This archive was generated by hypermail 2b29 : Mon Feb 05 2001 - 08:42:22 EST