You are not logged in.

#1 2017-05-29 19:41:47

spira_mirabilis
Member
Registered: 2017-05-29
Posts: 26

Can't set backlight brightness

Hi, I'm new to Arch and I'm stuck with this problem: I can't set the brightness of my laptop display.
I read https://wiki.archlinux.org/index.php/backlight and other troubleshooting pages about this topic, but I didn't find a solution yet.
The directory /sys/class/backlight contains only the acpi_video0 directory. Setting a value to the brightness file doesn't affect the brightness of the display:

echo 50 > /sys/class/backlight/acpi_video0/brightness

Booting my laptop with other distros (Fedora, Debian), the directory /sys/class/backlight contains also the intel_backlight directory. Setting a value to the brightness file, the brightness changes like I was expecting.
I tried setting this argument acpi_backlight=vendor to the kernel. The result was that the directory /sys/class/backlight was empty.

Here some specs:
uname -r: 4.11.2-1-ARCH
lspci -v: https://pastebin.com/RWymtnZ2
lsmod: https://pastebin.com/fQWvrkdB
dmesg: https://pastebin.com/msnaa73a

Specs from a live Fedora 25 (where the brightness works):

uname -r: 4.8.6-300.fc25.x86_64
lspci -v: https://pastebin.com/3DVfZf4e
lsmod: https://pastebin.com/GyQyA4yY
dmesg: https://pastebin.com/AC1ufiDM


Thank you in advance for your help.

Feel free to correct my english!

Last edited by spira_mirabilis (2017-05-30 19:58:06)

Offline

#2 2017-05-30 08:28:09

olegabrielz
Member
From: Norway
Registered: 2015-12-23
Posts: 255

Re: Can't set backlight brightness

Find maximum value with:

cat /sys/class/backlight/acpi_video0/max_brightness

Set set value with:

tee /sys/class/backlight/acpi_video0/brightness <<< 10

https://wiki.archlinux.org/index.php/backlight#ACPI


Be aware of my Newbie Powers

Offline

#3 2017-05-30 08:33:33

spira_mirabilis
Member
Registered: 2017-05-29
Posts: 26

Re: Can't set backlight brightness

The maximum value is 100.
As I wrote in my first post, changing the value of /sys/class/backlight/acpi_video0/brightness doesn't affect the display brightness at all.

Offline

#4 2017-05-30 08:37:19

olegabrielz
Member
From: Norway
Registered: 2015-12-23
Posts: 255

Re: Can't set backlight brightness

You said you did use echo to change it, not the tee command. Echo does not work for me either, but tee does.


Be aware of my Newbie Powers

Offline

#5 2017-05-30 08:43:14

spira_mirabilis
Member
Registered: 2017-05-29
Posts: 26

Re: Can't set backlight brightness

I rephrase: setting the value of /sys/class/backlight/acpi_video0/brightness in any way (echo, tee) the value of the file changes, but that doesn't affect the display brightness.

Offline

#6 2017-05-30 08:53:08

olegabrielz
Member
From: Norway
Registered: 2015-12-23
Posts: 255

Re: Can't set backlight brightness

Sorry for not being helpful. I just noticed that the echo command did not change brightness on my computer, but tee did. Hopefully someone here can help you solve this.


Be aware of my Newbie Powers

Offline

#7 2017-05-30 08:57:08

spira_mirabilis
Member
Registered: 2017-05-29
Posts: 26

Re: Can't set backlight brightness

Thanks for trying to help me anyway!

Offline

#8 2017-05-30 19:58:58

spira_mirabilis
Member
Registered: 2017-05-29
Posts: 26

Re: Can't set backlight brightness

I edited the question with the specs of a live Fedora 25. I couldn't spot any useful differences, can anyone do it?

Offline

#9 2017-05-30 20:47:49

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Can't set backlight brightness

spira_mirabilis wrote:

I tried setting this argument acpi_backlight=vendor to the kernel.

Did you try the other parameters?

https://wiki.archlinux.org/index.php/Ba … ne_options


Jin, Jîyan, Azadî

Offline

#10 2017-05-30 21:12:54

spira_mirabilis
Member
Registered: 2017-05-29
Posts: 26

Re: Can't set backlight brightness

Yes, with no success.

Offline

#11 2017-05-31 19:23:26

spira_mirabilis
Member
Registered: 2017-05-29
Posts: 26

Re: Can't set backlight brightness

I switched to linux-lts kernel and it works like a charm.

Offline

#12 2017-06-01 18:52:39

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Can't set backlight brightness

If you want the next LTS branch to work with your hardware it may be worth bisecting the kernel to track down the regression that has caused the problem.

https://wiki.archlinux.org/index.php/Bisecting_bugs


Jin, Jîyan, Azadî

Offline

Board footer

Powered by FluxBB