You are not logged in.
Pages: 1
I'm having trouble changing my backlight. First I got a permission error as root, so I made the file writable, then I got an "input/output error".
% whoami
root
% file /sys/class/backlight/dell_backlight/max_brightness
/sys/class/backlight/dell_backlight/max_brightness: ASCII text
% cat $_
15
% echo 10 > /sys/class/backlight/dell_backlight/max_brightness
zsh: permission denied: /sys/class/backlight/dell_backlight/max_brightness
% ls -l /sys/class/backlight/dell_backlight/max_brightness
-r--r--r-- 1 root root 4096 Apr 7 16:17 /sys/class/backlight/dell_backlight/max_brightness
% chmod ug+w /sys/class/backlight/dell_backlight/max_brightness
% ls -l $_
-rw-rw-r-- 1 root root 4096 Apr 8 15:19 /sys/class/backlight/dell_backlight/max_brightness
% echo 10 > /sys/class/backlight/dell_backlight/max_brightness
echo: write error: Input/output errorOffline
It's not max_brightness that you write to, that is a preset value (representing the maximum brightness value the interface can accept). You need to write to the brightness file:
$ ls -l /sys/class/backlight/intel_backlight/brightness
-rw-r--r-- 1 root root 4096 Apr 8 08:33 /sys/class/backlight/intel_backlight/brightness...the value needs to be between 0 and the contents of max_brightness (in this case 15).
Try:
echo 10 > /sys/class/backlight/dell_backlight/brightnessOnline
It didn't seem to change anything, and I think a -33% change should be rather noticeable. There was also an intel_backlight dir, but changing its brightness file didn't adjust the backlight either.
Offline
Have you used xbacklight?
$ xbacklight =10Edit: that is, making the assumption you're using Xorg. Apologies if you're not.
Last edited by fasolt (2014-04-09 08:01:54)
Offline
It didn't seem to change anything, and I think a -33% change should be rather noticeable. There was also an intel_backlight dir, but changing its brightness file didn't adjust the backlight either.
Maybe tell us a little more about your computer.
1. The make/model (looks like some sort of dell)
2. Your kernel command line:
cat /proc/cmdline3. The video card(s) and drivers:
lspci -k | grep -A2 VGA4. Your backlight interfaces and their values:
for i in /sys/class/backlight/*; do echo $i; cat $i/{brightness,max_brightness,actual_brightness}; doneOnline
Pages: 1