Open hauntingEcho opened 2 years ago
Exposing it via /sys/class/leds
could also be nice (because we could set up keybinds), but the possibility of that is deeper than my firmware knowledge goes.
I wish this was merged :(
Looks like /sys/class/leds
support may be available with kernel 6.11: https://old.reddit.com/r/framework/comments/1g8gbm2/what/lt0fxia/
@hauntingEcho can confirm this works on kernel 6.11, I'm on Framework 13th AMD.
I can shutdown the power LED with
echo 0 | sudo tee /sys/class/leds/chromeos:white:power/brightness
Full brightness
echo 1 | sudo tee /sys/class/leds/chromeos:white:power/brightness
Here are also the other leds :
chromeos::kbd_backlight chromeos:multicolor:charging chromeos:white:power input0::capslock input0::numlock input0::scrolllock
EDIT: Not sure if there is any way to restore the default behavior afterwards, and I can't seem to be able to lower the brightness, it is either full or nothing, putting values between 0 and 100 do nothing, if value is >0 then the light looks like it's at full brightness.
EDIT 2: Add Kernel version: Linux #
1-NixOS SMP PREEMPT_DYNAMIC Thu Oct 10 10:04:18 UTC 2024 x86_64 GNU/Linux
When playing music/youtube/whatever with the screen off as I go to sleep, the power LED lights up the whole room. Options to dim it were added here, but the ability to disable it entirely would be appreciated. This has also been mentioned in the discussion thread.
Putting electrical tape over a button gets a bit messier than putting it over the charge lights, and I haven't got up the courage to start cutting on the board just yet :)