Re: USB device allocation

Jeff Garzik (jgarzik@pobox.com)
Tue, 05 Oct 1999 18:22:16 -0400


Nathan Hand wrote:
> On Tue, Oct 05, 1999 at 02:28:00PM -0700, Brian Swetland wrote:
> > Wait! Why couldn't all devices just show up dynamically? You'd only
> > see the devices that were actually on the system (at that moment). Wait,
> > somebody already made this work! Ye gods, the anarchy.

> Actually it seems somebody is already doing something similar to the
> /proc/usb/dev idea above. The ALSA drivers do something like this (I
> am pretty sure) in /proc/asound/dev.

kgi-fbcon does this also, I believe.

> Yes, it's horribly ugly, but what other option do developers have?

Indeed. /proc/xxx/dev is popping up all over the place.

Jeff

-- 
Custom driver development	|    Never worry about theory as long
Open source programming		|    as the machinery does what it's
				|    supposed to do.  -- R. A. Heinlein

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/