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

From: Richard Purdie
Date: Fri Mar 12 2010 - 12:40:13 EST


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.

Cheers,

Richard

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