2007-09-30 19:25:31

by Renato S. Yamane

[permalink] [raw]
Subject: When come back from RAM, lcd brightness is changed

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>).

Regards,
Renato


2007-09-30 19:33:55

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: When come back from RAM, lcd brightness is changed

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