Integrovaná Intel HD graphics - nastavení jasu obrazovky
Otestováno na Packard Bell EasyNote TK s i3 a integrovanou Intel HD Graphics.
nano /bin/br
#!/bin/bash # wrapper script to change brightness values # make script executable # constants - edit as required UPPER=970 LOWER=0 INCREMENT=100 DECREMENT=100 # current value CURRENT=`cat /sys/class/backlight/intel_backlight/brightness` NEW=$CURRENT echo " $CURRENT $NEW " case $1 in up) if [ $(($CURRENT+$INCREMENT)) -le $UPPER ]; then NEW=$(($CURRENT+$INCREMENT)) else NEW=$UPPER fi ;; down) if [ $(($CURRENT-$DECREMENT)) -ge $LOWER ]; then NEW=$(($CURRENT-$DECREMENT)) else NEW=$LOWER fi ;; *) ;; esac # set the new brightness value echo $NEW > /sys/class/backlight/intel_backlight/brightness exit 0
chmod +x /bin/br
nano /etc/rc.local
# Povoleni zmeny jasu vsem uzivatelum chmod 777 /sys/class/backlight/intel_backlight/brightness # Nastaveni vychoziho jasu pri startu echo 500 > /sys/class/backlight/intel_backlight/brightness
Autor: ![]() Vydáno: 23.7.2012 23:44 Přečteno: 2315x Hodnocení: neohodnoceno |
Vaše hodnocení: |
Komentáře
Problém je rozebrán také na Bugzille:
https://bugzilla.redhat.com/show_bug.cgi?id=753012