Re: USB device allocation

Dan Hollis (goemon@sasami.anime.net)
Tue, 5 Oct 1999 15:51:25 -0700 (PDT)


On Wed, 6 Oct 1999, Nathan Hand wrote:
> 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.

You are correct sir.

$ ls -al /proc/asound/dev
total 0
dr-xr-xr-x 2 root root 0 Oct 5 15:57 .
dr-xr-xr-x 5 root root 0 Oct 5 15:57 ..
crw-rw-rw- 1 root root 116, 0 Oct 5 15:57 controlC0
crw-rw-rw- 1 root root 116, 8 Oct 5 15:57 midiC0D0
crw-rw-rw- 1 root root 116, 4 Oct 5 15:57 mixerC0D0
crw-rw-rw- 1 root root 116, 16 Oct 5 15:57 pcmC0D0
crw-rw-rw- 1 root root 116, 33 Oct 5 15:57 timer

-Dan

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