← index #18098Issue #16457
Off-topic · high · value 3.935
QUERY · ISSUE

USB HID device on ESP32 has a problem!

openby ThomasAtBBTFopened 2025-09-19updated 2025-09-19
bug

Port, board and/or hardware

ESP32S3

MicroPython version

I created an issue on USB-LIB but I think the problem must be solved here...
https://github.com/micropython/micropython-lib/issues/1044

Reproduction

The code for reproducing the problem has been tried on MicroPython 1.26.1 and also on the new 1.27 releases.

It is not ESP board related. I tried the examples on different boards with different MicroPython versions.

I can also share Wireshark logs if necessary, but the bug is easily reproducible with the unmodified USB HID device samples from the lib directory.

Expected behaviour

The samples should "just work" also for the ESP32S3 boards.

Observed behaviour

The LED out reports are arriving nicely in the code, but all keystrokes that are sent are arriving with all bytes "zero" at the host. (Confirmed by Wireshark )

Additional Information

See the debug code changes documented in the original lib-issue!

Code of Conduct

Yes, I agree

CANDIDATE · ISSUE

1.24 breaks USB OTG support

openby dcmcshanopened 2024-12-19updated 2025-01-07
bugport-esp32

Port, board and/or hardware

ESP32S3

MicroPython version

1.23 / 1.24

Reproduction

Instll kernel, reset, see if it boots

Expected behaviour

Boots

Observed behaviour

Loading firmware 1.24 does not boot using USB-OTG. I don't have serial port. Just USB-OTG, so need kernel to default that on.

Loading firmware 1.23 works as expected.

Additional Information

No, I've provided everything above.

Code of Conduct

Yes, I agree

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied