3

My backlight keyboard was working fine. I used to just use xset led on and the keyboard would just turn on its lights; however, after upgrading to 22.04. xset led on does not work anymore. I would be thankful if anyone could help me.

Owais
  • 31
  • 3
  • 2
    that's because Ubuntu defaults to Wayland since 21.04, and `xset` is, as it sounds, an Xorg program. You can [switch to Xorg](https://askubuntu.com/questions/1406844/ubuntu-22-04-fresh-installation-firefox-will-no-load/1406857#1406857), and then it will work properly. – Esther May 30 '22 at 21:42
  • @Esther Thank you. Switching to Xorg solves the problem. – Owais Jun 01 '22 at 08:57
  • You can stay with Wayland https://askubuntu.com/questions/967373/wayland-equivalent-to-xset-led – rob Sep 06 '22 at 08:22

2 Answers2

0

I had the same problem (after ubuntu update) and eventually reverted to previous ubuntu to fix it.

For future reference, this log may be helpful if anyone runs into the same issue:

From var/log/boot.log:

[FAILED] Failed to start Load/Save Screen Backlight Brightness of backlight:acpi_video0. See 'systemctl status systemd-backlight@backlight:acpi_video0.service' for details.

running systemctl gives:

systemctl status systemd-backlight@backlight:acpi_video0.service ● systemd-backlight@backlight:acpi_video0.service - Load/Save Screen Backlight Brightness of backlight:acpi_video0 Loaded: loaded (/lib/systemd/system/systemd-backlight@.service; static; vendor preset: enabled) Active: failed (Result: exit-code) since Mon 2022-05-30 10:22:21 PDT; 1h 44min ago Docs: man:systemd-backlight@.service(8) Process: 464 ExecStart=/lib/systemd/systemd-backlight load backlight:acpi_video0 (code=exited, status=1/FAILURE) Main PID: 464 (code=exited, status=1/FAILURE)

harry
  • 11
  • 1
0

This Steps works for me

echo 1 | sudo tee /sys/class/leds/input12\:\:scrolllock/
brightnessctl -l
brightnessctl --device='yourdevice::kbd_backlight' info
sudo brightnessctl --device='yourdevice::kbd_backlight' set 2
Tejas Lotlikar
  • 2,875
  • 5
  • 16
  • 26