Going strong on my laptop runit install for circa 2 years. Lenovo X390 Yoga fwiw.
Using backlight_control with Awesome WM keybindings to control screen brightness.
In the past week however, /sys/class/backlight/intel_backlight/ has disappeared
I now only have an empty directory at /sys/class/backlight/
searched around a bit and see that a disappearing intel_backlight directory has happened to others on Arch and Ubuntu. Have not yet found an explanation for how this can happen, nor how to fix it.
Any ideas? Currently without any ability to control screen brightness. Would like to fix, but almost as much, to know how it happened
Thank you for your time
Apparently the 6.1 kernel needs an addition kernel option to use the back light as per the options shown on Arch wiki backlight entry (https://wiki.archlinux.org/title/Backlight).
One of the kernel line "acpi_backlight" options needs to be added to whatever boot loader you use.
Or one can try the "system/linux-lts 5.15.86-1" which does not require any kernel line options for the back light to function.
I guess this is related to "recent" rewrite of backlight things in 6.1 kernel.
For test I recommend going back to linux-lts (5.15) and contacting the guy who worked on it.
My information comes from:
https://www.phoronix.com/news/Linux-Laptop-Brightness-More
https://www.phoronix.com/news/Linux-6.1-Old-Laptop-Backlights
https://www.phoronix.com/news/2022-Linux-Backlight-Overhaul
https://hansdegoede.livejournal.com/26427.html
Thanks for this, read de Groede's posts on this and think there may not be an easy fix. Weird because my laptop is still quite new and this issue mostly affected old hardware. I will try switching kernels in the next few days and test
I have been using acpilight for a few years:
sudo pacman -Sy acpilight