From: Chmouel Boudjnah <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [Cooker] PCMCIA problem in suspend scripts? Date: Mon, 31 Mar 2003 11:32:55 +0200
"B Lauber" <[EMAIL PROTECTED]> writes:
> If I force a suspend with "echo 4 > /proc/acpi/sleep" , then the > cardmgr comes back just fine (although, other services are out, but > that makes sense). When I shut down the computer, the PCMCIA cards > are shut off (instead of trying to activate my ethernet card) and the > system goes down A-OK.
did you try to tweak options in /etc/sysconfig/suspend ?
RESTART_PCMCIA="no" PCMCIA_BIOS_BUG="yes" PCMCIA_WAIT="yes"
I've looked at the problem again and I've noticed something: If I call the "pmsuspend" script from bash, then everything goes down and comes back cleanly. If I call the same script from acpi (by configuring my power button to call the script), then the script never seems to terminate -- it just hangs indefinitely.
So, now I think it's something quirky with the acpi power button -- it seems to call its action once but never exits the call. I don't know what effects this has yet (aside from hanging shutdowns and being unable to suspend twice on a single boot), but I did notice the following process when I did a "ps -A | less" after resuming from a suspend:
PID TTY TIME CMD 2536 ? 00:00:00 modprobe <defunct>
I'm seeing if I can correct this problem by creating a script that calls pmsuspend into the background and terminates acpid before suspending. Once the system returns, it will create another instance of acpid ((but this seems more like it's avoiding the problem than fixing it)).
_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
