sony-vaio-z-series team mailing list archive
-
sony-vaio-z-series team
-
Mailing list archive
-
Message #02980
Re: Ambient Light Sensor (ALS) support on kernel 3.8 (Ubuntu 13.04)
Strange. I seem to have lost brightness control. The only thing I can
think of that has changed is that I've allowed the computer to turn off
from low battery. Upon power up the next time my font size in the OS
selection has changed and I no longer have brightness control at all. The
brightness app doesn't work the keyboard shortcuts don't work either.
I am able to run the vaio-control utility and the ALS works, the battery
safety function works, the keyboard backlight control works too... The
only thing that doesn't fly is brightness... Doing an echo into
/sys/class/backlight/acpi_
video0/brightness results in a permission denied failure. Doing so with
vim results in a failure to fsync (even when run as root).
Any thoughts appreciated.
~Brett
On Thu, Apr 25, 2013 at 9:02 PM, Brett Howard <brett@xxxxxxxxxxxxxxxxx>wrote:
> So I'd originally thought that the sony-acpid daemon simply wasn't pointed
> at the right location however I've now updated to ubuntu 13.04 on my Vaio
> VPCZ12CGX. I used the new kernel module that Mario provided the link to
> which compiled fine and after that I loaded up the daemon and all is
> working.
>
> I didn't like the fact that the brightness of the display was picked up by
> the ALS and the color of the window that I had open would then adjust the
> brightness of my display. Anyway I changed the daemon source a bit so that
> the display brightness only does what the user asks of it. I mainly use
> the daemon only to get my keyboard to do what I want. I've included my
> modified version of the daemon as an attachment to this email.
>
> ~Brett
>
>
> On Tue, Apr 23, 2013 at 11:50 AM, Craig Blackie <craig@xxxxxxxxxxxxxxxxx>wrote:
>
>> So I compiled the module and sony-apcid. I can see all the als values and
>> it's working but the daemon doesn't change the screen brightness.
>> Any ideas?
>> On 23 Apr 2013 15:32, "Mario Di Raimondo" <mario.diraimondo@xxxxxxxxx>
>> wrote:
>>
>>> 2013/4/23 Craig Blackie <craig@xxxxxxxxxxxxxxxxx>
>>>
>>>> Why did you remove bumblebee?
>>>>
>>>
>>> As I said I'm actually not interested in using nvidia card: I care only
>>> of battery autonomy. sony-laptop-zseries module can disable nvidia card
>>> using stamina_speed parameter (I should be possible even without using
>>> acpi_osi='' kernel parameter...).
>>>
>>> In the future, I'll test bumblebee but not now. I want to restore the
>>> low-power profile of my laptop.
>>>
>>> I've just discovered that the suggested changes in sony-acpid source
>>> code was necessary because (on my tests) I was using
>>> 'acpi_backlight=vendor' kernel parameter. Removing it the acpi backlight
>>> device appears and sony-acpid works out-of-the-box. I keept the change on
>>> the maxium brightness (static int const ACPI_MAX_BRGT = 8;), indeed the
>>> suggested maximum (15) is an invalid value on my box.
>>>
>>> Mario
>>>
>>
>> _______________________________________________
>> 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