Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[usbmode] Do not assume "busy" means connected. Fixes JB#42976
MCE uses general rule with usb modes: Apart from select modes known to imply "disconnected" state, everything is assumed to mean "connected". This misfires with recently introduced "busy" mode, which can occur also when cable is physically detached from the device. Use symbolic mode names from usb-moded devel package. Add all known transient and stable modes to the lookup table. Do not take "busy" and some other modes into account when evaluating cable connected state. Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
- Loading branch information
Showing
3 changed files
with
42 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters