Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[led] Add proximity sensor debugging patterns. JB#43690
Debugging proximity sensor issues is difficult as inspecting logs is usually not possible in the situation where the problem is detected, or the sensor has failed in distant enough past so that logs have been already lost due to log rotation. Add led patterns that are activated/deactivated as follows: - PatternProximityCovered when sensor is reporting closed state. - PatternProximityUncovering when sensor is reporting uncovered state, but effective state is still covered (uncover hysteresis). - PatternProximityUncovered when effective proximity state is uncovered. The patterns are disabled by default, but can be enabled via: mcetool --enable-led-pattern=PatternProximityCovered\ --enable-led-pattern=PatternProximityUncovering\ --enable-led-pattern=PatternProximityUncovered And disabled again with: mcetool --disable-led-pattern=PatternProximityCovered\ --disable-led-pattern=PatternProximityUncovering\ --disable-led-pattern=PatternProximityUncovered Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
- Loading branch information
Showing
5 changed files
with
111 additions
and
0 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
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