Re: [PATCH 1/3] backlight: Allow drivers to update the core, and generate events on changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2009-07-15 at 21:58 +0800, Matthew Garrett wrote:
> On Wed, Jul 15, 2009 at 10:11:29AM +0100, Richard Purdie wrote:
> 
> > So there are basically two values we're ever interested in at a given
> > point in time. The current ambient light reading and the corresponding
> > display luminance adjustment. Both of those could just be exposed as an
> > input device really?
> 
> The alternative would be hwmon, I guess.

you mean convert an ACPI ALS device to a hwmon device?

> 
> > Agreed, userspace should be where policy is decided. Having a standalone
> > module which connected the two together with a "default" policy might be
> > acceptable too though? If userspace then wants to handle things it just
> > makes sure the module is not loaded.
> 
> You want smoothing even in a default policy, and doing that well might 
> be a bit much for the kernel?
> 
sorry, I don't understand.
do you mean that there should be a default policy in the kernel?

thanks,
rui

--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux