Re: When come back from RAM, lcd brightness is changed

From: Rafael J. Wysocki
Date: Sun Sep 30 2007 - 15:33:58 EST


On Sunday, 30 September 2007 21:25, Renato S. Yamane wrote:
> uname -a
> Linux mandachuva 2.6.22.9-cfs-v22 #2 PREEMPT Sun Sep 30 15:21:17 BRT
> 2007 i686 GNU/Linux
>
> Distro: Debian Etch
>
> When I use KPowersave and click on "Suspend to RAM", my laptop Toshiba
> M45-S355 "sleep" and "wake-up" very well, but LCD Brightness is changed
> to MAX (I hate this "sunshine" on my eyes).
>
> One more detail: Kernel Linux don't have control of lcd brightness, so I
> need use omnibook driver to do this (<http://omnibook.sourceforge.net>).

Well, that probably is the reason why the brightness changes after a resume.

As a workaround you can probably use a wrapper script to set the brightness
to the desired level after a resume from RAM.

Greetings,
Rafael
-
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/