Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b7640602 authored by Steven Moreland's avatar Steven Moreland
Browse files

Remove sys/class/leds from dumpstate.

These are device specific. Moving to lights hal.

Bug: 70846424
Test: bugreport
Change-Id: If79154f9482a99a8c886b9f8608a7fa3c2104846
parent 66d9ea63
Loading
Loading
Loading
Loading
+0 −13
Original line number Original line Diff line number Diff line
@@ -1160,19 +1160,6 @@ static void dumpstate() {


    RunCommand("LAST RADIO LOG", {"parse_radio_log", "/proc/last_radio_log"});
    RunCommand("LAST RADIO LOG", {"parse_radio_log", "/proc/last_radio_log"});


    printf("------ BACKLIGHTS ------\n");
    printf("LCD brightness=");
    DumpFile("", "/sys/class/leds/lcd-backlight/brightness");
    printf("Button brightness=");
    DumpFile("", "/sys/class/leds/button-backlight/brightness");
    printf("Keyboard brightness=");
    DumpFile("", "/sys/class/leds/keyboard-backlight/brightness");
    printf("ALS mode=");
    DumpFile("", "/sys/class/leds/lcd-backlight/als");
    printf("LCD driver registers:\n");
    DumpFile("", "/sys/class/leds/lcd-backlight/registers");
    printf("\n");

    /* Binder state is expensive to look at as it uses a lot of memory. */
    /* Binder state is expensive to look at as it uses a lot of memory. */
    DumpFile("BINDER FAILED TRANSACTION LOG", "/sys/kernel/debug/binder/failed_transaction_log");
    DumpFile("BINDER FAILED TRANSACTION LOG", "/sys/kernel/debug/binder/failed_transaction_log");
    DumpFile("BINDER TRANSACTION LOG", "/sys/kernel/debug/binder/transaction_log");
    DumpFile("BINDER TRANSACTION LOG", "/sys/kernel/debug/binder/transaction_log");