diff options
author | Mike Lockwood <lockwood@android.com> | 2009-10-12 11:20:51 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2009-10-12 11:20:51 -0700 |
commit | b90a9d88da07f2b35fb4f7a70715f56e8ebca41d (patch) | |
tree | 73baadc5c7b28bd2648adabb6805cdc0aad6b186 /cmds | |
parent | 56b7d695c49e1ecce49faa24acb4766fd72e2dac (diff) | |
parent | e04611471133650731bcd06229dfd38f3fcdc889 (diff) | |
download | frameworks_base-b90a9d88da07f2b35fb4f7a70715f56e8ebca41d.zip frameworks_base-b90a9d88da07f2b35fb4f7a70715f56e8ebca41d.tar.gz frameworks_base-b90a9d88da07f2b35fb4f7a70715f56e8ebca41d.tar.bz2 |
am e0461147: am 2ecf3f5e: dumpstate: Add backlight information to bugreport output.
Merge commit 'e04611471133650731bcd06229dfd38f3fcdc889'
* commit 'e04611471133650731bcd06229dfd38f3fcdc889':
dumpstate: Add backlight information to bugreport output.
Diffstat (limited to 'cmds')
-rw-r--r-- | cmds/dumpstate/dumpstate.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cmds/dumpstate/dumpstate.c b/cmds/dumpstate/dumpstate.c index 1f14726..4dda68c 100644 --- a/cmds/dumpstate/dumpstate.c +++ b/cmds/dumpstate/dumpstate.c @@ -111,6 +111,13 @@ static void dumpstate(int full) { "PANIC CONSOLE"); dump_kernel_log("/data/dontpanic/apanic_threads", "PANIC THREADS"); + + PRINT("------ BACKLIGHTS ------"); + DUMP_PROMPT("LCD brightness=", "/sys/class/leds/lcd-backlight/brightness"); + DUMP_PROMPT("Button brightness=", "/sys/class/leds/button-backlight/brightness"); + DUMP_PROMPT("Keyboard brightness=", "/sys/class/leds/keyboard-backlight/brightness"); + DUMP_PROMPT("ALS mode=", "/sys/class/leds/lcd-backlight/als"); + DUMP_PROMPT("LCD driver registers:\n", "/sys/class/leds/lcd-backlight/registers"); } PRINT("========================================================"); PRINT("== build.prop"); |