[ltp] Re: [PATCH 2/2] Thinkpad Suspend Powersave: Add D2 power
saving code for Thinkpads with Radeon video chipsets
Dragos Vingarzan
linux-thinkpad@linux-thinkpad.org
Sun, 20 Mar 2005 13:17:18 +0100
same problem here with the sick LCD celluloid like... but only when I
have attached also an external CRT. Fortunately I have a workaround -
radeontool light off and then back on. I have it assigned to Fn-F3 and
fortunately it works.
Jean Jordaan wrote:
> Hi Theodore
>
> Thanks for the advice .. I'll try my best to follow it.
>
> I have some more to report.
>
> First up, I compiled a gentoo-dev-sources without FB, config attached:
> 2611r4-good.config
>
> This boots and suspends fine (with power drain).
>
> Then I switched on Radeon FB. I thought I'd try the old driver first.
> Not a good idea. During boot it switches to console framebuffer fine,
> but when I try to start X I get a sick, sick, sick LCD that looks like
> stuck movie celluloid about to melt (only dimmer). (Martin, I think the
> black screen I got before was due to choosing "Support for frame buffer
> devices", but neglecting to choose "Framebuffer Console support".)
> Here's the diff with the good .config:
> framebuffer-old.diff
>
> Next I tried with the new driver. The diff, again with the good .config:
> framebuffer-new.diff
>
> This switches to framebuffer fine, and suspends with power drain.
>
> Next I patched (see patching.txt). Here's the diff:
> framebuffer-new-pm.diff
>
> It looks fine, but! It doesn't come back from suspend. Black screen, no
> response to lid/button/key events. Hard reset by leaning on the power
> button. Bummer. Nothing in /var/log/everything/current looked relevant.
>
> Another funny thing happened: top mouse buttons between the keyboard and
> the touchpad went flaky. A click would warp the pointer about 5cm in a
> random direction. The pointer also jumped a few times without any click.
> I clicked one of the bottom buttons and it went back to normal. No idea
> if there's a causal relationship.
>
> Here's a bit of my grub.conf:
>
> """
> fallback 1
>
> title=Gentoo Linux 2.6.11-gentoo-r4 framebuffer
> root (hd0,0)
> kernel /kernel-2.6.11-gentoo-r4-fb root=/dev/hda3 gentoo=nodevfs
>
> title=Gentoo Linux 2.6.11-gentoo-r4 framebuffer Radeon PM
> root (hd0,0)
> kernel /kernel-2.6.11-gentoo-r4-fb-pm root=/dev/hda3 gentoo=nodevfs
>
> title=Gentoo Linux 2.6.11-gentoo-r4
> root (hd0,0)
> kernel /kernel-2.6.11-gentoo-r4 root=/dev/hda3 gentoo=nodevfs
> """
>
> Regards,
> Jean
>
--
-----------------------------------------
Dipl. Eng. Dragos Vingarzan
FOKUS/NGNI
Kaiserin-Augusta-Allee 31
10589 Berlin,Germany
Phone +49 (0)30 - 3463 - 7385
Mobile +49 (0)162 - 153 - 0154
eMail vingarzan@fokus.fraunhofer.de
Web www.fokus.fraunhofer.de
We could change the world if God will give us the source code...
-------------------------------------------------------