hathach / tinyusb

An open source cross-platform USB stack for embedded system
https://www.tinyusb.org
MIT License
4.94k stars 1.04k forks source link

Add missing capability bit for CDC ACM serial break support #2616

Closed trejan closed 5 months ago

trejan commented 5 months ago

Describe the PR The send break capability bit is needed for serial break support with Linux and possibly MacOS hosts. A recent Linux kernel patch made it check the ACM capability bits before sending a serial break. Older kernels didn't check and would always send a serial break.

Additional context See https://forums.raspberrypi.com/viewtopic.php?t=369851#p2216659 for original discussion.