Re: thinkpad suspend to ram and backlight

From: Timo Hoenig
Date: Tue Oct 04 2005 - 07:15:12 EST


Hi,

On Tue, 2005-10-04 at 14:03 +0200, Pavel Machek wrote:

> > When eying the display precisely it seems to be switched off for a short
> > moment once the system enters S3 but then gets turned on again.
>
> Yes, same with radeonfb here.
>
> I use
>
> #!/bin/bash
> radeontool light off
> echo 3 > /proc/acpi/sleep
> radeontool light on

Well, if we're already discussing workarounds which shouldn't be needed.
With ibm_acpi loaded this should help:

#!/bin/bash
echo lcd_disable > /proc/acpi/ibm/video
echo 3 > /proc/acpi/sleep
echo lcd_enable > /proc/acpi/ibm/video

> ...and it works most of the time. Sometimes screen is corrupted after
> resume, another suspend/resume cycle cures that. (Strange!)

I haven't encountered screen corruption until now.

> Pavel

Timo

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