Re: can we move USB_DEVICEFS to non-embedded?

From: Greg KH
Date: Wed Jul 08 2009 - 10:04:50 EST


On Wed, Jul 08, 2009 at 09:55:04AM -0400, Peter Jones wrote:
> On 07/08/2009 09:52 AM, Peter Jones wrote:
> > On 07/08/2009 06:54 AM, Dave Airlie wrote:
> >
> >> I'm not quite sure if something in the F11 initrd needs usbfs for
> >> something (cc'ed Peter)
> >
> > Not a thing.
>
> Actually, I take it back. We do mount usbfs, and we examine
> /proc/bus/usb/devices as a heuristic to try and determine if
> all the devices have been enumerated.

How can you ever know if all devices are enumerated as you don't know
how many devices will be showing up?

> So that could be related to what you're seeing.

That file is now available in /sys/kernel/debug/usb/devices if you
really need it.

But I would think that you do not.

thanks,

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