Re: [PATCH] backlight: provide sysfs percent brightness attribute

From: Henrique de Moraes Holschuh
Date: Fri Mar 12 2010 - 12:33:59 EST


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.

--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/