You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have read the component documentation ESP-IDF Components and the issue is not addressed there.
I am using target and esp-idf version as defined in component's idf_component.yml
I have searched the issue tracker for a similar issue and not found any related issue.
Which component are you using? If you choose Other, provide details in More Information.
device/esp_tinyusb
ESP-IDF version.
v5.3-dev-1353-gb3f7e2c8a4
Development Kit.
ESP32-S3-DevKitC-1
Used Component version.
1.4.4
More Information.
When acting as multiple CDC devices, the PID of the devices are misconfigured.
Instead of having PID 0x4001, as expected for a CDC device, they both instead have PID 0x4002, the PID of an MSC device.
I believe this is due to an error in usb_descriptors.c, as CFG_TUD_CDC is the number of CDC devices, not a flag as the code assumes. (The same goes with HID, and MIDI as seen in tusb_config.h
github-actionsbot
changed the title
Incorrect PID when acting as multiple CDC devices
Incorrect PID when acting as multiple CDC devices (IEC-117)
May 31, 2024
Do you face any specific issues with this setup? If this is really a problem we can fix it in upstream TinyUSB and then fix it on our side too, just keep consistent behaviour
Answers checklist.
Which component are you using? If you choose Other, provide details in More Information.
device/esp_tinyusb
ESP-IDF version.
v5.3-dev-1353-gb3f7e2c8a4
Development Kit.
ESP32-S3-DevKitC-1
Used Component version.
1.4.4
More Information.
When acting as multiple CDC devices, the PID of the devices are misconfigured.
Instead of having PID 0x4001, as expected for a CDC device, they both instead have PID 0x4002, the PID of an MSC device.
I believe this is due to an error in
usb_descriptors.c
, asCFG_TUD_CDC
is the number of CDC devices, not a flag as the code assumes. (The same goes with HID, and MIDI as seen intusb_config.h
To fix:
should be
The text was updated successfully, but these errors were encountered: