[PARPORT] ioctl

From: Luis LLN (letona79@yahoo.es)
Date: Mon Aug 18 2003 - 18:03:04 EDT

  • Next message: Luis LLN: "[PARPORT] ioctl: errno=5."

    I´ve installed a kernel 2.4.x. Now, I try to open and
    read the parallel port but it fails.

    fd=open("/dev/parport0", O_RDONLY|O_NOCTTY);




    The second ioctl (PPNEGOT) returns errno=5 (Input /
    Output error) and the third ioctl doesn't do anything
    and the program gets blocked. Any idea?

    Yahoo! Messenger - Nueva versión GRATIS
    Super Webcam, voz, caritas animadas, y más...

    -- 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 Aug 18 2003 - 18:13:55 EDT