-
Execute
acpi_listen
no terminal, para testar se o evento chave recebido pelo sistema. Em seguida, pressione Fn + F2 & amp; Fn + F3 . Abaixo um exemplo de saída:# acpi_listen PNP0C14:00 000000d0 00000000 video/brightnessup BRTUP 00000086 00000000 PNP0C14:00 000000d0 00000000 video/brightnessdown BRTDN 00000087 00000000
-
Veja se você pode controlar a luz de fundo usando
sudo apt-get install xbacklight xbacklight -inc 20 xbacklight -dec 20
Outra tentativa no nível inferior
# ls -l /sys/class/backlight/ lrwxrwxrwx 1 root root 0 Jun 10 13:56 /sys/class/backlight/intel_backlight -> ../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-LVDS-1/intel_backlight # ls -l /sys/class/backlight/intel_backlight/ total 0 -r--r--r-- 1 root root 4096 Jun 10 14:28 actual_brightness -rw-r--r-- 1 root root 4096 Jun 10 14:28 bl_power -rw-r--r-- 1 root root 4096 Jun 10 15:19 brightness lrwxrwxrwx 1 root root 0 Jun 10 14:28 device -> ../../card0-LVDS-1 -r--r--r-- 1 root root 4096 Jun 10 14:28 max_brightness drwxr-xr-x 2 root root 0 Jun 10 14:28 power lrwxrwxrwx 1 root root 0 Jun 10 14:28 subsystem -> ../../../../../../../class/backlight -r--r--r-- 1 root root 4096 Jun 10 14:28 type -rw-r--r-- 1 root root 4096 Jun 10 14:28 uevent # echo 3600 > /sys/class/backlight/intel_backlight/brightness
-
Configure um script ACPI como explicado em Qual código é executado quando fones de ouvido estão desconectados?
/etc/acpi/events/intel-backlight
event=video/brightness* action=/etc/acpi/intel-backlight.sh
/etc/acpi/intel-backlight.sh
#!/bin/bash x=$(cat /sys/class/backlight/intel_backlight/actual_brightness) if [ "$2" == "BRTUP" ] then x=$(echo $x+490 | bc) echo $x > /sys/class/backlight/intel_backlight/brightness fi if [ "$2" == "BRTDN" ] then x=$(echo $x-490 | bc) echo $x > /sys/class/backlight/intel_backlight/brightness fi