Re: [linux-pm] Re: [PATCH, RFC] [1/3] Generic in-kernel AC status

From: Gabor Gombas
Date: Thu Feb 09 2006 - 03:51:57 EST


On Wed, Feb 08, 2006 at 05:08:58PM +0000, Matthew Garrett wrote:

> The backlight interface only supports exporting and setting the current
> brightness. For various bits of hardware, the AC and DC brightnesses are
> stored separately. Drivers would need to know which brightness value to
> export to userspace. I have an HP backlight driver here which would
> benefit from this, and I'm looking at the same issue for a Panasonic
> one.

I don't know the backlight interface but extending it to export all
available brightness values would seem more logical to me.

If I'd had a laptop I'd hate if I could only set the DC brightness if I
plug out the AC power.

Gabor

--
---------------------------------------------------------
MTA SZTAKI Computer and Automation Research Institute
Hungarian Academy of Sciences
---------------------------------------------------------
-
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/