Re: [PARPORT] Problem with aquiring port ?

From: Tim Waugh (twaugh@redhat.com)
Date: Mon Mar 03 2003 - 08:22:59 EST

  • Next message: Ramón Suárez Alvarez: "Re: [PARPORT] Bidirectional access to parallel port (JAVA)"

    On Mon, Mar 03, 2003 at 02:47:10PM +0200, Lucian Daniliuc wrote:

    > I have been confusing some things... i wasn't using ioctl but instead i
    > used ioperm() to get permission to 0x378, 0x379, 0x37A.
    >
    > What could be the problem?

    You would be better off using ioctls on /dev/parport0; that way you
    get to claim the port to prevent anything else using it.

    Even better would be to use libieee1284 if your project license allows
    it. Then you get to run the same code on other platforms too.

    Tim.
    */



    -- 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 Mar 03 2003 - 08:24:56 EST