On Thu, Aug 10, 2023, Alan Stern wrote: > On Thu, Aug 10, 2023 at 10:39:36PM +0000, Thinh Nguyen wrote: > > On Thu, Aug 10, 2023, Alan Stern wrote: > > > Never mind; I found the problem. I had forgotten that at SuperSpeed or > > > faster, the device descriptor uses a logarithmic encoding for > > > bMaxPacketSize0. > > > > > > The patch below should fix things up. Let me know how it goes. > > > > > > > Quick test for Gen 1 and 2 devices work fine now. Highspeed also works > > as expected before. I didn't test Fullspeed with various MPS, but I > > don't expect any problem looking at the change. > > > > Thanks for the fix, > > And thanks for testing it. Is it okay to put your > "Reported-and-tested-by:" tag on the submitted patch? > Yes. BR, Thinh