red/green power led not working with kernel 5.14 - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111) +--- Forum: Linux on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=114) +--- Thread: red/green power led not working with kernel 5.14 (/showthread.php?tid=14907) |
red/green power led not working with kernel 5.14 - alchemist - 09-17-2021 Hi! With linux kernel 5.13, I had a green power led when the kernel starts and is running. Now with linux kernel 5.14, the led is always red. What kernel option/code do I need to enable in order to have the green led ? This is some good indicator that the kernel really starts without having a console access. Kind regards, Xavier. EDIT: the green led is lit, but the ged led keeps being on, and it hides the green led. The brighness parameter of the red led is 0, which is incorrect (red led should be off and brightness value should be 0). RE: where is green/red power led config/path ? - maxjrh - 09-17-2021 If you are using manjaro, there was a bug with the green LED in kernel 5.14, it's fixed in the most recent kernel. the leds are at /sys/class/leds Code: echo 0 | sudo tee /sys/class/leds/red\:standby/brightness RE: where is green/red power led config/path ? - alchemist - 09-19-2021 Hi!, I am using the patches from https://gitlab.manjaro.org/manjaro-arm/packages/core/linux applied on gentoo-sources (= vanilla + some patches), running kernel 5.14.5 The current patches don't apply correctly to 5.14.6... I can see the 2 led entries. The red led says the brightness is 0, but if I send it to 0, the red led goes off and I can see the green led. So there seems an initialization bug for the red led... RE: red light not working with kernel 5.14 - alchemist - 09-20-2021 I changed the title to be more accurate. So the green led is lit at kernel startup, but togheter with the red which is brighter and hides the green one. RE: red/green power led not working with kernel 5.14 - alchemist - 11-04-2021 Hi!, for kernel 5.14, I did a boot script to reset the led status Code: for led in /sys/class/leds/*/brightness And it's fixed in kernel 5.15 : the led is green when the kernel loads. |