← Back to team overview

sony-vaio-z-series team mailing list archive

Re: VPC Z13 / Gentoo Linux / 2.6.36 / NVIDIA: Struggling to set backlight, please help...

 

Hi Joel,

while using nvidia official drivers I would change brightness in two ways:

1) execute in shell as root:

nvidia-settings --assign Brightness=X

where X is a value between -1 (lowest brightness) and 1 (very very high brightness, useful if in direct sun, otherwise 0 is quite OK).
2) execute the graphical interface:

nvidia-settings

the nvidia configuration tool opens where, among other things like configuring other displays, twinview, etc., you can manually change a slider that selects a certain screen brightness.
To lower power consumption you may also try the tips here where most 
should apply to Gentoo:
http://docs.fedoraproject.org/en-US/Fedora/14/html/Power_Management_Guide/Example_Laptop.html

Kind regards
David

On 11/18/2010 10:17 AM, Joël Bourquard wrote:
Hi all,

I have a new VPCZ13AFJ and got pretty much everything to work: fakeraid, keyboard, trackpad, graphics and sound. My BIOS is patched, switching is set to static in the advanced menu and the switch is set to Speed.
Now just one thing is killing me: *how to lower the backlight power on 
this machine ?*
I tried the script which created "sony-nvidia-brightness-down" and 
"sony-nvidia-brightness-up" in my /etc/acpi/events/.  Well that's 
good, except that these script call "nvclock -S -5" which does *not* 
work on my system !
When I run "nvclock -S -5" I get:

Unhandled init script entry with id '' at 6fab
(....)
Unhandled init script entry with id '' at 02d4
Error!
Smartdimmer is only supported on certain (HP/Samsung/Sony/Zepto) laptops using a Geforce 6200/7x00Go/8x00Go. If you want support on your laptop contact the author.
My version of nvclock is:   sys-power/nvclock-9999   which is the CVS 
version !
I tried writing to /proc/acpi/video/DGPU/LCD/brightness but I get 
"Invalid argument".
I tried writing to /sys/devices/virtual/backlight/sony/brightness 
which has no visible effect. Brightness is still at maximum.
I tried to compile and "make install" the 
"sony-laptop-zseries-0.9np7.tar.gz", then put "options sony-laptop 
speed_stamina=3" into /etc/modprobe.d/sony-laptop.conf and rebooted.  
No visible improvement either.
Any insight would be *very* welcome !

Thanks,

Joël


_______________________________________________
Mailing list: https://launchpad.net/~sony-vaio-z-series
Post to     : sony-vaio-z-series@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~sony-vaio-z-series
More help   : https://help.launchpad.net/ListHelp

Follow ups

References