Re: USB device allocation

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


Johannes Erdfelt wrote:
> For all of the "standard devices" (this is vaguley defined) it uses one
> of the standard device nodes. In the case of USB zip drives, etc it
> shows up as the next sd* device.

Definitely vague. A pet peeve: Mice are allocated all over the place:
serial mice, bus mice, USB mice. Having a standard device node and API
for mice would be handy, ie. open /dev/mouse0 and always get the mouse.
(though, doing so would entail having a parport-like driver subsystem
for serial)

> I guess it's time to grab devfs and seriously look at what can be done
> to do this.

It still surprises me that devfs has not made it into the kernel, as an
OPTIONAL module which is DISABLED by default.

Jeff

Caveat: I haven't looked at the latest 'input patch', maybe it already
does this.

-- 
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/