[ltp] 2.6.7 kernel config for suspend/resume that works on a22p.

Harry Mangalam linux-thinkpad@linux-thinkpad.org
Mon, 10 Jan 2005 08:52:38 -0800


I don't hibernate my lappie and haven't tried the recent swsusp, but 
after a disk began grinding and failing the smartctl diags, IBM sent 
me a new (faster, bigger) replacement disk overnight (What SERVICE!!) 
and I reinstalled my stuff.  

I had enough time to back up and restore all my data but I forgot to 
backup my kernel config which I had gotten working smoothly to 
suspend/resume (with a script that shut down my PCMCIA mgr and 
network first).  The new MEPIS PRO b3 distro that I installed (w/ 
kernel 2.6.7 - which got just about everything but the X rez and 
sleep working - v. nice distro) came with ACPI which has always had 
issues with the a22.  In compiling a new 2.6.7 kernel, I eventually 
got it to sleep/resume correctly, even without explicitly stopping 
the pcmcia mgr.

Herewith the relevant APM parts of the .config:

# APM (Advanced Power Management) BIOS Support
CONFIG_APM=y
# CONFIG_APM_IGNORE_USER_SUSPEND is not set
CONFIG_APM_DO_ENABLE=y
CONFIG_APM_CPU_IDLE=y
CONFIG_APM_DISPLAY_BLANK=y
# CONFIG_APM_RTC_IS_GMT is not set
CONFIG_APM_ALLOW_INTS=y
# CONFIG_APM_REAL_MODE_POWER_OFF is not set

email for the entire .config.

I tried the 2.6.10 kernel, but haven't gotten it to sleep/resume 
correctly yet and I've wasted enough time on it for now.  If anyone 
else has managed this with an a22 series, I'd be happy to get 
the .config.

-- 
Cheers, Harry
Harry J Mangalam - 949 856 2847 (vox; email for fax) - hjm@tacgi.com 
            <<plain text preferred>>