Re: [PARPORT] /dev/parport0?

From: Tim Waugh (twaugh@redhat.com)
Date: Fri Aug 04 2000 - 05:03:05 EDT

  • Next message: matt: "Re: [PARPORT] printer troubles with rh6.1"

    On Fri, Jul 14, 2000 at 12:45:43PM +0200, Linus G Larsson wrote:

    > I know this is a pretty newbie question, but I wonder if there is any
    > difference between /dev/lp0 | /dev/par0 and /dev/parport0?

    Yes, there is. /dev/lp0 is the first parallel port printer. I'm not
    sure why /dev/par0 but on my system seems to be the same as /dev/lp0.
    /dev/parport0 is a new device (new in Linux 2.4) which represents the
    first parallel port (or a device attached to it).

    > If there is, which major and minor should I use to create the device
    > /dev/parport0?

    Major 99. The minor number specifies which port: 0 for the first, 1
    for the second, etc.

    > My kernel finds the parallel port, but I've only got the devices
    > /dev/lp[0-2] and /dev/par[0-2]. I want VMWare to get hold of the
    > parallel port and it needs some other device than the ones I've got
    > for bidirectional communication.

    VMware ships a very old version of a driver for /dev/parport0, called
    (vm)ppuser. Perhaps you need to compile/install that.

    [The new driver is called ppdev, and unfortunately has a different
    interface but the same major. :-( Perhaps one of the guys at VMware
    would like to take the ppdev 2.2.x backport I made and add their
    PPGETBASE hacks to that, to prevent this incompatibility getting
    worse: any VMware guys on this list?]

    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 : Fri Aug 04 2000 - 05:05:41 EDT