[PARPORT] ioctl(parport, PPCLAIM) hangs?

From: Bob Tanner (tanner@real-time.com)
Date: Thu Apr 24 2003 - 13:41:03 EDT

  • Next message: Gunther Mayer: "Re: [PARPORT] Support for SMSC 37N869?"

    I switch the BIOS to EPP 1.9 mode, now the following code hangs.

    int parport = open("/dev/parport0", O_RDWR|O_NOCTTY);
    ioctl(parport, PPCLAIM); <-- hangs

    Why would the ioctl() hang when I try to claim the port?

    syslog shows:

    kernel: ppdev0: registered pardevice

    But nothing else. Any recommendations on how to troubleshoot this problem?

    Bob Tanner <tanner@real-time.com>         | Phone : (952)943-8700
    http://www.mn-linux.org, Minnesota, Linux | Fax   : (952)943-8500
    Key fingerprint = AB15 0BDF BCDE 4369 5B42  1973 7CF1 A709 2CC1 B288

    -- 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 : Thu Apr 24 2003 - 13:42:40 EDT