Many thanks for putting the effort in, it is very much appreciated. Though I have some work to do to verify your conclusions I think you are right.The Pico is not setting 0x04 "device supports Send_Break".
The weird thing is, 'as is', it does work under Buster, despite "bmCapabilities 0x02"; 'minicom' does send 'break', the Pico detects it, responds to every 'break'. It's the same Pico code when plugged into Bookworm, same USB Descriptors, so I expected it to also work under Bookworm. It doesn't and your explanation as to why it doesn't appears credible.
It seems Buster allows something it shouldn't which Bookworm doesn't allow. I can only assume Buster has some kind of bug which cancels out or ignores the USB Descriptors not being correct.
But only for Pico SDK code, not MicroPython, though that could be a separate or additional issue. I am sure it did work for MicroPython at one point, believe it must have or I'd have asked "why not?" at the time I implemented it.
Anyway; time to do some testing. I'll report back.
Statistics: Posted by hippy — Tue Apr 30, 2024 11:17 am