Re: [PARPORT] ioctl(parport, PPCLAIM) hangs?

From: Bob Tanner (
Date: Thu May 01 2003 - 23:12:59 EDT

  • Next message: Tim Waugh: "Re: [PARPORT] Handling interrupts with select and poll?"

    On Thursday 01 May 2003 07:17 pm, Nate Jenkins wrote:
    > I would like it best if my "open" would fail. However I have tried calling
    > open with O_EXCL and it still opens when another process has claimed the
    > /dev/parportX. I have also tried calling ioctl with PPEXCL and it still
    > will not keep other processes from blocking when trying to get at it...
    > Bob, why O_NOCTTY, I thought that was for serial devices?

    I think I cut-n-pasted it :-(

    The problem was something else was using the device.

    Bob Tanner <>         | Phone : (952)943-8700, Minnesota, Linux | Fax   : (952)943-8500             | Linux Just Works!         
    Key fingerprint = AB15 0BDF BCDE 4369 5B42  1973 7CF1 A709 2CC1 B288

    -- To unsubscribe, send mail to: -- -- with the single word "unsubscribe" in the body of the message. --

    This archive was generated by hypermail 2b29 : Thu May 01 2003 - 23:16:58 EDT