I say it also on: https://bugs.launchpad.net/ubuntu/+source/hotkey-
setup/+bug/277589/comments/30


If anyone can say me what files are needed for adjust the brightness with the 
fn-keys, I think that I know how correct it.

I was watching the files and do this:

In 
/usr/share/hal/fdi/information/10freedesktop/10-sony-laptop-panel-mgmt-policy.fdi
    And I add my model

In /usr/lib/hal/scripts/hal-system-lcd-get-brightness-linux
    I change vaio-nvidia for this, smartdimmer don't work with sony-nvidia:
    elif [ "$HAL_PROP_LAPTOP_PANEL_ACCESS_METHOD" = "sony-nvidia" ]; then
            # smartdimmer -g
            # value=$(( `smartdimmer -g | awk '{print $3;}'` -1 ))
            value=$((`sudo nvclock -i | awk '/Backlight/ {print $3;}' | tr -d 
'%'` -10))

/usr/lib/hal/scripts/hal-system-lcd-set-brightness-linux
    I change vaio-nvidia for this, smartdimmer don't work with sony-nvidia:
    elif [ "$HAL_PROP_LAPTOP_PANEL_ACCESS_METHOD" = "sony-nvidia" ]; then
            # smartdimmer -s 21
            # smartdimmer -s "$(( $value + 1 ))"
            # value=$((`sudo nvclock -i | awk '/Backlight/ {print $3;}' | tr -d 
'%'`))
            nvclock -S "$((value + 10))"

What file need to edit also? I don't found the file for increase the
blacklight :S

-- 
No Screen Backlight Control; Sony Vaio with nvidia 8 series graphics
https://bugs.launchpad.net/bugs/95444
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to