Re: [PARPORT] Grabbing a parallel port

From: Gregg C Levine (yodathejediknight@worldnet.att.net)
Date: Fri Jul 11 2003 - 23:11:05 EDT

  • Next message: Didier Casse: "[PARPORT] cpufreq.c compilation error when recompiling kernel"

    Hello again from Gregg C Levine
    In your message below, you mention "ppdev", is this a program that comes
    with the library? Or is it with Linux, (distribution neutral here)?
    Gregg C Levine yodathejediknight@att.net or
    yodathejediknight@worldnet.att.net
    "May the Force be with you!"
    ----- Original Message -----
    From: "Nate Jenkins" <nate@uniwest.com>
    To: <linux-parport@torque.net>
    Sent: Friday, July 11, 2003 3:41 PM
    Subject: 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. --
    >

    -- 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 - 23:16:43 EDT