Files
RedBear-OS/drivers/input/usbhidd/src
Red Bear OS 230a219c5f USB: graceful disconnect handling in usbhidd — survive transfer errors
Replaced .context("failed to get report")? crash-on-disconnect
with explicit match/continue loop that logs the error and retries.

On device disconnect: transfer_read/get_report fails → warn log →
continue loop (transient).  Driver survives USB unplug/replug
without process exit.  On permanent failure: loop exits normally.

Pattern to replicate across all class drivers.
2026-07-07 17:32:08 +03:00
..