Re: [PARPORT] Grabbing a parallel port

From: Blaise Gassend (blaise@gassend.com)
Date: Fri Jul 11 2003 - 23:56:48 EDT

  • Next message: Philip Graham Willoughby: "Re: [PARPORT] Grabbing a parallel port"

    It is the name for what you get when you access devices such as
    /dev/parport0. If you google for ppdev, there is good documentation
    online.

    Quoted from Gregg C Levine on Fri, Jul 11, 2003 at 11:11:05PM -0400.
    > 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. --
    >

    -- 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 : Sat Jul 12 2003 - 00:00:46 EDT