Re: [PARPORT] Using interrupts with direct port access?

From: Blaise Gassend (blaise@gassend.com)
Date: Wed Aug 13 2003 - 23:32:26 EDT

  • Next message: Owen: "Re: [PARPORT] simple par port question"

    Use poll or select as suggested here:
    http://obelix.umh.es/pub/mirrors/LinuxFocus/common/src/article205/ppdev.html

    Quoted from Sven Lübke on Thu, Aug 14, 2003 at 12:32:20AM +0200.
    > Hi all!
    >
    > I've just written a LCDproc driver for my VF-Display which is connected
    > to the parallel port and now I need a possibility to read in some
    > information
    > via the same parallel port from a microcontroller, which scans a keypad
    > matrix
    > the whole time (and perhaps doing more stuff). The driver gets direct access
    > to the ports (0x378 etc.) using ioperm. Data is transferred through
    > the data lines (D0-D7) in combination with four output lines (/strobe, /LF
    > etc.)
    >
    > As I don't want to poll one input line of the parallel port the whole time,
    > I
    > plan to use the /ack input in combination with an interrupt! Is this
    > possible at all using direct access? I searched a lot of sites, but didn't
    > find
    > the right information. Can someone help me?
    >
    > Thank you in advance!
    >
    >
    > Best regards,
    >
    > Sven Lübke
    >
    >
    > -- To unsubscribe, send mail to: linux-parport-request@torque.net --
    > -- with the single word "unsubscribe" in the body of the message. --
    >

    -- 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 : Wed Aug 13 2003 - 23:38:37 EDT