Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi hub and multi device not working (IDFGH-13832) #14682

Open
3 tasks done
maaamcube opened this issue Oct 7, 2024 · 1 comment
Open
3 tasks done

Multi hub and multi device not working (IDFGH-13832) #14682

maaamcube opened this issue Oct 7, 2024 · 1 comment
Labels
Status: Opened Issue is new

Comments

@maaamcube
Copy link

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report

Hello @roma-jam and everyone,
I have connected my board : USB vendor specific devices (see image below) to the Esp32 USB Host example from this repo : 70f222e

image

Only the first hub is recognized and i got this:

E (5579) USBH: Dev 1 EP 0 STALL
E (5579) ENUM: Bad transfer status 4: CHECK_SHORT_LANGID_TABLE
E (5579) ENUM: [0:0] CHECK_SHORT_LANGID_TABLE FAILED
I (5579) CLASS: Opening device at address 1
I (5579) CLASS: Getting device information
I (5589) CLASS: Full speed
I (5589) CLASS: bConfigurationValue 1
I (5599) CLASS: Getting device descriptor
*** Device descriptor ***
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0x9
bDeviceSubClass 0x0
bDeviceProtocol 0x0
bMaxPacketSize0 64
idVendor 0x424
idProduct 0x2533
bcdDevice 1.80
iManufacturer 0
iProduct 0
iSerialNumber 0
bNumConfigurations 1
I (5619) CLASS: Getting config descriptor
*** Configuration descriptor ***
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
bMaxPower 2mA
*** Interface descriptor ***
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 0x9
bInterfaceSubClass 0x0
bInterfaceProtocol 0x0
iInterface 0
*** Endpoint descriptor ***
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 0x3 INT
wMaxPacketSize 1
bInterval 255

Thanks.

@espressif-bot espressif-bot added the Status: Opened Issue is new label Oct 7, 2024
@github-actions github-actions bot changed the title Multi hub and multi device not working Multi hub and multi device not working (IDFGH-13832) Oct 7, 2024
@roma-jam
Copy link
Collaborator

roma-jam commented Oct 7, 2024

Hi @maaamcube ,

thanks for the feedback.

The commit you have referred to contains the adding of downstream ports logic only.
Basically, these changes is crucial for external Hubs to work.

The enabling Hubs support feature in the USB Host examples itself though has been merged internally and will be available in public soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Opened Issue is new
Projects
None yet
Development

No branches or pull requests

3 participants