[ltp] apm on an R40 with 2.6.4

Ivarsson, Torbjorn (T) linux-thinkpad@linux-thinkpad.org
Tue, 13 Apr 2004 12:35:19 -0500


> -----Original Message-----
> From: Wolf Wiegand [mailto:wolf.wiegand@web.de]
> Sent: Tuesday, April 13, 2004 11:34 AM
> 
> I just can't get apm working on my R40. After a couple of minutes of 
> idling, the screen blanks and there is no way to get it back to life 
> again. Only a hard reset works. When I close the lid, my 
> computer goes 
> to sleep (the little moon-sign is blinking) as expected. When 
> I open it 
> up again, it tries to wake up again. But all I see is some 
> content of my 
> desktop, in weird colors and 640x480 resolution. Again, everythink is 
> dead, only a hard reset works. To make it even worse, sometimes both 
> problems are gone for no apparent reason, but come back 
> really quickly. :-(

Sounds like the problem I have on my R40... :-/  I will troubleshoot it this weekend. I suspect that XFree86 and/or KDE is causing the problem. What I do for now is to log-out from KDE to get to the Display Manager and then I press Fn+F4 to suspend.

You say that apm doesn't work, but do you get the battery-indicator?

> Could anyone who has apm working all right with 2.6.4 (or 
> higher) mail 
> me their kernel configuration for apm? Or give some hints how 
> to get rid of this problem?

This is the config I use for 2.6.3:

CONFIG_APM=y
# CONFIG_APM_IGNORE_USER_SUSPED is not set
# CONFIG_APM_DO_ENABLE is not set
# CONFIG_APM_CPU_IDLE is not set
# CONFIG_APM_DISPLAY_BLANK is not set
CONFIG_APM_RTC_IS_GMT=y
CONFIG_APM_ALLOW_INTS=y
# CONFIG_APM_REAL_MODE_POWER_OFF is not set

# CONFIG_HOTPLUG_PCI_ACPI is not set
# CONFIG_ACPI is not set
CONFIG_ACPI_INITRD=y


T.