red/green power led not working with kernel 5.14
#1
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).
Kind regards,
Xavier Miller.
  Reply
#2
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
echo 1 | sudo tee /sys/class/leds/green\:power/brightness
  Reply
#3
Hi!,

I am using the patches from https://gitlab.manjaro.org/manjaro-arm/p...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...
Kind regards,
Xavier Miller.
  Reply
#4
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.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinebook Pro wifi not working seyo-iv 2 953 Yesterday, 02:27 AM
Last Post: wangyukunshan
  Kernel panics solostian 9 736 10-18-2021, 06:56 AM
Last Post: solostian
  Power LED flashing red/green... appelgriebsch 3 1,460 09-05-2021, 07:59 PM
Last Post: dealie
  WORKING Moonlight with FFMpeg on 5.10.11 ShootTheMoon2 1 684 08-20-2021, 06:40 PM
Last Post: xmixahlx
  Disable the Power Button or make it do something else jms429 6 1,519 08-20-2021, 06:36 PM
Last Post: xmixahlx
  Please help...Pinebook Pro Night Color / mode not working :( sushilsharma71@gmail.com 13 1,981 08-16-2021, 05:16 PM
Last Post: sushilsharma71@gmail.com
  External USB C Monitor not working altacus 29 17,122 08-08-2021, 10:19 AM
Last Post: Dendrocalamus64
  Working suspend on Manjaro brzegorz 2 685 07-30-2021, 06:21 AM
Last Post: vssz
  Sound stuttering on Manjaro gnome after latest kernel upgrade? pjsf 0 445 07-13-2021, 10:37 PM
Last Post: pjsf
  Kernel panic on boot with danielt's Debian installer hjalfi 11 2,479 07-09-2021, 08:52 AM
Last Post: moonwalkers

Forum Jump:


Users browsing this thread: 1 Guest(s)