I don't know why, but acpid need restarted every time that I power on
the laptop, if I don't do that, the brightness don't work :S

I'm trying and I see that Ubuntu don't use:
/usr/lib/hal/scripts/linux/hal-system-lcd-set-brightness-linux
and
/usr/lib/hal/scripts/linux/hal-system-lcd-get-brightness-linux
For nothing in sony-nvidia
Only use:
/etc/acpi/events/sony-brightness-down
/etc/acpi/events/sony-brightness-up
That are the only files that apply changes to brightness.

If any one know why, please tell me why ubuntu don't use this
/usr/lib/hal/scripts/linux/hal-system-lcd-*-brightness-linux with vaio-
nvidia config.

And one more thing, in my comment
https://bugs.launchpad.net/ubuntu/+source/hotkey-
setup/+bug/95444/comments/106 I correct one thing:

change:

elif [ "$HAL_PROP_LAPTOP_PANEL_ACCESS_METHOD" = "sony-nvidia" ]; then
        # smartdimmer -g
        # value=$(( `smartdimmer -g | awk '{print $3;}'` -2 ))
        value=$(( `nvclock -S +0 | grep level: | awk '{print $4;}' | sed -e 
's:%::'` / 5 -3 ))

to

elif [ "$HAL_PROP_LAPTOP_PANEL_ACCESS_METHOD" = "sony-nvidia" ]; then
        # smartdimmer -g
        # value=$(( `smartdimmer -g | awk '{print $3;}'` -2 ))
        value=$(( `nvclock -S +0 | grep level: | awk '{print $4;}' | sed -e 
's:%::'` / 5 - 2 ))

Brightness change 2 to 2 from scale max 20 (100/5), and decrease a real 10% to 
this way. With value 3, increase a 15%. I don't know how is the default in it, 
but value 2 .
NVClock accept minimum brightness to 15%, in decreasing 10% you can decrease up 
to 20%, in 15% decreasing you can decrease up to 25%. Anyway for also solve 
this little feature? Or aren't interesting change it?

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to