[hal-info] Some thinkpad panels don't use laptop_panel.brightness_in_hardware
Matthew Garrett
mjg59 at srcf.ucam.org
Fri Oct 24 03:26:13 PDT 2008
On Fri, Oct 24, 2008 at 11:17:28AM +0100, Matthew Garrett wrote:
> On Fri, Oct 24, 2008 at 11:16:34AM +0200, Danny Kukawka wrote:
> > But this would mean we need to add laptop_panel.brightness_in_hardware=true
> > again if the kernel handles it (from the userspace view it doesn't matter if
> > the kernel or the hardware do the change, since a reaction from userspace
> > would lead to trouble if the brightness was already changed.).
> >
> > Is there a way to find out (e.g. via sysfs) if the kernel handles the change?
>
> If there's an ACPI backlight and
> /sys/module/video/parameters/brightness_switch_enabled is Y.
Oh, to clarify - this'll be true for basically all hardware that has an
ACPI video backlight control.
--
Matthew Garrett | mjg59 at srcf.ucam.org
More information about the hal
mailing list