You are not logged in.
Hi,
For two days, I'm trying to suspend to RAM with pm-suspend but with no success.
All I get is black screen with blinking cursor and it stays like that.
I've tried to add all modules from lsmod like in this topic https://bbs.archlinux.org/viewtopic.php?id=126174 but I got nothing, PC froze before black screen.
This results were with "wake on BIOS" option in BIOS setup. If I change it to "wake on OS" I am able to suspend it (it looks so), but I can't wake it up with keyboard.
If I try to wake it up with power switch, I cant get anything to display and keyboard seems unresponsive.
In /proc/acpi/wakeon every USB in enabled.
here are logs from pm-suspend: http://pastebin.com/cX7xt331
Last edited by 10robinho (2012-03-25 23:49:09)
Offline
do you have file /etc/pm/config.d/modules with USPEND_MODULES="ehci_hcd"
or USPEND_MODULES="xhci_hcd" in it?
Offline
If I put
SUSPEND_MODULES="ehci_hcd"
I stay in terminal but every command is unknown and I have to reboot manually.
If I put
SUSPEND_MODULES="xhci_hcd"
I get to that black screen with blinking corsor and nothing happenes after 10 minutes...
EDIT:
If I set up wake by OS in BIOS, then I can suspend to RAM with
SUSPEND_MODULES="xhci_hcd"
but I can't woke up on keyboard, only when I press power switch.
EDIT 2:
I've managed to woke on keyboard with acpid.
But now, I've noticed some serious instability of pm-suspend. Randomly, sometimes PC suspends right, sometimes doesn't.
I can't find any logical cause why one time suspend is normal and other time i get black screen hanging with cursor.
Is there anyone who has experience with this, I'm willing to pay if you solve my case? Thanks!
Last edited by 10robinho (2012-03-15 15:52:01)
Offline
I've been working on this for a while and noticed that when pm-suspend works, there is message in console (after wakeup) that is same to one when you plug in USB. If there is not any message on wakeup, next time when I try pm-supend PC will go into state where everything is unresponsive and cpu fan is still working.
As my system is installed on USB stick I believe that it has to do something with loading and unloading modules for usb.
I've tried to add SUSPEND_MODULES=" xhci_hd " but nothing gets better.
This looks to me like I need to add AWAKE_MODULES or something similar to be sure that USB is loaded again on awake. Does anyone knows how to do that?
Thanks
EDIT:
Seems that AWAKE MODULES was fiction...
Newest thing that I've discovered is that when pm-suspend fails nothing is logged into kernel.log file. Could that be consequence of failing to call kernel suspend with pm-suspend script?
EDIT again:
After one more day spent on this and trying every possible software, I've found out that even simple
echo mem > /sys/power/state
sometimes fails, just like pm-suspend, or s2ram or hibernate-script.
as seen in https://bbs.archlinux.org/viewtopic.php?id=126174 it may be problem with some module, but I also suspect on motherboard BIOS.
Any suggestions?
Last edited by 10robinho (2012-03-17 02:52:38)
Offline
If anyone is interested, I've posted this as job on elance.com, if you solve it you can earn $250 + fix Arch. I will give this fix (if you make it) to community for free.
You can contact me on private message for more details.
Offline
If you post your hooks array from mkinitcpio.conf as well as the module and daemon arrays from rc.conf that may be helpful also.
Offline
HOOKS="base udev esb autodetect filesystems usbinput fsck"
MODULES=()
DAEMONS=(syslog-ng network @sshd rpcbind nfs-common @netfs crond)
Offline
Thanks. One thing you may want to try is remove the "autodetect" hook and rebuilt the image (see howhere).
Offline
Thanks for the tip, I've tried but with no change.
I will try to make clean installation tomorrow and check that because I have too much garbage on this arch now, I've changed many options in order to make it work so I don't remember how default setup looked like.
UPDATE: I've done clean installation, but with no changes.
Removing autodetect doesn't help
Last edited by 10robinho (2012-03-29 19:32:38)
Offline