Files
Claude 81582f8fcc USB host: tolerate more keyboards and retry the probe before NOT USB MIDI
uh_parse_midi refused real descriptor shapes: an OUT-only MIDI interface
ahead of the one with the IN endpoint, an interrupt IN with bInterval 0,
and bulk sizes that are not a power of two. uh_connect gave up after one
probe, so any slow answer after the bus reset also read as NOT USB MIDI.

Now: the parser keeps looking past an OUT-only interface, takes interval 0
as every frame and any bulk size of 4..64; the probe is tried three times
with a bus reset and a longer recovery each, and waits 20 ms after
SET_ADDRESS. tests/usb_host_desc_test.c covers the new shapes (they fail on
the old parser) and runs in voice-user-check. Layout repinned (keep).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-27 23:29:56 +00:00
..