Re: [PARPORT] ECP mode

From: Tim Waugh (twaugh@redhat.com)
Date: Mon Oct 01 2001 - 08:43:49 EDT

  • Next message: shun: "Re: [PARPORT] ECP mode"

    On Mon, Oct 01, 2001 at 09:42:27PM +0900, shun wrote:

    > then,
    > If I use nibble mode,
    >
    > write (fd, ptr, count);
    > mode = IEEE1284_MODE_NIBBLE;
    > ioctl (fd, PPNEGOT, &mode))
    > read (fd, buf, len);

    The behaviour of this will be:

    - write out data in whatever mode you started in
    - if that mode was not compatibility mode, terminate to compatibility
      mode
    - negotiation to nibble mode
    - read data in nibble mode

    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 Oct 01 2001 - 08:46:10 EDT