Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Oct 2014 10:37:25 -0700
From:      Adrian Chadd <adrian@freebsd.org>
To:        Wojciech Puchar <wojtek@puchar.net>
Cc:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>, Renato Aguiar <renato@aguiar.info>, Lars Engels <lars.engels@0x20.net>
Subject:   Re: help with backlight control and memory
Message-ID:  <CAJ-Vmok8uxwUCEnX7ngZmu3JAqTU2ZTn%2BqENFvdzykwMg7xtUA@mail.gmail.com>
In-Reply-To: <alpine.BSF.2.11.1410211433200.927@laptop>
References:  <alpine.BSF.2.11.1410161415440.39168@laptop> <CAJ-VmokRqoBj_jqcvtJ1WOMYX_Vu3G5Tx6ZGxocY0Xz9xyUYNA@mail.gmail.com> <alpine.BSF.2.11.1410182303050.756@laptop> <20141019102848.GR72082@e-new.0x20.net> <86d29ot9dg.fsf@aguiar.info> <CAJ-VmokW=cJaisC0-7%2Bc0UmdSfVZBxUhHKJ_q%2BrazZUFDE288w@mail.gmail.com> <alpine.BSF.2.11.1410211433200.927@laptop>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

Please file a PR then.

I'm not sure who can help with it at the moment. It's likely going to
require us writing some other modules that control brightness via
other methods (eg directly to the GPU hardware for some chips) and
then expose that via the same sysctl API.

Then it has to be glued up with the button press events..



-a


On 21 October 2014 05:33, Wojciech Puchar <wojtek@puchar.net> wrote:
> OK so for now i will just keep it as is. it's not really a big deal
>
>
> On Sun, 19 Oct 2014, Adrian Chadd wrote:
>
>> Is this running the latest -HEAD?
>>
>> Yes, some extra code was glued into the i915kms / drm2 code from Linux
>> that correctly selected the right video output device for the
>> brightness controls. (the opcontrol patch that I committed a couple
>> months back.)
>>
>> The buttons don't work on my X series laptop, but the sysctl does. the
>> buttons work for others on  other X series laptops. It's likely some
>> more ACPI and i915kms things need porting.
>>
>>
>>
>> -a
>>
>>
>> On 19 October 2014 07:34, Renato Aguiar <renato@aguiar.info> wrote:
>>>
>>> Hi Lars,
>>>
>>> On my X230 I only can change brightness calling acpi directly using
>>> acpi_call. Did you make some additional configuration to be able to use
>>> sysctl to control brightness?
>>>
>>> Thanks,
>>>
>>> Lars Engels writes:
>>>
>>>> On Sat, Oct 18, 2014 at 11:03:38PM +0200, Wojciech Puchar wrote:
>>>>>
>>>>> tried. jsut after kernel is loaded backlight control keys stops
>>>>> working.
>>>>> tried loading every acpi_* kernel module that is available, with no
>>>>> results
>>>>
>>>>
>>>> On my X230 running HEAD brightness keys only work when acpi_video.ko is
>>>> _not_ loaded. When it is loaded, I can control brightness with sysctl,
>>>> though.
>>>
>>>
>>> --
>>> Renato Aguiar
>>
>>
>>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmok8uxwUCEnX7ngZmu3JAqTU2ZTn%2BqENFvdzykwMg7xtUA>