Artix Linux Forum

Artix Linux => Installation / Migration / Configuration => Topic started by: aethelstan on 02 October 2023, 04:34:40

Title: lost backlight control
Post by: aethelstan on 02 October 2023, 04:34:40
In late 2021 or 2022 there was a kernel update that broke my backlight control on my Lenovo X390 laptop w/ Artix.

I had been using the backlight_control package, binding commands from that to my backlight up/down keys. I tried fixing it, gave up and am now again trying to fix it.

I have intel graphics.

When I run:
Quote
ls /sys/class/backlight/
I get nothing, no facilities for interfacing with the backlight

when I try to use my backlight control package directly in console:
 
Quote
backlight_control -20

I get:
Quote
failed to open /sys/class/backlight/intel_backlight/brightness

When I run:
Code: [Select]
xrandr --output 0x41 --brightness 0.5

the screen momentarily darkens considerably, but goes back to full brightness after 1-2 seconds

Need guidance on how to proceed
Title: Re: lost backlight control
Post by: LemonPie on 02 October 2023, 10:42:03
there is a way to fix this to work the way it is intended. (the new way)
but you can just control the light wit old controls. it will work like before.
just installacpilight (https://archlinux.org/packages/extra/any/acpilight/) and it will replace xbacklight.

you can also make "/etc/X11/xorg.conf.d/20-intel.conf" that's the fix, but...
read the wiki (https://wiki.archlinux.org/title/Backlight#xbacklight)
Title: Re: lost backlight control
Post by: tintin on 02 October 2023, 16:42:41
Hello,

On Artix XFCE : I just use acpilight to adjust the brightness.

I created four icons in a panel that automatically retracts:
https://forum.artixlinux.org/index.php/topic,3027.msg19679.html#msg19679