esp-idf/components/usb
Darian Leung fd663b4ab1 usb_host: Fix error when fetching LANGID table
USB devices may support string descriptors in multiple languages. The supported
languages are stored in a LANGID table, which itself is a string descriptor at
index 0.

When fetching the LANGID table itself, the USB 2.0 specification does not
specify what LANGID to use, thus the Hub driver would use the default LANGID
"ENUM_LANGID". However, this would cause some devices to stall.

This commit fixes the issue by always requesting the LANGID table itself using
a LANGID of 0.
2023-02-13 18:15:16 +05:30
..
include C/Cxx: unify static assertions with the macro ESP_STATIC_ASSERT 2022-12-05 18:16:08 +08:00
private_include usb_host: Add check to prevent submitting already inflight transfers 2022-11-07 13:50:59 +08:00
test usb: Refactor USB Host tests 2022-12-13 22:26:47 +08:00
CMakeLists.txt usb_host: Rename struct/ll/hal files to use "usb_dwc" prefix 2022-12-13 21:36:00 +08:00
hcd_dwc.c usb_host: Rename struct/ll/hal symbols to use "usb_dwc" prefix 2022-12-13 21:36:00 +08:00
hub.c usb_host: Fix error when fetching LANGID table 2023-02-13 18:15:16 +05:30
Kconfig Add USB Host Library 2021-08-24 23:28:00 +08:00
maintainers.md usb: Fix how the HCD handles sudden disconnection 2021-11-11 16:25:01 +08:00
usb_helpers.c usb_host: Fix interface descriptor parsing 2023-02-13 18:02:35 +05:30
usb_host.c usb: Fix incorrect bmRequestType direction flag in USB Host Library 2022-12-13 22:28:02 +08:00
usb_phy.c usb: Add usb_phy driver to support operations on USB PHY 2021-09-13 12:39:56 +08:00
usb_private.c Add USB Host Library 2021-08-24 23:28:00 +08:00
usbh.c usb_host: Fixed incorrect opening devices from multiple clients 2022-11-07 13:50:33 +08:00