help with backlight control and memory
Adrian Chadd
adrian at freebsd.org
Tue Oct 21 17:37:31 UTC 2014
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 at 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 at 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
>>
>>
>>
>
More information about the freebsd-hackers
mailing list