Re: [PARPORT] Grabbing a parallel port

From: Nate Jenkins (nate@uniwest.com)
Date: Fri Jul 11 2003 - 15:41:47 EDT

  • Next message: Gregg C Levine: "Re: [PARPORT] Grabbing a parallel port"

    Philip,

    Instead of modifying a driver, could you not write a program to load the
    module and imediately do the things you need and then unload the module?

    You could use ( [ parport + parport_pc ] + ppdev) or ( libieee1284 ) to do
    this.

    I load/unload module(s) in my program(s) in this manner.

    Nate

    > Reserve the parallel port (I say "the" because I can guarantee
    > that there will only ever be one on these machines);

    > Set the state of the data lines; and

    > Release the parallel port.

    > The reservation must be done at driver load time, and the
    > release at driver unload time.

    > Could one of you nice people point me at a skeleton
    > parport-using driver that I can adapt to my needs?

    -- 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 : Fri Jul 11 2003 - 15:46:42 EDT