/intel_backlight/ disappeared 21 January 2023, 04:29:59 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
Re: /intel_backlight/ disappeared Reply #1 – 21 January 2023, 05:14:08 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.QuoteKernel command-line optionsSometimes ACPI does not work well due to different motherboard implementations and ACPI quirks. This results in, for instance, inaccurate brightness notifications. This includes some laptops with dual graphics (e.g., Nvidia/Radeon dedicated GPU with Intel/AMD integrated GPU). Additionally, ACPI sometimes needs to register its own acpi_video0 backlight even if one already exists (such as intel_backlight), which can be done by adding one of the following kernel parameters:Code: [Select]acpi_backlight=videoacpi_backlight=vendoracpi_backlight=nativeIf you find that changing the acpi_video0 backlight does not actually change the brightness, you may need to use acpi_backlight=none.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. 1 Likes
Re: /intel_backlight/ disappeared Reply #2 – 21 January 2023, 11:42:29 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-Morehttps://www.phoronix.com/news/Linux-6.1-Old-Laptop-Backlightshttps://www.phoronix.com/news/2022-Linux-Backlight-Overhaulhttps://hansdegoede.livejournal.com/26427.html 1 Likes
Re: /intel_backlight/ disappeared Reply #3 – 22 January 2023, 06:48:17 Quote from: SGOrava – on 21 January 2023, 11:42:29I 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-Morehttps://www.phoronix.com/news/Linux-6.1-Old-Laptop-Backlightshttps://www.phoronix.com/news/2022-Linux-Backlight-Overhaulhttps://hansdegoede.livejournal.com/26427.htmlThanks 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
Re: /intel_backlight/ disappeared Reply #4 – 22 January 2023, 07:34:40 I have been using acpilight for a few years:Code: [Select]sudo pacman -Sy acpilight