Comment 3 for bug 940162

Revision history for this message
DeBø (black-painkiller) wrote :

additional infos:
from terminal:
echo 45 > /sys/class/backlight/nv_backlight/brightness
echo 45 > /sys/devices/virtual/backlight/sony/subsystem/nv_backlight/brightness
both change the brightness!

values range:
/sys/devices/virtual/backlight/sony/subsystem/sony/brightness is [0-7]
/sys/devices/virtual/backlight/sony/subsystem/nv_backlight/brightness is [0-100]

i can do:
echo 65 > /sys/devices/virtual/backlight/sony/subsystem/nv_backlight/brightness (BRIGHTNESS WORKS!!)
echo 7 > /sys/devices/virtual/backlight/sony/subsystem/sony/brightness (OSD MOVES!!, BRIGHTNESS DOESN'T CHANGE!!!)

pkexec /usr/lib/gnome-settings-daemon/gsd-backlight-helper --set-brightness 3
pkexec /usr/lib/gnome-settings-daemon/gsd-backlight-helper --get-brightness
i get: 3 so OSD CHANGES, BRIGHTNESS DOESN'T CHANGE!!!

if I do:
pkexec /usr/lib/gnome-settings-daemon/gsd-backlight-helper --set-brightness 9
Could not set the value of the backlight: writing '9' to /sys/devices/virtual/backlight/sony/brightness failed
 => beause /sony/brightness is [0-7] and 9 is too much (correct)

org.gnome.SettingsDaemon.Power.Screen.SetPercentage 15 (OSD WORKS, BRIGHTNESS DOESN'T CHANGE!!!)

while in a kde session:
org/kde/Solid/PowerManagement.setBrightness 15 (ALL WORK FINE!!!!)

hope this can be usefull!
thanks you