Skip to contentSkip to conversation

klaptop and acpid : hibernating

DISCUSSION Wim Delvaux 3 participants 6 messages Sep 18, 2005 – Sep 19, 2005 4 messages not in the archive ACPI

lore
Share & tools
lore
#0 lore raw

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).

Suggestions please.

W

-------------------------------------------------------
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

A message that is not in the archive (sent off-list or not yet received): 200509180437.52184.wim.delvaux-ZIwQ0BidGjIRoeccq4QiytBPR1lH4CV8@public.gmane.org

#2 lore raw
Quoted 9 lines · Wim Delvaux

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.

Quoted 6 lines

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

Signature · 13 lines
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

A message that is not in the archive (sent off-list or not yet received): 1127125447.20268.78.camel-/[email protected]

#4 lore raw
Quoted 15 lines · Ow Mun Heng
Quoted 14 lines · Wim Delvaux

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

Quoted 6 lines
Quoted 4 lines

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.

can you clarify a bit which part uses swsusp and which suspend2 ? does Klaptop use swsusp or linux ?

W

Quoted 2 lines

Read Ed1 of MyOSS magazine - http://mag.my-opensource.org

-------------------------------------------------------
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

A message that is not in the archive (sent off-list or not yet received): 200509191509.24914.wim.delvaux-ZIwQ0BidGjIRoeccq4QiytBPR1lH4CV8@public.gmane.org

#6 lore raw
Quoted 6 lines · Wim Delvaux
Quoted 1 line · Ow Mun Heng

Use Suspend2 instead of swsusp.

can you clarify a bit which part uses swsusp and which suspend2 ? does Klaptop use swsusp or linux ?

Since you use FC's default kernel, I presume it's swsusp.

check the article for more details on suspend2.

Signature · 13 lines
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 21:19:01 up 11:36, 7 users, load average: 3.45, 2.62, 1.90 




-------------------------------------------------------
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

A message that is not in the archive (sent off-list or not yet received): 1127135942.11842.0.camel-/[email protected]

#8 lore raw
Quoted 8 lines · Ow Mun Heng
Quoted 5 lines · Wim Delvaux
Quoted 1 line · Ow Mun Heng

Use Suspend2 instead of swsusp.

can you clarify a bit which part uses swsusp and which suspend2 ? does Klaptop use swsusp or linux ?

Since you use FC's default kernel, I presume it's swsusp.

I use ubuntu

Quoted 2 lines

check the article for more details on suspend2.

-------------------------------------------------------
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

#9 lore raw
In reply to a message not in the archive
Quoted 5 lines · Wim Delvaux

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.

Search archives, known problem, known workaround.

Signature · 8 lines
if you have sharp zaurus hardware you don't need... you know my address


-------------------------------------------------------
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