Re: [PARPORT] General user mode access to parallel port

From: Tim Waugh (twaugh@redhat.com)
Date: Sat Dec 08 2001 - 11:15:52 EST

  • Next message: Robert Heller: "Re: [PARPORT] General user mode access to parallel port"

    On Sat, Dec 08, 2001 at 11:07:38AM -0500, Robert Heller wrote:

    > Is there a high-level parallel port driver that allows 'vanila' access
    > to a parallel port from a user-mode program? If so, what are the ioctls
    > available? I need to be able to test if data is available and/or test
    > the state of the handshake lines. Or do I need to write a kernel module
    > (driver)?

    Take a look at libieee1284: http://cyberelk.net/tim/libieee1284/. It
    is a nicer interface to the kernel ppdev driver, which also has some
    fall-back I/O routines if ppdev isn't available. It is meant to be
    cross-platform-capable, and for example I don't think it would take
    too much effort to get it going on *BSD.

    For Linux, ppdev is available in the 2.4.x kernel series.

    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 : Sat Dec 08 2001 - 11:17:12 EST