Re: [PATCH 2/2] video: mark "actual_brightness" deprecated

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

 



On Wed, 2008-12-24 at 11:07 +0800, Zhang Rui wrote:
> /sys/class/backlight/.../brightness returns a cached value,
> which confuses a lot of users.
> 
> Make the "brightness" reflect the actual backlight levels,
> and mark /sys/class/backlight/.../brightness as depreacated
> in this patch.

This isn't an acceptable approach I'm afraid. We have some hardware
which needs limiting of the backlight brightness in cases of low battery
for example. "brightness" is the user requested value,
"actual_brightness" is the one that is actually active. This also makes
it clear when things like console blanking are active since the actual
value is 0 but brightness preserves the user requested value.

Cheers,

Richard

-- 
Richard Purdie
Intel Open Source Technology Centre

--
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