Re: [PARPORT] Block transfers?

From: Nick Papadonis (
Date: Thu Jan 31 2002 - 13:04:50 EST

  • Next message: Tim Waugh: "Re: [PARPORT] Block transfers?"

    Tim Waugh <> writes:

    > On Wed, Jan 30, 2002 at 09:03:26PM -0500, Nick Papadonis wrote:
    >> Is there a way to read/write a block of data out over the port at a
    >> time?
    > Yes: use read() and write() of course! But you must choose a protocol
    > first.
    > You might want to have a look at libieee1284, though, instead of using
    > the character special device directly.

    Thanks. I reviewed libieee1284 and it looks like a great API.

    Can write() write a 24 bit buffer to the port at once? Is this word
    mapped to the parallel port pins correctly or do parts get mapped to the
    status, data, or control bytes?

    I'm essentially trying to write to arbitrary parport pins using the
    userspace driver.



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

    This archive was generated by hypermail 2b29 : Thu Jan 31 2002 - 13:18:29 EST