← Back to team overview

sony-vaio-z-series team mailing list archive

Re: Insufficient brightness levels with custom sony-laptop module :-(

 

Hmm, unless I'm mistaken it looks like such a patch was considered for
inclusion into KDE 4.8.1 or 4.8.2, about two weeks ago:

https://bugs.kde.org/show_bug.cgi?id=288180

At the moment I'm running KDE 4.8.0.

Best regards,

Joël



On Wed, Feb 15, 2012 at 12:12 PM, Joël Bourquard
<joel.bourquard@xxxxxxxxx>wrote:

> Hi Michael,
>
> Thank you!  Indeed, setting CONFIG_BACKLIGHT_CLASS_DEVICE=y  (instead of
> "m") and recompiling my kernel did the trick!
>
> Now I can do:
>
> cat
> /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight/max_brightness
> 4882
>
> Now, if only KDE could use that, instead of the 0-8 levels it offers!  If
> anyone knows how to make KDE aware of intel_backlight, let us know :-)
>
> Best regards,
>
> Joël
>
>
>
> On Wed, Feb 15, 2012 at 12:53 AM, Michael Zugelder <michael@xxxxxxxxxxxx>wrote:
>
>> On Mi, 2012-02-15 at 00:21 +0100, Joël Bourquard wrote:
>> > My kernel is configured as follows:
>> > CONFIG_BACKLIGHT_CLASS_DEVICE=m
>>
>> Hi Joël,
>>
>> my config sets CONFIG_BACKLIGHT_CLASS_DEVICE=y, which probably explains
>> this behaviour. The function setting up the intel_backlight is wrapped
>> in an #ifdef CONFIG_BACKLIGHT_CLASS_DEVICE. If my quick search turns out
>> to be correct, CONFIG_..._MODULE is set when compiling it as a module,
>> not the CONFIG_... that the #ifdef is checking. So it seems you just
>> have to recompile your kernel with this change.
>>
>> The Ubuntu kernel is compiled with CONFIG_BACKLIGHT_CLASS_DEVICE=y, but
>> I never used intel_backlight until it got picked up by KDE.
>>
>>
>> Michael
>>
>>
>

References