machine shuts down itself after successful resume from suspend
Hello,
My slackware 13.37 xbmc htpc system is working very great. But recently I found a problem: it shuts down itself after successful resme from suspend. I suspend or resume the system by single pressing the physical "Power" button. You know suspend function is very important for HTPC due to the long fresh boot time. What could be wrong? ls /etc/acpi/events/ Code:
sleep-button Code:
event=button/power.* cat /etc/acpi/actions/sleep-button.sh Code:
#!/bin/sh /var/log/message: Code:
Jun 8 20:49:13 xbmc kernel: [28681.254496] ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300) |
update
Well, issuing command pm-suspend from remote ssh login instead prevented the system from shutting down itself after resume. Is it a bios setting problem? But I have disabled power off by single pressing the POWER button within bois.
|
I believe your problem is there is another script in /etc/acpi that performs a shutdown when the power button is pressed. In other words, you have two active scripts: one performs suspend, one performs shutdown. Check /etc/acpi/events/default (I had to remove the default shutdown option in that file after I added my own suspend script).
|
Thanks for your hints. But I think my /etc/acpi/ directory is clean without the original defaults.
Quote:
Quote:
|
Do you have any other power-manager running, like the one from XFCE? I had a similar problem and recognized that the running power-manager interfered with the ACPI scripts.
|
All times are GMT -5. The time now is 04:24 AM. |