On /usr/share/hal/fdi/information/10freedesktop/10-sony-laptop-panel-
mgmt-policy.fdi, there are a number, for Vaio is 20, with my conversion
$value/5 value is 100, 100/5=20, also the number for the conversion must
be modified.

        <match 
key="/org/freedesktop/Hal/devices/computer:system.hardware.product" 
string="VGN-FZ38M">
          <merge key="laptop_panel.num_levels" type="int">20</merge>
          <merge key="laptop_panel.access_method" 
type="string">sony-nvidia</merge>
        </match>

If you change:
in set brightness : "$(( $value * 5 + 15 ))"
in get brightness : value=$(( ${value//%/ } /5 -3 ))
to
in set brightness : "$(( $value * 5 + 10 ))"
in get brightness : value=$(( ${value//%/ } / 5 - 2 ))
You also can go over to 20% and, brightness increase/decrease 10%

Value is original brightness, it you /5 you pass 100% to 20, if you do
-2, you are decreasing -10% in real scale. Because the nvclock are
limited to 15%, we only can decrease up to 20% with this.

If you see all my comments, you can read that I change it in my most
newests comments for this reason :P

For the moment, my laptop, renato reves laptop and Kasper Meerts laptop,
are working "correctly". We only need found a better formulation for
change the brightness.

-- 
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