Re: [PATCH] driverfs support for USB - take 2

Greg KH (greg@kroah.com)
Tue, 29 Jan 2002 17:09:22 -0800


On Wed, Jan 30, 2002 at 02:03:12AM +0100, Dave Jones wrote:
>
> > Yes, I need to have better names for the devices than just "usb_bus",
> > any suggestions? These devices nodes are really the USB root hubs in
> > the USB controller, so they could just have the USB number as the name
> > like the other USB devices (001), but that's pretty boring :)
>
> "usb_root0" .. "usb_rootN" ?

Hm, that's a good idea, it would match the usbfs bus numbers which
should keep people happy.

> btw, a script to marry the busid's from driverfs to lspci/lsusb
> output may be useful in the future especially if combined somehow
> with tree(1). Could be very handy when it gets time to debug
> those "My system won't suspend to disk" "What does /driver look like?"
> situations.

Ah, a lsdrivers program is needed! :)

thanks,

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