RE: [PATCH] backlight: provide sysfs percent brightness attribute
From: H Hartley Sweeten
Date: Fri Mar 12 2010 - 12:50:34 EST
On Friday, March 12, 2010 10:40 AM, Richard Purdie wrote:
> On Fri, 2010-03-12 at 14:33 -0300, Henrique de Moraes Holschuh wrote:
>> On Fri, 12 Mar 2010, H Hartley Sweeten wrote:
>>> It's usually more convenient to set the backlight brightness
>>> as a 'percent' of total brightness rather than using the raw
>>> 'brightness' value.
>>
>> Well, that scale is often not linear, so you are not dealing with fractions
>> of the effective brightness, just with fractions of an arbritary scale
>> exported by the backend driver. Much of the "usefulness" of a "percent"
>> scale dies right there.
>
> This patch does nothing to address that though.
>
> I agree this is a userland issue and having two interfaces to the kernel
> to do the same thing is not a good idea in general.
>
> So no, I'm not going to take that patch, sorry.
OK. Thank for your input.
Regards,
Hartleyèº{.nÇ+·®+%Ëlzwm
ébëæìr¸zX§»®w¥{ayºÊÚë,j¢f£¢·hàz¹®w¥¢¸¢·¦j:+v¨wèjØm¶ÿ¾«êçzZ+ùÝj"ú!¶iOæ¬z·vØ^¶m§ÿðÃnÆàþY&