Re: [PATCH] USB: usbfs: deprecate and hide option for !embedded

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 27 Apr 2009, Greg KH wrote:

> On Mon, Apr 27, 2009 at 11:28:12AM +0100, David Vrabel wrote:
> > Greg KH wrote:
> > > 
> > > Hm, I just noticed that the wireless usb controllers put a number of
> > > files in the usb_host directory that they reside in.  Kay, care to poke
> > > into this to see if it's really needed or not?
> > 
> > The files are essential.  However on my systems they reside in the
> > device directory and not within usb_host/usb_hostN so I don't think they
> > need to be moved.
> 
> They do?  Are you sure they aren't just in the device that usb_hostN
> links to?

In other words, which device?  The logical place is the host controller 
device.

> > Or are you suggesting moving the files into the root hub device
> > (/sys/bus/usb/device/usbN)?
> 
> Yes, that would probably be best, if possible.

No, the root hub device isn't so good.  It doesn't get registered until 
after the HCD's start method has been called, and it gets unregistered 
before the stop method is called.

The host controller device (which is the parent of the root hub device) 
is the best choice.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux