devfs
[Top] [All Lists]

Re: devfs and USB

To: devfs@xxxxxxxxxxx
Subject: Re: devfs and USB
From: Richard Gooch <rgooch@xxxxxxxxxxxxxxx>
Date: Mon, 17 Apr 2000 22:14:24 -0600
In-reply-to: <20000417205739.A12513@valinux.com>
References: <20000328144530.Z860@valinux.com> <200004130453.e3D4r9F04628@vindaloo.ras.ucalgary.ca> <20000413115522.W14581@valinux.com> <200004152255.e3FMtG425171@vindaloo.ras.ucalgary.ca> <20000417120035.Y14581@valinux.com> <200004180236.e3I2aSo27324@vindaloo.ras.ucalgary.ca> <20000417194508.G14581@valinux.com> <200004180255.e3I2toJ27552@vindaloo.ras.ucalgary.ca> <20000417200237.I14581@valinux.com> <200004180338.e3I3cng27991@vindaloo.ras.ucalgary.ca> <20000417205739.A12513@valinux.com>
Sender: owner-devfs@xxxxxxxxxxx
Johannes Erdfelt writes:
> On Mon, Apr 17, 2000, Richard Gooch <rgooch@xxxxxxxxxxxxxxx> wrote:
> > What I'm basically trying to work out is why you can't have a central
> > pipe which the daemon talks to, and when drivers attach to the
> > interface, the daemon talks to the USB subsystem and does a mknod(2)
> > as appropriate. This is the kind of argument the anti-devfs crowd will
> > make.
> 
> Right now? major/minor issues.
> 
> We don't have enough.
> 
> The nodes I create are either too sparse or too many.

Is it possible to have the USB subsystem pick an unused minor, pass
that over a new usbd protocol, and have the usbd daemon mknod(2) using
that number? So unless you have >256 USB "interfaces" hooked in at
once, you'll be OK.

> No one seems interested in actually following through in increasing
> the major/minor for 2.4 and we need this working for 2.4.

IIRC, a bigger dev_t is a 2.5 issue.

> Even increasing the major/minor would be a band-aid solution.

In what way?

> I'm much more content using a solution which is here today and IMHO
> a good solution.

I agree that devfs is overall cleaner:-) I'm just playing devil's
advocate here so that the pro-devfs argument can be refined and
sharpened.

                                Regards,

                                        Richard....
Permanent: rgooch@xxxxxxxxxxxxx
Current:   rgooch@xxxxxxxxxxxxxxx


<Prev in Thread] Current Thread [Next in Thread>