Re: [PARPORT] Simple EPP PPNEGOT?

From: Nate Jenkins (nate@uniwest.com)
Date: Mon Feb 10 2003 - 16:23:07 EST

  • Next message: Bob Tanner: "Re: [PARPORT] Simple EPP PPNEGOT?"

    I have had success with using ppdev with a LapLink cable between two PCs but
    not with the negotiation code you referenced. I ended up having to control
    it myself on the pin by pin basis.

    So are you trying to talk "to a PC from a PC" or "to Peripheral from PC"? I
    thought your email said both. Maybe just practicing with PC for now?

    Nate

    ----- Original Message -----
    From: "Bob Tanner" <tanner@real-time.com>
    To: <linux-parport@torque.net>
    Sent: Monday, February 10, 2003 11:41 AM
    Subject: [PARPORT] Simple EPP PPNEGOT?

    > I'm trying a simple EPP PPNEGOT between to PCs using a Laptop Link cable.
    >
    > open ("/dev/parport0", O_RDWR|O_NOCTTY);
    > ioctl (fd, PPCLAIM)
    >
    > int mode = IEEE1284_MODE_EPP;
    > if (ioctl(fd, PPNEGOT, &mode) != 0) {
    > perror("PPNEGOT");
    > close(fd);
    > return 1;
    > }
    >
    > PPNEGOT: Input/output error
    >
    > I double checked, both PCs have EPP 1.9 enabled in the BIOS.
    >
    > I'm using
    >
    > http://people.redhat.com/twaugh/parport/html/x916.html
    >
    > To mimic the printer's side of printer protocol.
    >
    > I am trying to use the parallel port as a control-interface to a piece of
    > hardware and have no luck access the port on a pin by pin bases.
    >
    > --
    > Bob Tanner <tanner@real-time.com> | Phone : (952)943-8700
    > http://www.mn-linux.org, Minnesota, Linux | Fax : (952)943-8500
    > http://www.tcwug.org, Minnesota, Wireless | Coding isn't a crime.
    > Fingerprint: 02E0 2734 A1A1 DBA1 0E15 623D 0036 7327 93D9 7DA3
    >
    > -- 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 : Mon Feb 10 2003 - 16:22:17 EST