Re: [RFC PATCH 2/2] USB: Set usb port's DevicerRemovable according acpi information in EHCI

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

 



On Thu, 30 Aug 2012, Lan Tianyu wrote:

> OK. This can resolve the root hub problems. And this let me think of the
> same problem for non-root hub on the motherboard(e.g ehci has integrated
> hub under root hub). Their ports also have acpi information.
> I think we also need to find some place to set DeviceRemovable for them
> and power resource should be at the integrated hub ports because the usb
> devices are acctually attached to them. right?

Yes.  Here you probably want the ACPI information to override the 
information provided by the integrated hub's hub descriptor.

You can do this from within hub_configure(), at the point where you 
were going to add the second call to get_hub_descriptor().

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