You are not logged in.

#1 2022-12-21 12:15:20

mgl8072
Member
From: Frankfurt
Registered: 2022-12-21
Posts: 4

[SOLVED] keyboard backlight is not controllable

Hello out there,

as a relatively new Arch Linux user, I need your help.

The situation is that my keyboard backlight is only activated after a fresh boot and only till the first suspend, meaning that after wakeup from suspend there is no keyboard backlight any more.

I searched through a lot of different forums. The best answer I found was here, however somehow all changes of settings in /sys/class/leds didn't affect the keyboard backlight in any way.

All I want for now, is to be able to enable and disable the keyboard backlight.

Thanks in advance


Installing the asusctl AUR repro with yay did it.

Last edited by mgl8072 (2022-12-24 21:49:44)

Offline

#2 2022-12-21 13:30:37

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: [SOLVED] keyboard backlight is not controllable

So did you try xset in X? How about the DBus method?

Does this thread help? You don't mention which brand of laptop you're using but asusctl is in the AUR if you want to try it.

Offline

#3 2022-12-22 11:21:15

mgl8072
Member
From: Frankfurt
Registered: 2022-12-21
Posts: 4

Re: [SOLVED] keyboard backlight is not controllable

Thanks for your fast reply.

I did try xset in X and it didn't changed a thing.
When trying the DBus method, I found out, this error came up but the solution didn't worked.
The output of gdbus is

gdbus introspect --system --dest org.freedesktop.UPower --object-path /org/freedesktop/UPower/KbdBacklight
node /org/freedesktop/UPower/KbdBacklight {
};

Also, I think that I don not have this kbdbacklight file in my /sys/class/leds path:

ll /sys/class/leds/
insgesamt 0
lrwxrwxrwx 1 root root 0 22. Dez 08:20 input0::capslock -> ../../devices/platform/i8042/serio0/input/input0/input0::capslock
lrwxrwxrwx 1 root root 0 22. Dez 08:20 input0::numlock -> ../../devices/platform/i8042/serio0/input/input0/input0::numlock
lrwxrwxrwx 1 root root 0 22. Dez 08:20 input0::scrolllock -> ../../devices/platform/i8042/serio0/input/input0/input0::scrolllock
lrwxrwxrwx 1 root root 0 22. Dez 08:21 mmc0:: -> ../../devices/pci0000:00/0000:00:1d.0/0000:03:00.0/leds/mmc0::
lrwxrwxrwx 1 root root 0 22. Dez 08:21 phy0-led -> ../../devices/pci0000:00/0000:00:1c.0/0000:02:00.0/leds/phy0-led

Asusctl didn't help either.

I use a terra Laptop and I don't know which vendor's keyboard is built in.

Offline

#4 2022-12-22 16:02:30

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: [SOLVED] keyboard backlight is not controllable

Does removing upower help?

Offline

#5 2022-12-22 16:41:49

mgl8072
Member
From: Frankfurt
Registered: 2022-12-21
Posts: 4

Re: [SOLVED] keyboard backlight is not controllable

Not at all.

Offline

#6 2022-12-23 01:11:17

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,132

Re: [SOLVED] keyboard backlight is not controllable

mgl8072 wrote:

I use a terra Laptop and I don't know which vendor's keyboard is built in.

The system journal will show how your keyboard is identified by the system.

journalctl -b

and look for 'keyboard'. That will also tell you which input device is the keyboard. For example, I find

kernel: input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input5

So I can find information about my keyboard in

/sys/devices/platform/i8042/serio0/input/input5/

/sys/devices/platform/i8042/serio0/input/input5/id/ will give you files containing numerical identifiers for the vendor, model etc.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#7 2022-12-24 21:43:55

mgl8072
Member
From: Frankfurt
Registered: 2022-12-21
Posts: 4

Re: [SOLVED] keyboard backlight is not controllable

Head_on_a_Stick wrote:

asusctl is in the AUR if you want to try it.

I tried it again and asusctl worked this time.

Thanks to all of you for your help.

Offline

Board footer

Powered by FluxBB