From: Bob Tanner (tanner@real-time.com)
Date: Mon Feb 10 2003 - 14:41:48 EST

  • Next message: Nate Jenkins: "Re: [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) {
            return 1;

    PPNEGOT: Input/output error

    I double checked, both PCs have EPP 1.9 enabled in the BIOS.

    I'm using


    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. --

    This archive was generated by hypermail 2b29 : Mon Feb 10 2003 - 14:43:03 EST