← Back to team overview

sony-vaio-z-series team mailing list archive

Re: Brightness control on nvidia

 

It's a GT330M, the same as in prior models as far as I know...

What I don't understand is how could nvclock even work for Z models before
the Z13 ?  I mean, isn't the physical brightness control physically
connected to the Intel card at all times ?

When booting in NVIDIA mode I tried to write to those ACPI brightness
entries, I can read back the values I write, but they have no effect
whatsoever on the brightness.


On Fri, Dec 10, 2010 at 2:59 AM, Peter Fern <sonylinux@xxxxxxxxxxx> wrote:

>  What GPU is it?
>
>
> On 10/12/10 11:12, Joël Bourquard wrote:
>
> Thanks but I tried nvclock already.  Even the latest CVS version says it
> doesn´t support the hardware, unfortunately...
>
> If someone has a solution for the Z13 I'd love to hear about it...
>
> Thanks
>
>
> On Fri, Dec 10, 2010 at 12:26 AM, Peter Fern <sonylinux@xxxxxxxxxxx>wrote:
>
>>  You should be able to use nvclock to change brightness.  The following is
>> what I use, but I don't ever use the Intel card, so to make it generic,
>> you'd want to do some sort of detection in the shell script, depending on
>> how you're doing your switching.
>>
>>
>> # /etc/acpi/events/sony-z-brightness-down
>> event=sony/hotkey SNC 00000001 00000010
>> action=/etc/acpi/sonyzbrightbtn.sh down
>>
>>
>>
>> # /etc/acpi/events/sony-z-brightness-up
>> event=sony/hotkey SNC 00000001 00000011
>> action=/etc/acpi/sonyzbrightbtn.sh up
>>
>>
>>
>> #/etc/acpi/sonyzbrightbtn.sh
>> #!/bin/sh
>> nvclock=/usr/bin/nvclock
>> #log=/tmp/sony-brightness.log
>> log=/dev/null
>> ret=0
>>
>> echo $0 $@ >> $log
>> case "$1" in
>>     up)
>>         $nvclock -S +12% >> $log 2>&1 ;
>>         ret=$$;
>>     ;;
>>     down)
>>         $nvclock -S -12% >> $log 2>&1 ;
>>         ret=$$;
>>     ;;
>>     *)
>>         $nvclock -i |grep 'Brightness level' >> $log 2>&1 ;
>>         ret=$$;
>> esac
>>
>> exit $ret
>>
>>
>>
>> On 10/12/10 06:10, Joël Bourquard wrote:
>>
>> Hi Jordi,
>>
>> Same here, I would be very happy if we could control brightness while
>> running on the NVIDIA card.  I don't know exactly what it takes, maybe the
>> Intel card needs to be accessible from the PCI bus (since, as I heard, the
>> physical brightless control is connected to the Intel card).  As I see it,
>> initializing the Intel card without allocating any of its buffers (ie:
>> initialize it just enough so we can ask it to set the brightness) might be
>> the way to do it.
>>
>> Maybe we could set up a bounty that would go to the one who publishes a
>> kernel patch and/or generic shell script and instructions to do it ?  That
>> could be nice...
>>
>>
>> On Thu, Dec 9, 2010 at 5:36 PM, Jordi Augé <jordi@xxxxxxxx> wrote:
>>
>>>  Hi,
>>>
>>> I'm a new Vaio Z user, and I've successfully installed Linux as Main OS
>>> on a VPCZ11X9/e, after some struggling I've gotten everything working,
>>> including hsdpa and graphics switching. My only gripe so far is the
>>> inability to control screen brightness when using nvidia graphics.
>>>
>>> Any updates on this issue? what changes will be necessary to implement
>>> it?
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~sony-vaio-z-series<https://launchpad.net/%7Esony-vaio-z-series>
>>> Post to     : sony-vaio-z-series@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~sony-vaio-z-series<https://launchpad.net/%7Esony-vaio-z-series>
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~sony-vaio-z-series <https://launchpad.net/%7Esony-vaio-z-series>
>> Post to     : sony-vaio-z-series@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~sony-vaio-z-series <https://launchpad.net/%7Esony-vaio-z-series>
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~sony-vaio-z-series<https://launchpad.net/%7Esony-vaio-z-series>
>> Post to     : sony-vaio-z-series@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~sony-vaio-z-series<https://launchpad.net/%7Esony-vaio-z-series>
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~sony-vaio-z-series<https://launchpad.net/%7Esony-vaio-z-series>
> Post to     : sony-vaio-z-series@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~sony-vaio-z-series<https://launchpad.net/%7Esony-vaio-z-series>
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References