red/green power led not working with kernel 5.14

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,

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).
Kind regards,
Xavier Miller.
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

echo 0 | sudo tee /sys/class/leds/red\:standby/brightness
echo 1 | sudo tee /sys/class/leds/green\:power/brightness

I am using the patches from 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...
Kind regards,
Xavier Miller.
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.
Kind regards,
Xavier Miller.

for kernel 5.14, I did a boot script to reset the led status

for led in /sys/class/leds/*/brightness
    b=$(cat $led)
    echo $b > $led

And it's fixed in kernel 5.15 : the led is green when the kernel loads.
Kind regards,
Xavier Miller.

Possibly Related Threads…
Thread Author Replies Views Last Post
  Working suspend on Manjaro brzegorz 3 922 12-03-2021, 01:39 PM
Last Post: rik-shaw
  How to mainline kernel on daniel thompson's debian installer? hellojack 6 475 11-16-2021, 02:41 PM
Last Post: TRS-80
  WORKING Moonlight with FFMpeg on 5.10.11 ShootTheMoon2 2 925 11-12-2021, 09:42 PM
Last Post: tblindba
  Kernel panics solostian 13 1,598 11-08-2021, 02:24 PM
Last Post: TRS-80
  Pinebook Pro wifi not working seyo-iv 2 1,189 10-26-2021, 02:27 AM
Last Post: wangyukunshan
  Power LED flashing red/green... appelgriebsch 3 1,776 09-05-2021, 07:59 PM
Last Post: dealie
  Disable the Power Button or make it do something else jms429 6 1,910 08-20-2021, 06:36 PM
Last Post: xmixahlx
  Please help...Pinebook Pro Night Color / mode not working :( 13 2,734 08-16-2021, 05:16 PM
Last Post:
  External USB C Monitor not working altacus 29 18,205 08-08-2021, 10:19 AM
Last Post: Dendrocalamus64
  Sound stuttering on Manjaro gnome after latest kernel upgrade? pjsf 0 561 07-13-2021, 10:37 PM
Last Post: pjsf

Forum Jump:

Users browsing this thread: 1 Guest(s)