diff options
author | Mike Lockwood <lockwood@android.com> | 2009-10-04 15:22:08 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2009-10-04 15:22:08 -0700 |
commit | e04611471133650731bcd06229dfd38f3fcdc889 (patch) | |
tree | fa34f4faf4bce7cbbd8b783a049ef344f0b3785e /cmds | |
parent | 7c64a89b3c6d05e03bc72df18fbcf34365833b37 (diff) | |
parent | 2ecf3f5e00ea2ac630ffb405baba33113596cf38 (diff) | |
download | frameworks_base-e04611471133650731bcd06229dfd38f3fcdc889.zip frameworks_base-e04611471133650731bcd06229dfd38f3fcdc889.tar.gz frameworks_base-e04611471133650731bcd06229dfd38f3fcdc889.tar.bz2 |
am 2ecf3f5e: dumpstate: Add backlight information to bugreport output.
Merge commit '2ecf3f5e00ea2ac630ffb405baba33113596cf38' into eclair-mr2
* commit '2ecf3f5e00ea2ac630ffb405baba33113596cf38':
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"); |