Re: [PARPORT] simple parallel device

From: Tim Waugh (
Date: Tue May 13 2003 - 04:42:08 EDT

  • Next message: Bob Tanner: "Re: [PARPORT] simple parallel device"

    On Tue, May 13, 2003 at 12:20:42AM -0700, Jason Majors wrote:

    > I want the software to be able to use a blocking call like select() that'll
    > just sit and wait for the parallel port to change (in its own thread).

    If you connect to the right pin (nAck), you'll get an interrupt, and
    so you can literally use select() on the file descriptor you get from
    ieee1284_get_irq_fd() (from libieee1284), or just the file descriptor
    associated with the ppdev device.


    -- To unsubscribe, send mail to: --
    -- with the single word "unsubscribe" in the body of the message. --

    This archive was generated by hypermail 2b29 : Tue May 13 2003 - 04:47:35 EDT