-
Notifications
You must be signed in to change notification settings - Fork 78
Description
Hello @chegewara,
I've been using your library, EspTinyUSB, to interface a USB camera with an ESP32-S2 module. First and foremost, I appreciate your work on developing this library, as it has been immensely helpful for USB mass storage functionality.
However, I've encountered an issue when attempting to connect my USB camera to the ESP32-S2. I've made sure to properly wire the connections, with the following pin configuration:
5V: 5 Volt
GND: Ground
D+: Connected to pin 19
D-: Connected to pin 20
While the library works well for USB mass storage, I'm facing an error specifically when trying to connect the USB camera. The error message I'm encountering is as follows:
E (26569) HUB: Configuration descriptor larger than control transfer max length
E (26569) HUB: Stage failed: CHECK_SHORT_CONFIG_DESC
After some investigation, I believe this issue might be related to the maximum length of the control transfer for the configuration descriptor. I'm wondering if it would be possible to address this by adjusting a value within the Arduino IDE.
I've attempted to modify the value of CHECK_SHORT_CONFIG_DESC by changing it from 1024 to 4096 using the following define:
#define CHECK_SHORT_CONFIG_DESC 4069
However, this modification did not yield the desired results and the issue persists.
Please look at this issue from Expressif
espressif/esp-idf#9868
I wanted to reach out to you to seek your insights on this matter. Could you kindly provide guidance on how to resolve this issue? If there are any alternative solutions or adjustments that I should consider, I would greatly appreciate your input.
Thank you once again for your dedication to this library.
Best regards,
Lights on 42