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



On Čt 09-02-06 09:53:44, Gabor Gombas wrote:
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.

Still "set current brightness" operation makes a lot of sense.
Pavel
--
Web maintainer for suspend.sf.net (www.sf.net/projects/suspend) wanted...
-
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/



Relevant Pages

  • Re: no backlight on radeon after recent kernel "upgrade"s
    ... set the brightness attribute like some of the other drivers have. ... Which is why I wrote a patch right away. ... They should be presenting and registering *one* backlight class ...
    (Linux-Kernel)
  • Re: no backlight on radeon after recent kernel "upgrade"s
    ... set the brightness attribute like some of the other drivers have. ... You are assuming nothing else is changing the hardware behind the driver's ... single backlight device, where radeon/intelfb takes care of some stuff, ...
    (Linux-Kernel)
  • Re: Display Settings..
    ... If only when you log on because the settings weren't saved, have you considered leaving the PC at the defaults and adjusting the monitor brightness/contrast using the buttons on the front of the monitor, instead of doing it in Display proterties? ... When I look at the video drivers, they're actually supplied by ATI or at least thats what it says. ... I have a VisionTek Xtasy 9200SE video card and on their website the updated driver file is 64 MB and I'm not sure if I want that because it doesn't mention the ATI control panel which is what I use to control the monitor brightness. ...
    (microsoft.public.windowsxp.basics)
  • Re: [linux-pm] Re: [PATCH, RFC] [1/3] Generic in-kernel AC status
    ... Drivers would need to know which brightness value to ... export to userspace. ... I have an HP backlight driver here which would ...
    (Linux-Kernel)
  • Re: [PATCH 2.6.18-mm2] acpi: add backlight support to the sony_acpi driver
    ... umm, OK, but now how do I adjust my screen brightness? ... HAL still supports the old interface in /proc for the different ... ibm_acpi and the toshiba_acpi drivers. ...
    (Linux-Kernel)