USBDDOS icon indicating copy to clipboard operation
USBDDOS copied to clipboard

Probleme with HUB Full Speed

Open philippe-85 opened this issue 1 year ago • 1 comments

Hi, I found a little Bug for HUB in hub.c

in Line 77 use C_PORT_RESET instead of PORT_RESET same thing in Line 189.

When I use a HIGH SPEED HUB, all is OK. But When I use a FULL SPEED HUB , I Have an error : the USB Requete USB_REQ_GET_DESCRIPTOR return with an error so we have nothing in the Descriptor ! My error = 72 (Bit 6 : transaction Halted and Bit 3 : Transaction Error) I smell problem with Split Transaction. My Host Controller is an EHCI Controller. Have you tried with a FULL Speed Hub ?

philippe-85 avatar Sep 03 '24 08:09 philippe-85

OK, actually the problem comes from the speed detection on the HUB. I have a HIGH Speed ​​hub but my first Hub saw it as a Full Speed. When I force the speed, everything is fine. This is not a problem on Split Transaction but on speed detection on the Hub. I'm working on the problem. Normally on hubs you must also have a callback function on HUB changes. I'll try.

philippe-85 avatar Oct 03 '24 13:10 philippe-85