From: Ow Mun Heng Subject: Re: klaptop and acpid : hibernating Date: Mon, 19 Sep 2005 18:24:06 +0800 Message-ID: <1127125447.20268.78.camel@neuromancer.home.net> References: <200509180437.52184.wim.delvaux@adaptiveplanet.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200509180437.52184.wim.delvaux-ZIwQ0BidGjIRoeccq4QiytBPR1lH4CV8@public.gmane.org> Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.org On Sun, 2005-09-18 at 04:37 +0200, Wim Delvaux wrote: > Hi, > > When I choose to hibernate from KDE klaptop the suspend to disk process starts > > It claims after some time that mysql does not stop. > > I have added mysql to my acpid config dir as a service to stop but it seems > that the acpid does not receive the hibernate request from klaptop or so. > > If I execute /etc/acpi/hibernate.sh by hand the system suspends and resumes OK > > So I *think* that acpid does not receive a SUSPEND request from the kernel > (because klaptop sends stuff through /proc/acpi/sleep) and hence does not > execute the STOP service request (I added set -x exec 2> ... to the scripts > but could not find any log output). Use Suspend2 instead of swsusp. Read Ed1 of MyOSS magazine - http://mag.my-opensource.org -- Ow Mun Heng Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM 98% Microsoft(tm) Free!! Neuromancer 18:23:33 up 8:41, 7 users, load average: 1.92, 1.35, 1.04 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php