sony-vaio-z-series team mailing list archive
-
sony-vaio-z-series team
-
Mailing list archive
-
Message #02572
Re: Insufficient brightness levels with custom sony-laptop module :-(
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
>
>
Follow ups
References