On 6/29/26 8:25 AM, m13738176232 wrote:
For the `struct descriptor`, only the `hub` part (`bNbrPorts` and
`wHubCharacteristics`) is different for each controller; the other five members
(device, config, interface, endpoint,ep_companion)are identical for all XHCI
root hubs.
My previous patch only fixed the dynamic reading of `bNbrPorts`, but
`wHubCharacteristics` is also different for each controller and will be
overridden by the last controller.
New patch as below for referrence.
Please send this as a V2 properly. Thank you !