lkml.org 
[lkml]   [2010]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRE: [PATCH] backlight: provide sysfs percent brightness attribute
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
\
 
 \ /
  Last update: 2010-03-12 18:53    [from the cache]
©2003-2011 Jasper Spaans