You are not logged in.
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
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
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
Does removing upower help?
Offline
Not at all.
Offline
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
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