[SOLVED for now] Suspend-to-RAM broken - immediately turns on again

Hi everyone,
Susped-to-RAM was working flawlessly on my lenovo IdeaPad S12 Netbook until recently:
When I Suspend-to-RAM (via KDE) the system apparently suspends correctly but then it instantly turns back on. So the problem is not that I cannot suspend but rather that the system turns back on immediately after suspending. Usually the system could only be turned back on by pressing a button on the keyboard or the power button (not by moving the mouse or opening the laptop lid).
I unplugged all attached devices, including mouse, keyboard, power supply and network but that doesn't help.
I'm pretty clueless what could cause this and would be happy if someone could point me in some direction. This used to work until recently but I don't know what update broke it.
Last edited by Vortex375 (2012-03-02 16:37:18)

Vortex375 wrote:
Update:
The system stays asleep when I unload the ehci_hcd and ohci_hcd before suspending (unloading just ehci_hcd as suggested on other sites doesn't work).
So some kind of usb device seems to trigger the wakeup. As I said before I don't have any usb devices plugged in, though.
Since unloading the usb drivers is not very convenient I would really like to find out what exactly causes the wakeup. I don't really have a clue where to start, though.
I use a script to unload ehci_hcd automatically when I suspend (my issue is slightly different, it doesn't immediately come back, it just doesn't finish suspending and gets stuck on a black screen)
I'd imagine a script someone similar to this would work:
http://thecodecentral.com/2011/01/18/fi … orking-bug
Last edited by bwat47 (2012-03-02 01:23:23)

Similar Messages

  • [Solved For Now] Wireless Not Working on HP Pavillion 15-n278sa

    EDIT: I seem to have fixed it for now by following this tutorial, I don't know how long it will last though: http://askubuntu.com/questions/337785/w … -c55-a5281
    Hi there guys,
    I have been having some problems with my Wireless under arch on my lapotop, which is a HP Pavillion 15-n278sa. I've had the wireless working twice before, but a reboot broke it both times. The Ethernet works perfectly fine. The first time I have no idea how I got it to work, it was a combination of a bunch of different threads and eventually I modprobed the wireless adapter and it worked (this no longer works).
    This is the output of when I try to connect to the wireless using wifi-menu:
    Job for [email protected] failed. See 'systemctl status [email protected]' and 'journalctl -xn' for details.
    So I run systemctl status [email protected] and journalctl -xn and this is the output of the both respectively:
    Systemctl output:
    Loaded: loaded (/etc/systemd/system/[email protected]; enabled)
    Active: failed (Result: exit-code) since Wed 2014-03-19 11:20:53 GMT; 1min 49s ago
    Docs: man:netctl.profile(5)
    Process: 2154 ExecStart=/usr/lib/network/network start %I (code=exited, status=1/FAILURE)
    Main PID: 2154 (code=exited, status=1/FAILURE)
    Mar 19 11:20:52 carwyn-laptop systemd[1]: Starting Automatically generated profile by wifi-menu...
    Mar 19 11:20:53 carwyn-laptop systemd[1]: [email protected]: main process exited, code=exited, status=1/FAILURE
    Mar 19 11:20:53 carwyn-laptop systemd[1]: Failed to start Automatically generated profile by wifi-menu.
    Mar 19 11:20:53 carwyn-laptop systemd[1]: Unit [email protected] entered failed state.
    Mar 19 11:20:53 carwyn-laptop network[2154]: Starting network profile 'wireless'...
    Mar 19 11:20:53 carwyn-laptop network[2154]: The interface of network profile 'wireless' is already up
    journalctl output:
    -- Logs begin at Sun 2014-03-16 14:34:24 GMT, end at Wed 2014-03-19 11:24:47 GMT. --
    Mar 19 11:24:42 carwyn-laptop sudo[2237]: carwyn : TTY=pts/1 ; PWD=/home/carwyn ; USER=root ; COMMAND=/usr/bin/wifi-menu
    Mar 19 11:24:42 carwyn-laptop sudo[2237]: pam_unix(sudo:session): session opened for user root by carwyn(uid=0)
    Mar 19 11:24:47 carwyn-laptop systemd[1]: Stopped Automatically generated profile by wifi-menu.
    -- Subject: Unit [email protected] has finished shutting down
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    -- Unit [email protected] has finished shutting down.
    Mar 19 11:24:47 carwyn-laptop systemd[1]: Starting Automatically generated profile by wifi-menu...
    -- Subject: Unit [email protected] has begun with start-up
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    -- Unit [email protected] has begun starting up.
    Mar 19 11:24:47 carwyn-laptop network[2301]: Starting network profile 'wireless'...
    Mar 19 11:24:47 carwyn-laptop network[2301]: The interface of network profile 'wireless' is already up
    Mar 19 11:24:47 carwyn-laptop systemd[1]: [email protected]: main process exited, code=exited, status=1/FAILURE
    Mar 19 11:24:47 carwyn-laptop systemd[1]: Failed to start Automatically generated profile by wifi-menu.
    -- Subject: Unit [email protected] has failed
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    -- Unit [email protected] has failed.
    -- The result is failed.
    Mar 19 11:24:47 carwyn-laptop systemd[1]: Unit [email protected] entered failed state.
    Mar 19 11:24:47 carwyn-laptop sudo[2237]: pam_unix(sudo:session): session closed for user root
    The network cards that I am using are the following (output from lspci -nn)
    02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8188EE Wireless Network Adapter [10ec:8179] (rev 01)
    03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller [10ec:8136] (rev 07)
    This one being the wireless controller:
    02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8188EE Wireless Network Adapter [10ec:8179] (rev 01)
    If there is anything more I can provide I would happily do it, I really need the wireless to work under this laptop. I know it works, I have had it working under Arch and it works under Ubuntu no problem. I am not sure if it is a driver problem, or if it's a problem with netctl. It looks more like a problem with netctl as after netctl updated it started working, and after a reboot it broke again.
    Thanks so very much everyone,
    Bacondrinker
    Last edited by bacondrinker (2014-03-19 13:47:15)

    Synaptics Touchpad driver:
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloa​dIndex?softwareitem=ob-124009-1&cc=us&dlc=en&lc=en​...
    ******Clicking the Thumbs-Up button is a way to say -Thanks!.******
    **Click Accept as Solution on a Reply that solves your issue to help others**

  • Time Capsule internet drop-out problem.... Solved (for now....?)

    I am new here, but i would like to share my experiences with a problem a lot of people seem to have here aswell.
    I got home last week after being abroad for work for two days, and noticed i couldn't get on the internet again. My system uses an iMac, TC and an internet modem i got from my ISP, which is a Motorola modem.
    Hooked the TC up to the modem via ethernet and this has been working without a glich for about 2 years now. I first noticed the problem on my iPhone which was unable to get on the internet. Connected to the network just fine, but no internet. Very strange, as i had a solid green light on my TC.
    Checked the internet on my iMac, and i found the same problem. Did a reset on the TC and the modem, and things seemed to be ok again. But.... after about 20mins. internet was not working any more again. By now i was getting rather frustrated, because in the AirPort Utility it said everything was working the way it should, including a solid green light on the TC.
    Been going over everything i could think off. Soft reset, hard reset, going back to factory settings, resetting the modem. Just resetting the modem, just resetting the TC, resetting both at te same time. Nothing seemed to work, the problem kept coming back! Downgraded the software on the TC, upgraded again. Nothing.
    Strange thing was, i hooked up my computer via ethernet directly to the cable-modem and internet was just fine, so no problem there, which was confirmed when i called my ISP (which is great... as long as there is no problem)
    After 3 days i finally called Apple, and they were ok to help me. For free just for once (next time i will have to pay 49euros!!) and told him about my problem. He gave me all suggestions i already tried, except changing channels on the TC.
    After the call i tried doing that, going from channel 1 to 6, but still... after 20 - 30 mins. internet would drop.
    But.... i put it on channel 7 and for now it is working great again. (no loss of internet for about 36hours!!)
    This seems to be THE solution for my problem. Apparently, one of my neighbours put up a device which was interfering with the signal of my TC, which caused all my problems!
    For now i am really happy everything is back, up and running and i thought i just let you all know about my problems, and solution, because this forum has been a great help!
    And... before i forget.... i am running firmware 7.3.2 now... because i read a lot of problems about 7.4.1 and things are running great for me now !!
    Hope this little story can help someone else..... try change the channels TC is working on !!
    Good luck to you all!
    Greetz, Peter
    (the Netherlands)

    I am new here, but i would like to share my experiences with a problem a lot of people seem to have here aswell.
    I got home last week after being abroad for work for two days, and noticed i couldn't get on the internet again. My system uses an iMac, TC and an internet modem i got from my ISP, which is a Motorola modem.
    Hooked the TC up to the modem via ethernet and this has been working without a glich for about 2 years now. I first noticed the problem on my iPhone which was unable to get on the internet. Connected to the network just fine, but no internet. Very strange, as i had a solid green light on my TC.
    Checked the internet on my iMac, and i found the same problem. Did a reset on the TC and the modem, and things seemed to be ok again. But.... after about 20mins. internet was not working any more again. By now i was getting rather frustrated, because in the AirPort Utility it said everything was working the way it should, including a solid green light on the TC.
    Been going over everything i could think off. Soft reset, hard reset, going back to factory settings, resetting the modem. Just resetting the modem, just resetting the TC, resetting both at te same time. Nothing seemed to work, the problem kept coming back! Downgraded the software on the TC, upgraded again. Nothing.
    Strange thing was, i hooked up my computer via ethernet directly to the cable-modem and internet was just fine, so no problem there, which was confirmed when i called my ISP (which is great... as long as there is no problem)
    After 3 days i finally called Apple, and they were ok to help me. For free just for once (next time i will have to pay 49euros!!) and told him about my problem. He gave me all suggestions i already tried, except changing channels on the TC.
    After the call i tried doing that, going from channel 1 to 6, but still... after 20 - 30 mins. internet would drop.
    But.... i put it on channel 7 and for now it is working great again. (no loss of internet for about 36hours!!)
    This seems to be THE solution for my problem. Apparently, one of my neighbours put up a device which was interfering with the signal of my TC, which caused all my problems!
    For now i am really happy everything is back, up and running and i thought i just let you all know about my problems, and solution, because this forum has been a great help!
    And... before i forget.... i am running firmware 7.3.2 now... because i read a lot of problems about 7.4.1 and things are running great for me now !!
    Hope this little story can help someone else..... try change the channels TC is working on !!
    Good luck to you all!
    Greetz, Peter
    (the Netherlands)

  • [SOLVED] xfce+slim, suspend to RAM causes black and white strips

    I recently installed a fresh copy of Arch. When I click the "suspend to RAM" xfce button the screen turns off as it should, but when I try to resume I see 5 columns of black and white stripes (like a flattened checkerboard ). Alternatively when I click the "suspend to disk" (hibernate) button the screen turns black but the backlight is still on, the only way to get out of this state is to do a force shutdown with the button.
    I don't know if this is just an xfce problem, or if slim is also part of the problem, but it doesn't hurt to let you guys know about that as well.
    Reading about this problem somewhere else as a probably graphics driver issue, here's my graphics card:
    NVIDIA Corporation G72M [Quadro NVS 110M/GeForce Go 7300] (rev a1)
    and I installed the Nvidia nouveau driver from here. I didn't see anything on that page about this kind of issue.
    I also tried to add "ck-launch-session dbus-launch" to my .xinitrc file, I knew it probably wasn't the solution but I wanted to try anyways. didn't work.
    I also have 2 gigs of RAM and 3 gigs in swap partition.
    What do you guys think?
    Last edited by Zonqt (2013-01-12 02:37:59)

    I have a slight newbie question that's related to my problem: after installing pm-utils am I supposed to have a file /etc/pm/config.d/modules? I reread the docs on suspend and standby here and the instructions are implying I should already have such a file, (since they say to modify it rather than create it), but I've installed and reinstalled the pm-utils and don't have any file there.
    It's kind of important too, since i'm thinking I should put my graphics driver as one of those suspended modules...
    Edit: one more interesting tid bit, when I use "pm-suspend" in the tty command line (by disabling the slim service and never going to xfce) I suspend fine. I need to have root privileges but I can just use sudo. (this is another reason why it could be a graphics card issue or I guess a privileges issue, hmm)
    Edit2: I just tried to login as root from slim and hitting the suspend button, but got the same issue. So it's likely not a privileges issue. Strange.
    Last edited by Zonqt (2013-01-11 17:10:49)

  • Not able to install BB Link - maybe solved for now

    Hi Guys, 
    first - please excuse my english if there are maybe some mistakes, it´s not my foreign language - i´m from Germany and want to give some response for all of those, who got the problem with the install-problem for this software.
    I also got the problem with different errors while trying to install the actual version of link on my computer (Win 7 64bit).. I´ve got a previous version of linked installed while trying to update - main error during the installation was the missing network source - the installer meant. 
    I´m working in the 2nd-Level IT-Support, so sometimes i know what to do..  
    After many many tries and searching for potential solutions in different forums i got the following solution:
    A clean deinstallation of the previous version is highly recommended. If you are not able to deinstall it through the control panel, try to uninstall it with a different uninstaller - in my case the IObitUninstaller from PortableApps was helpful. http://portableapps.com/apps/utilities/iobit_uninstaller_portable 
    It used to try the normal Deinstallation, when this is not successfull he is looking for another way where you´ll get listed all of the link files on your installation folder and your registry - try to deinstall it that way (be careful, backups are usefull..). If this also doesn´t work - give the microsoft fixit install and install tool one try - http://support.microsoft.com/mats/program_install_and_uninstall - i´ve got this link from another thread here. 
    Somehow this wasn´t the complete solution. After the Deinstallation (i suggest that one of these should be successful) the latest version doesn´t like to install. Different errors on my machine, f.e. network source not available, another try got the respond "there´s already another installation running" .... and many more .. forced me to check the possible reasons. With the process explorer i checked the running tasks - there was the windows installer still running some kind of installation of link.... try to kill these tasks (in my case this wasn´t successful - they are restarting immediately) - maybe you´re luckier then me. If it won´t work - Reinstallation of the installer is a possible solution. The Way you could to that you´ll find here: http://www.optimize-your-pc.org/fix-windows-installer-error-1719 - please be careful if you try to use the reg-tweak as described. It is also possible that you´re not able to find the key described /HKEY_LOCAL_MACHINE\SYSTEM\CURRENT CONTROL SET\SERVICES\MSIserver\WOW64)- don´t worry ´bout that. I also needed to reinstall the installer. 
    at least - the source file i´ve downloaded also does not work. Tried to download it a few times and the installation still didn´t work. After that i tried to use an alternate Source for downloading. 
    After all these steps i was able to install it in the latest version. 
    maybe this helps the people with the same problem out there. 
    Thx for reading, over and out.

    Dankeschon !

  • SOLVED (for now) MacBook Pro (15-inch, Mid 2010): Intermittent black screen or loss of video

    For MAC OS Snow Leopard 10.6.8
    I downloaded the display driver update from apple support and it didn't fix the problem. I had to download gfxcardstatus-1.7.5 and change the driver to Intel Graphics instead nVidia (wich is the one that crashes the screen)
    Hey, guys from apple, please solve the nVidia trouble.

    The black screen issue on mine just started in September 2014.

  • 64bit Adobe Square & Hulu playback issues [SOLVED] for now

    Back in mid September, I installed Adobe's flash player "Square" preview release. All was good including perfect Hulu playback.
    As of this weekend, Hulu wouldn't play, and without a message as to why.
    And yes, I'm aware of, and experienced the Hulu playback issue with the prior test version Adobe had available prior to Square.
    Square fixed Hulu playback for me, but just temporairly.
    Anyone else having this issues or is it just my system?
    Version: Shockwave Flash 10.2 d161
    Last edited by jeff story (2010-10-31 00:14:35)

    Found this:   http://forums.adobe.com/thread/738761?tstart=0
    Apparently, RTMPE isn't functional yet, which Hulu now requires.
    Hulu and Amazon which depends on RTMPE aren't currently functioning because there are some 64-bit libs that need to be integrated into the branch.  That particular bug is set ToFix, but i can't speak to the timing.
    Encrypted Real Time Messaging Protocol (RTMPE or RTMPTE) is a proprietary protocol created by Macromedia used for streaming video and DRM. It reportedly allows secure transfer of data without SSL. It is implemented in flash player 9.0.115 and some versions of Flash Media Server 3.
    And this:   http://forums.fedoraforum.org/showthread.php?p=1403271
    Re: flash-plugin-10.2.161.23-1.x86_64.rpm
    As of yesterday, Hulu is blocking the 64-bit plugin again.
    This time it doesn't even give an error message, the video window just doesn't display.
    I've gone back to the 32-bit plugin, which still works there.
    Interesting, Hulu is blocking both 32- and 64-bit Linux versions of Square,
    even though the release notes say that only 64-bit versions fail to support content protection.
    Last edited by jeff story (2010-10-19 09:27:28)

  • [Solved for now] Sound pops on playback

    I did what the wiki said to stop the sound from popping when playback starts, but it continues to pop.  Anyone having similar problems--any advice would be helpful too.
    Last edited by lspci (2012-09-09 18:06:26)

    lspci wrote:I did what the wiki said to stop the sound from popping when playback starts, but it continues to pop.  Anyone having similar problems--any advice would be helpful too.
    It would be nice if you told us what you did and where you got the instructions from .  But from what I'm presuming it's an alsa problem so did you follow the instructions from here ?

  • [SOLVED]Uefi + kms = garbled display, X broken.

    I've been trying to get my new system up and running, it being new, I opted for an 'uefi-mode'-install.
    My system is now configured, that rEFInd is run on startup, and from there I can select my kernel and boot it up (via efistub).
    This works just fine, except that I have to disable KMS, or else I will get a blank screen(some flashing text is faintly visible on the top line of the display during boot).
    If I configure X to automatically start, I get a totally garbled display(very pink). Depending on the combination of kernel options(passed via efistub) the screen also flashes.
    Providing nomodeset solves the problem to a somewhat dis-satisfactory degree, as then the video driver refuses to work for X. I must force the use of the vesa driver, which sucks.
    So,
    freshly installed system(09.08.12), kernel 3.4, the radeon driver(xf86-video-ati). my card is a radeon 6850hd (northen island,barts I think).
    Options and effects:
    I always pass add_efi_memmap
    video=efifb:off          -> no flicker/flashing, display still unusable.
    video=radeondrmfb  -> flickering/flashing, kernel log reports "fb: conflicting fb hw usage radeondrmfb vs EFI VGA - removing generic driver"
    nomodeset             -> display works fine, display mode is that of uefi(my case 1024x768), native mode would be 1280x1024. X fails, force vesa as a workaround.
    radeon.modeset=0  -> same as above.
    I think this may be a big fat bug
    Any Ideas?
    EDIT:
    I've upgraded to 3.5.1-1-ARCH from testing, and the problem still persists. I'm now trying 3.6-rc1 but thats just freezing at boot atm.
    UPDATE:
    I found this pull request and today tried 3.6.0-rc3 straight form kernel.org
    I can now startx with the radeon driver, and have full direct rendering and no distortions. I sadly get no output to the console during boot, the screen just turns off.
    I'm marking this as solved, because I think this could just be down do misconfiguration in the kernel.
    Last edited by hungerfish (2012-08-23 10:13:55)

    lagagnon wrote:
    I had a similar sort of problem and used the following:
    sleep 1 && xset dpms force off
    That may or may not work for you...
    It doesn't work for me - it immediately turns on again.
    But the problem is not that I can't force the display to turn off, but that it will *never* turn off automatically to save power when not used.

  • Installation problems solved for XP SP2 systems.

    I've been pulling my hair for days trying to install SC2, but had no luck.
    The installation process DOES have a bug. Use the following tactic in addition to disabling any firewalls and virus programs:
    Right-click on the installer file and select 'Compatibility' . Click 'Run this program in compatibility mode:'. Finally, simply select Windows NT 4.0 (Service Pack 5) mode.
    Problem solved for now. Hope this helps.

    This is very interesting akian ty - I will definitely try this at the weekend. I can install and run on a laptop with XP SP2 - and it had previous versions installed on it. However on the desktop PC I have not been able to install.
    My problems have been with opening ports and appserver not starting. I will post back here how I get on with your tip. Thanks and also for the other suggestions that people have tried to help me with.
    les

  • Suspend to RAM works but awakes immediately (pm-suspend)

    Hello,
    After after years of being unable to make suspend to RAM works on my lenovo Y530, I have finally found people who can do it. The trick is simply to add a new rule in /etc/pm/sleep.d/. I will edit the arch wiki page concerning the Y530 if I get it to work, but right now my problem is that the laptop immediately awakes after what seems to be a fully working suspend to RAM. Here is the log of pm-suspend :
    Initial commandline parameters:
    Wed Dec 29 19:24:32 CET 2010: Running hooks for suspend.
    Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:
    Linux inflames 2.6.36-ARCH #1 SMP PREEMPT Fri Dec 10 20:32:37 CET 2010 x86_64 Intel(R) Core(TM)2 Duo CPU P7350 @ 2.00GHz GenuineIntel GNU/Linux
    Module                  Size  Used by
    iwlagn                304281  0
    cryptd                  6262  0
    aes_x86_64              7412  2
    aes_generic            26170  1 aes_x86_64
    loop                   15194  2
    ipv6                  281833  12
    usbhid                 36325  0
    hid                    76168  1 usbhid
    uvcvideo               61404  0
    videodev               64318  1 uvcvideo
    v4l1_compat            15578  2 uvcvideo,videodev
    v4l2_compat_ioctl32    10212  1 videodev
    arc4                    1378  2
    ecb                     2041  2
    snd_hda_codec_nvhdmi    14827  1
    snd_hda_codec_si3054     3822  1
    snd_hda_codec_realtek   275887  1
    joydev                 10055  0
    iwlcore               110506  1 iwlagn
    mac80211              196159  2 iwlagn,iwlcore
    snd_hda_intel          22285  2
    snd_hda_codec          79384  4 snd_hda_codec_nvhdmi,snd_hda_codec_si3054,snd_hda_codec_realtek,snd_hda_intel
    snd_hwdep               6110  1 snd_hda_codec
    snd_pcm                71921  3 snd_hda_codec_si3054,snd_hda_intel,snd_hda_codec
    snd_timer              19265  1 snd_pcm
    snd                    57562  11 snd_hda_codec_si3054,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
    soundcore               5969  1 snd
    snd_page_alloc          7249  2 snd_hda_intel,snd_pcm
    cfg80211              143110  3 iwlagn,iwlcore,mac80211
    asus_laptop            14243  0
    sparse_keymap           2563  1 asus_laptop
    ideapad_acpi            3504  0
    rfkill                 15882  3 cfg80211,asus_laptop,ideapad_acpi
    uhci_hcd               21926  0
    sdhci_pci               6664  0
    sdhci                  16638  1 sdhci_pci
    ehci_hcd               36988  0
    psmouse                52592  0
    mmc_core               59333  1 sdhci
    led_class               2331  2 asus_laptop,sdhci
    tg3                   121889  0
    video                  19305  0
    libphy                 17083  1 tg3
    output                  1940  1 video
    usbcore               137570  5 usbhid,uvcvideo,uhci_hcd,ehci_hcd
    iTCO_wdt               10669  0
    iTCO_vendor_support     1801  1 iTCO_wdt
    firewire_ohci          26841  0
    firewire_core          49430  1 firewire_ohci
    crc_itu_t               1297  1 firewire_core
    sg                     25652  0
    serio_raw               4486  0
    pcspkr                  1819  0
    evdev                   8519  14
    ext2                   63599  2
    thermal                12242  0
    fan                     3274  0
    button                  4834  0
    battery                10231  0
    ac                      3105  0
    cpufreq_conservative     8676  0
    cpufreq_userspace       2112  0
    cpufreq_powersave        958  0
    cpufreq_ondemand        8215  0
    acpi_cpufreq            5865  1
    freq_table              2323  2 cpufreq_ondemand,acpi_cpufreq
    processor              25936  3 acpi_cpufreq
    mperf                   1243  1 acpi_cpufreq
    vboxnetadp              4889  0
    vboxnetflt             18948  0
    vboxdrv              1760035  2 vboxnetadp,vboxnetflt
    fuse                   64259  3
    nvidia              10081406  41
    i2c_core               18726  2 videodev,nvidia
    sr_mod                 14954  0
    cdrom                  35851  1 sr_mod
    ext4                  313574  1
    mbcache                 5722  2 ext2,ext4
    jbd2                   69002  1 ext4
    crc16                   1297  1 ext4
    sd_mod                 25856  4
    ahci                   20353  3
    libahci                17982  1 ahci
    libata                156316  2 ahci,libahci
    scsi_mod              124891  4 sg,sr_mod,sd_mod,libata
                 total       used       free     shared    buffers     cached
    Mem:       2986404    1515468    1470936          0     179156     646152
    -/+ buffers/cache:     690160    2296244
    Swap:      8755388          0    8755388
    /usr/lib/pm-utils/sleep.d/00logging suspend suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/00powersave suspend suspend:
    /usr/lib/pm-utils/sleep.d/00powersave suspend suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/01grub suspend suspend:
    /usr/lib/pm-utils/sleep.d/01grub suspend suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/11netcfg suspend suspend:
    /usr/lib/pm-utils/sleep.d/11netcfg suspend suspend: success.
    Running hook /etc/pm/sleep.d/20_custom-ehci_hcd suspend suspend:
    0000:00:1a.70000:00:1d.7
    /etc/pm/sleep.d/20_custom-ehci_hcd suspend suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend:
    /usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/75modules suspend suspend:
    /usr/lib/pm-utils/sleep.d/75modules suspend suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/90clock suspend suspend:
    /usr/lib/pm-utils/sleep.d/90clock suspend suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend:
    /usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/95led suspend suspend:
    /usr/lib/pm-utils/sleep.d/95led suspend suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:
    nVidia binary video drive detected, not using quirks.
    /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/99video suspend suspend:
    /usr/lib/pm-utils/sleep.d/99video suspend suspend: success.
    Wed Dec 29 19:24:33 CET 2010: performing suspend
    Switching from vt7 to vt1
    switching back to vt7
    Wed Dec 29 19:24:40 CET 2010: Awake.
    Wed Dec 29 19:24:40 CET 2010: Running hooks for resume
    Running hook /usr/lib/pm-utils/sleep.d/99video resume suspend:
    /usr/lib/pm-utils/sleep.d/99video resume suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler resume suspend:
    /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler resume suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/95led resume suspend:
    /usr/lib/pm-utils/sleep.d/95led resume suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/94cpufreq resume suspend:
    /usr/lib/pm-utils/sleep.d/94cpufreq resume suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/90clock resume suspend:
    /usr/lib/pm-utils/sleep.d/90clock resume suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/75modules resume suspend:
    Reloaded unloaded modules.
    /usr/lib/pm-utils/sleep.d/75modules resume suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/49bluetooth resume suspend:
    /usr/lib/pm-utils/sleep.d/49bluetooth resume suspend: success.
    Running hook /etc/pm/sleep.d/20_custom-ehci_hcd resume suspend:
    0000:00:1a.70000:00:1d.7
    /etc/pm/sleep.d/20_custom-ehci_hcd resume suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/11netcfg resume suspend:
    /usr/lib/pm-utils/sleep.d/11netcfg resume suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/01grub resume suspend:
    /usr/lib/pm-utils/sleep.d/01grub resume suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/00powersave resume suspend:
    /usr/lib/pm-utils/sleep.d/00powersave resume suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/00logging resume suspend:
    /usr/lib/pm-utils/sleep.d/00logging resume suspend: success.
    Wed Dec 29 19:24:40 CET 2010: Finished.
    As you can see, everything works fine, except the fact that the computer awakes 7 seconds after going to sleep... Of course I'm not touching it when it goes to sleep. I've also tried to disconnect everything I could (USB device and wifi).
    Is there anyone who have already seen this kind of thing?

    Just out of curiosity, are you wired in to a network? I've heard that data transfer over ethernet will trigger the wake-on-lan settings in the BIOS, which would wake it from sleep.

  • [SOLVED} Suspend to ram does not work (with sleep, s2ram, pm-utils)

    Hi.
    I would like to ask for one thing: i can't suspend to ram or resume from suspend to ram.
    I treid to check over www in order to find some help, some solutions, and how to fix that. Unfortunately, i found these:
    https://forums.opensuse.org/showthread. … 13-2/page2
    https://bugzilla.opensuse.org/show_bug.cgi?id=913105
    https://forums.opensuse.org/showthread. … S-13-1-x64
    Bug 91921 - WD 2TB Caviar black causes hard lock on resume S2RAM
    https://bugzilla.kernel.org/show_bug.cgi?id=91921
    In fact, when i was researching of this problem i wanted to check if my graphic card and memory are failing so a did few changes (removed memory stick and so one) but in doing this i removed almost all of my hard disk drives because i didn't want to hurt them with many reboots or resets.
    What did i find? It is strange, kernel version is not important because i checked most of them.
    I removed 2x2TB Seagate F14 series along with 4x3TB WD Green. Then i checked s2ram, it went to suspend, and resumes correctly. Everything works. I put it to sleep with s2ram -f -a 1. Works
    I attached my 4x3TB WD Green drives. I put computer to sleep with s2ram...it causes hard lock, black screen, i could do only poweroff by powerbutton. s2ram -f -a 1 causes freez. Sometimes, but not constantly, s2ram -f -a 3 -p is being able to suspend...(mostly it does a freez, hard lock computer) but sometimes it is able to put it to a sleep, but resume just freezes everyting - no blinking cursor, no blinking num lock led and so on.
    I know that you would suggest me to check logs - this is the main problem. Logs for pm-suspend works when i suspend or resume without WD drives attached. When i have them connected, i'm not able to check pm-logs because computer hangs, freezes and logs are not being stored/writed to pm-suspend.log and pm-powersave.log.
    Could somebody help? Point me to a solution? I can't check logs because there are not any when freezing occurs. I checked openSuse thread and many others and for other systems there were some kernel fixex, patches.
    They wrote that WD blacks are at fault because they don't have APM. Well, in fact my WD Green have APM with very aggresive factory settings: they park heads over 8 seconds not being used. I disabled it in firmware but disabling it is not the point and not the problem. People have the same problem even with APM and parking heads on other WD drives, i found it that some have it with WD Red's drives and even with very old 320GB WD Blue series - what is more funny, i have 640GB AAKS blue from WD and with this drive i can suspend or resume - APM on this drive is also unavilable, like in Green series because i changed it with wdidle with prebootable cd. I can't  supend or resume with 3TB WD Greens.
    BTW - suspend to disk, with pm-utils and uswsusp works ok, in 100% every time. (i had to add "shutdown method = shutdown" to /etc/suspend.conf from uswsusp package).
    On Windows machine it works. Can suspend, can resume, can hibernate.
    Last edited by firekage (2015-03-07 03:27:28)

    Hm, sometimes i found myself astonished because some things just does not work at all on one machine, while the other one has no problem at all. I was trying to find why suspend to ram won't work at all...and while i was searching i found one topic that was leading to upower dbus. Similar problem with upower i found, by coincidence, on Manjaro forum.
    dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower org.freedesktop.UPower.Suspend
    this command above returns all the time:
    Error org.freedesktop.DBus.Error.UnknownMethod: Method "Suspend" with signature "" on interface "org.freedesktop.UPower" doesn't exist
    I tried this:
    sudo systemctl enable acpid.service
    sudo systemctl --system daemon-reload
    sudo systemctl restart systemd-logind
    As soon as i enabled and started acpid.service...my supend to ram, from kde, works like a charm, without graphic problem, or freezing.
    There is few question: why on my desktop suspend doesen't work out of the box, when even archwiki says it should? Why on my netbook machine (Acer AOD270) that has the same package installed it works out of the box? Why on my desktop machine acpid.service was not enabled, was not started and was not running while on the notebook it does?
    Anyway...i fixed it by a big coincidence because on Fedora forum somebody has problem with suspend to ram with nvidia GTX750 and this card was new like my card (GTX660). He posted the same problem with upower that i posted in quotes and because of this i found another thing on Manjaro forum and that was it!
    BTW - this problem, i now think, is not related to my WD drives because it works with them. I think that there was another one ugly thing that broke my suspend to ram ability - bios of my motherboard (so called uefi bios with support for old one) has no option for S1-S5 stated (like the previous motherboards had) and only have ASPM...and ASPM is in my opinion broken but i will try to veryfi it one again later.
    Last edited by firekage (2015-03-07 03:29:20)

  • [SOLVED] Something automatically wakes PC from suspend to RAM

    Hello,
    for the last two days my desktop PC automatically and instantaneously wakes from suspend-to-RAM when I try to put it to sleep. I found https://bbs.archlinux.org/viewtopic.php?id=135543 and tried the script that solved the problem for the OP with no success.
    Some info that might be relevant:
    I have not made any hardware changes to my computer lately;
    The only devices connected to my computer are the display (DVI) my TV (HDMI) and a mouse and keyboard and a router.
    I use the stock Arch kernel and update regularly from a synced mirror in Norway;
    I suspend my computer with
    dbus-send --system --print-reply --dest="org.freedesktop.UPower" \
    /org/freedesktop/UPower org.freedesktop.UPower.Suspend
    All wake-up events like PCIe, mouse and keyboard are disabled in BIOS.
    Does anybody experience these problems lately, or know if this is a known issue//bug?
    Here is an exerpt from dmesg:
    [ 507.682162] ehci_hcd 0000:00:12.2: remove, state 4
    [ 507.682177] usb usb1: USB disconnect, device number 1
    [ 507.682600] ehci_hcd 0000:00:12.2: USB bus 1 deregistered
    [ 507.682668] ehci_hcd 0000:00:12.2: PCI INT B disabled
    [ 507.682847] ehci_hcd 0000:00:13.2: remove, state 4
    [ 507.682858] usb usb2: USB disconnect, device number 1
    [ 507.683206] ehci_hcd 0000:00:13.2: USB bus 2 deregistered
    [ 507.683260] ehci_hcd 0000:00:13.2: PCI INT B disabled
    [ 507.687630] ohci_hcd 0000:00:12.0: remove, state 4
    [ 507.687644] usb usb3: USB disconnect, device number 1
    [ 507.688134] ohci_hcd 0000:00:12.0: USB bus 3 deregistered
    [ 507.688170] ohci_hcd 0000:00:12.0: PCI INT A disabled
    [ 507.688392] ohci_hcd 0000:00:12.1: remove, state 4
    [ 507.688405] usb usb4: USB disconnect, device number 1
    [ 507.688909] ohci_hcd 0000:00:12.1: USB bus 4 deregistered
    [ 507.688936] ohci_hcd 0000:00:12.1: PCI INT A disabled
    [ 507.689078] ohci_hcd 0000:00:13.0: remove, state 4
    [ 507.689087] usb usb5: USB disconnect, device number 1
    [ 507.689524] ohci_hcd 0000:00:13.0: USB bus 5 deregistered
    [ 507.689549] ohci_hcd 0000:00:13.0: PCI INT A disabled
    [ 507.689680] ohci_hcd 0000:00:13.1: remove, state 1
    [ 507.689690] usb usb6: USB disconnect, device number 1
    [ 507.689697] usb 6-2: USB disconnect, device number 2
    [ 507.740528] ohci_hcd 0000:00:13.1: USB bus 6 deregistered
    [ 507.740563] ohci_hcd 0000:00:13.1: PCI INT A disabled
    [ 507.740762] ohci_hcd 0000:00:14.5: remove, state 4
    [ 507.740772] usb usb7: USB disconnect, device number 1
    [ 507.741335] ohci_hcd 0000:00:14.5: USB bus 7 deregistered
    [ 507.776761] ohci_hcd 0000:00:14.5: PCI INT C disabled
    [ 508.174446] PM: Syncing filesystems ... done.
    [ 508.423666] PM: Preparing system for mem sleep
    [ 508.766827] Freezing user space processes ... (elapsed 0.01 seconds) done.
    [ 508.780005] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
    [ 508.793339] PM: Entering mem sleep
    [ 508.793357] Suspending console(s) (use no_console_suspend to debug)
    [ 508.793635] sd 2:0:0:0: [sdb] Synchronizing SCSI cache
    [ 508.793679] sd 0:0:0:0: [sda] Synchronizing SCSI cache
    [ 508.793696] sd 2:0:0:0: [sdb] Stopping disk
    [ 508.793776] sd 0:0:0:0: [sda] Stopping disk
    [ 508.801620] i8042 aux 00:09: wake-up capability disabled by ACPI
    [ 508.801788] serial 00:08: disabled
    [ 508.801791] serial 00:08: wake-up capability disabled by ACPI
    [ 508.801821] [drm] nouveau 0000:03:00.0: Disabling fbcon acceleration...
    [ 508.801824] [drm] nouveau 0000:03:00.0: Unpinning framebuffer(s)...
    [ 508.801851] [drm] nouveau 0000:03:00.0: Evicting buffers...
    [ 508.801971] pata_atiixp 0000:00:14.1: PCI INT A disabled
    [ 508.802040] r8169 0000:02:00.0: eth0: link down
    [ 508.804819] r8169 0000:02:00.0: eth0: link up
    [ 508.856993] [drm] nouveau 0000:03:00.0: Idling channels...
    [ 508.857226] [drm] nouveau 0000:03:00.0: Suspending GPU objects...
    [ 508.903407] snd_hda_intel 0000:00:14.2: PCI INT A disabled
    [ 509.653173] r8169 0000:02:00.0: eth0: link down
    [ 509.991371] [drm] nouveau 0000:03:00.0: And we're gone!
    [ 509.991397] nouveau 0000:03:00.0: PCI INT A disabled
    [ 510.003349] PM: suspend of devices complete after 1209.834 msecs
    [ 510.003501] r8169 0000:02:00.0: PME# enabled
    [ 510.003509] pcieport 0000:00:06.0: wake-up capability enabled by ACPI
    [ 510.016920] PM: late suspend of devices complete after 13.567 msecs
    [ 510.017438] ACPI: Preparing to enter system sleep state S3
    [ 510.046822] PM: Saving platform NVS memory
    [ 510.046980] Disabling non-boot CPUs ...
    [ 510.149983] CPU 1 is now offline
    [ 510.253310] CPU 2 is now offline
    [ 510.258098] CPU 3 is now offline
    [ 510.258336] Extended CMOS year: 2000
    [ 510.258336] ACPI: Low-level resume complete
    [ 510.258336] PM: Restoring platform NVS memory
    [ 510.258336] PCI-DMA: Resuming GART IOMMU
    [ 510.258336] PCI-DMA: Restoring GART aperture settings
    [ 510.258336] Extended CMOS year: 2000
    [ 510.258336] Enabling non-boot CPUs ...
    [ 510.293928] Booting Node 0 Processor 1 APIC 0x1
    [ 510.293929] smpboot cpu 1: start_ip = 9a000
    [ 510.048288] Calibrating delay loop (skipped) already calibrated this CPU
    [ 510.048288] [Firmware Bug]: cpu 1, try to use APIC500 (LVT offset 0) for vector 0x400, but the register is already in use for vector 0xf9 on another cpu
    [ 510.048288] perf: IBS APIC setup failed on cpu #1
    [ 510.048288] Switch to broadcast mode on CPU1
    [ 510.430265] NMI watchdog enabled, takes one hw-pmu counter.
    [ 510.433741] CPU1 is up
    [ 510.440522] Booting Node 0 Processor 2 APIC 0x2
    [ 510.440524] smpboot cpu 2: start_ip = 9a000
    [ 510.151487] Calibrating delay loop (skipped) already calibrated this CPU
    [ 510.151487] [Firmware Bug]: cpu 2, try to use APIC500 (LVT offset 0) for vector 0x400, but the register is already in use for vector 0xf9 on another cpu
    [ 510.151487] perf: IBS APIC setup failed on cpu #2
    [ 510.151487] Switch to broadcast mode on CPU2
    [ 510.471839] NMI watchdog enabled, takes one hw-pmu counter.
    [ 510.471978] CPU2 is up
    [ 510.472048] Booting Node 0 Processor 3 APIC 0x3
    [ 510.472049] smpboot cpu 3: start_ip = 9a000
    [ 510.258093] Calibrating delay loop (skipped) already calibrated this CPU
    [ 510.258093] [Firmware Bug]: cpu 3, try to use APIC500 (LVT offset 0) for vector 0x400, but the register is already in use for vector 0xf9 on another cpu
    [ 510.258093] perf: IBS APIC setup failed on cpu #3
    [ 510.258093] Switch to broadcast mode on CPU3
    [ 510.503352] NMI watchdog enabled, takes one hw-pmu counter.
    [ 510.503508] CPU3 is up
    [ 510.507795] ACPI: Waking up from system sleep state S3
    [ 510.596799] pcieport 0000:00:02.0: restoring config space at offset 0x1 (was 0x100107, writing 0x100507)
    [ 510.596824] pcieport 0000:00:06.0: restoring config space at offset 0x1 (was 0x100107, writing 0x40100507)
    [ 510.596845] ahci 0000:00:11.0: restoring config space at offset 0xf (was 0x100, writing 0x10b)
    [ 510.596863] ahci 0000:00:11.0: restoring config space at offset 0x2 (was 0x1018f00, writing 0x1060100)
    [ 510.596866] ahci 0000:00:11.0: restoring config space at offset 0x1 (was 0x2300107, writing 0x2300507)
    [ 510.596895] ahci 0000:00:11.0: set SATA to AHCI mode
    [ 510.597097] pata_atiixp 0000:00:14.1: restoring config space at offset 0x3 (was 0x0, writing 0x4000)
    [ 510.597131] snd_hda_intel 0000:00:14.2: restoring config space at offset 0x1 (was 0x4100006, writing 0x4100002)
    [ 510.597240] nouveau 0000:03:00.0: restoring config space at offset 0xf (was 0x100, writing 0x10a)
    [ 510.597244] nouveau 0000:03:00.0: restoring config space at offset 0xc (was 0x0, writing 0xfafe0000)
    [ 510.597249] nouveau 0000:03:00.0: restoring config space at offset 0x9 (was 0x1, writing 0xec01)
    [ 510.597252] nouveau 0000:03:00.0: restoring config space at offset 0x7 (was 0x4, writing 0xf8000004)
    [ 510.597256] nouveau 0000:03:00.0: restoring config space at offset 0x5 (was 0xc, writing 0xd000000c)
    [ 510.597259] nouveau 0000:03:00.0: restoring config space at offset 0x4 (was 0x0, writing 0xfb000000)
    [ 510.597262] nouveau 0000:03:00.0: restoring config space at offset 0x3 (was 0x0, writing 0x10)
    [ 510.597266] nouveau 0000:03:00.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100107)
    [ 510.597300] r8169 0000:02:00.0: restoring config space at offset 0xf (was 0x100, writing 0x10a)
    [ 510.597306] r8169 0000:02:00.0: restoring config space at offset 0xc (was 0x0, writing 0xf7fc0000)
    [ 510.597316] r8169 0000:02:00.0: restoring config space at offset 0x6 (was 0x4, writing 0xf7fff004)
    [ 510.597322] r8169 0000:02:00.0: restoring config space at offset 0x4 (was 0x1, writing 0xd801)
    [ 510.597326] r8169 0000:02:00.0: restoring config space at offset 0x3 (was 0x0, writing 0x10)
    [ 510.597331] r8169 0000:02:00.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100507)
    [ 510.597446] PM: early resume of devices complete after 0.696 msecs
    [ 510.597533] pata_atiixp 0000:00:14.1: PCI INT A -> GSI 16 (level, low) -> IRQ 16
    [ 510.597552] snd_hda_intel 0000:00:14.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16
    [ 510.597581] [drm] nouveau 0000:03:00.0: We're back, enabling device...
    [ 510.597586] nouveau 0000:03:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
    [ 510.597589] pcieport 0000:00:06.0: wake-up capability disabled by ACPI
    [ 510.597594] nouveau 0000:03:00.0: setting latency timer to 64
    [ 510.597599] sd 0:0:0:0: [sda] Starting disk
    [ 510.597603] r8169 0000:02:00.0: PME# disabled
    [ 510.597605] [drm] nouveau 0000:03:00.0: POSTing device...
    [ 510.597607] [drm] nouveau 0000:03:00.0: Parsing VBIOS init table 0 at offset 0xC718
    [ 510.597690] sd 2:0:0:0: [sdb] Starting disk
    [ 510.598730] serial 00:08: activated
    [ 510.598867] Extended CMOS year: 2000
    [ 510.610107] r8169 0000:02:00.0: eth0: link down
    [ 510.621123] [drm] nouveau 0000:03:00.0: Parsing VBIOS init table 1 at offset 0xCC63
    [ 510.663986] [drm] nouveau 0000:03:00.0: Parsing VBIOS init table 2 at offset 0xDA58
    [ 510.664015] [drm] nouveau 0000:03:00.0: Parsing VBIOS init table 3 at offset 0xDB56
    [ 510.665114] [drm] nouveau 0000:03:00.0: Parsing VBIOS init table 4 at offset 0xDDBE
    [ 510.665116] [drm] nouveau 0000:03:00.0: Parsing VBIOS init table at offset 0xDE23
    [ 510.685128] [drm] nouveau 0000:03:00.0: Restoring GPU objects...
    [ 510.725417] [drm] nouveau 0000:03:00.0: Reinitialising engines...
    [ 510.725785] [drm] nouveau 0000:03:00.0: Restoring mode...
    [ 510.762015] ata5.00: ACPI cmd ef/03:0c:00:00:00:a0 (SET FEATURES) filtered out
    [ 510.762018] ata5.00: ACPI cmd ef/03:44:00:00:00:a0 (SET FEATURES) filtered out
    [ 510.762020] ata5.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
    [ 510.773704] ata5.00: configured for UDMA/66
    [ 510.916691] ata4: SATA link down (SStatus 0 SControl 300)
    [ 510.916722] ata2: SATA link down (SStatus 0 SControl 300)
    [ 511.883355] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
    [ 511.988643] ata1.00: configured for UDMA/133
    [ 512.681052] r8169 0000:02:00.0: eth0: link up
    [ 513.909989] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    [ 513.920747] ata3.00: configured for UDMA/133
    [ 513.943983] PM: resume of devices complete after 3346.516 msecs
    [ 513.944116] PM: Finishing wakeup.
    [ 513.944117] Restarting tasks ... done.
    [ 515.507636] ehci_hcd 0000:00:12.2: PCI INT B -> GSI 17 (level, low) -> IRQ 17
    [ 515.507721] ehci_hcd 0000:00:12.2: EHCI Host Controller
    [ 515.507789] ehci_hcd 0000:00:12.2: new USB bus registered, assigned bus number 1
    [ 515.507806] ehci_hcd 0000:00:12.2: applying AMD SB700/SB800/Hudson-2/3 EHCI dummy qh workaround
    [ 515.507854] ehci_hcd 0000:00:12.2: debug port 1
    [ 515.507883] ehci_hcd 0000:00:12.2: irq 17, io mem 0xf7efe800
    [ 515.520050] ehci_hcd 0000:00:12.2: USB 2.0 started, EHCI 1.00
    [ 515.520407] hub 1-0:1.0: USB hub found
    [ 515.520417] hub 1-0:1.0: 6 ports detected
    [ 515.533786] ehci_hcd 0000:00:13.2: PCI INT B -> GSI 19 (level, low) -> IRQ 19
    [ 515.533832] ehci_hcd 0000:00:13.2: EHCI Host Controller
    [ 515.533861] ehci_hcd 0000:00:13.2: new USB bus registered, assigned bus number 2
    [ 515.533877] ehci_hcd 0000:00:13.2: applying AMD SB700/SB800/Hudson-2/3 EHCI dummy qh workaround
    [ 515.533922] ehci_hcd 0000:00:13.2: debug port 1
    [ 515.533951] ehci_hcd 0000:00:13.2: irq 19, io mem 0xf7efec00
    [ 515.543343] ehci_hcd 0000:00:13.2: USB 2.0 started, EHCI 1.00
    [ 515.543684] hub 2-0:1.0: USB hub found
    [ 515.543694] hub 2-0:1.0: 6 ports detected
    [ 515.560288] ohci_hcd 0000:00:12.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
    [ 515.560342] ohci_hcd 0000:00:12.0: OHCI Host Controller
    [ 515.560371] ohci_hcd 0000:00:12.0: new USB bus registered, assigned bus number 3
    [ 515.560410] ohci_hcd 0000:00:12.0: irq 16, io mem 0xf7ef6000
    [ 515.617252] hub 3-0:1.0: USB hub found
    [ 515.617260] hub 3-0:1.0: 3 ports detected
    [ 515.643394] ohci_hcd 0000:00:12.1: PCI INT A -> GSI 16 (level, low) -> IRQ 16
    [ 515.643453] ohci_hcd 0000:00:12.1: OHCI Host Controller
    [ 515.643484] ohci_hcd 0000:00:12.1: new USB bus registered, assigned bus number 4
    [ 515.643527] ohci_hcd 0000:00:12.1: irq 16, io mem 0xf7ef7000
    [ 515.701535] hub 4-0:1.0: USB hub found
    [ 515.701550] hub 4-0:1.0: 3 ports detected
    [ 515.713826] ohci_hcd 0000:00:13.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
    [ 515.713884] ohci_hcd 0000:00:13.0: OHCI Host Controller
    [ 515.713915] ohci_hcd 0000:00:13.0: new USB bus registered, assigned bus number 5
    [ 515.713956] ohci_hcd 0000:00:13.0: irq 18, io mem 0xf7efc000
    [ 515.771259] hub 5-0:1.0: USB hub found
    [ 515.771273] hub 5-0:1.0: 3 ports detected
    [ 515.786918] ohci_hcd 0000:00:13.1: PCI INT A -> GSI 18 (level, low) -> IRQ 18
    [ 515.786977] ohci_hcd 0000:00:13.1: OHCI Host Controller
    [ 515.787011] ohci_hcd 0000:00:13.1: new USB bus registered, assigned bus number 6
    [ 515.787052] ohci_hcd 0000:00:13.1: irq 18, io mem 0xf7efd000
    [ 515.844392] hub 6-0:1.0: USB hub found
    [ 515.844407] hub 6-0:1.0: 3 ports detected
    [ 515.857126] ohci_hcd 0000:00:14.5: PCI INT C -> GSI 18 (level, low) -> IRQ 18
    [ 515.857157] ohci_hcd 0000:00:14.5: OHCI Host Controller
    [ 515.857169] ohci_hcd 0000:00:14.5: new USB bus registered, assigned bus number 7
    [ 515.857192] ohci_hcd 0000:00:14.5: irq 18, io mem 0xf7eff000
    [ 515.915097] hub 7-0:1.0: USB hub found
    [ 515.915111] hub 7-0:1.0: 2 ports detected
    [ 516.065641] EXT4-fs (sdb2): re-mounted. Opts: commit=0
    [ 516.089845] EXT4-fs (sdb4): re-mounted. Opts: commit=0
    [ 516.296726] usb 6-2: new low-speed USB device number 2 using ohci_hcd
    [ 516.465653] input: LITEON Technology USB Multimedia Keyboard as /devices/pci0000:00/0000:00:13.1/usb6/6-2/6-2:1.0/input/input6
    [ 516.465885] generic-usb 0003:046D:C312.0002: input,hidraw0: USB HID v1.10 Keyboard [LITEON Technology USB Multimedia Keyboard] on usb-0000:00:13.1-2/input0
    This output is what I get right after a wake-up using the helper script from the other thread.
    Thank you for any help!
    Last edited by mariusmeyer (2012-03-03 15:57:16)

    I'll try changing some BIOS settings, thanks As of now, I can't test your suggestion regarding input devices and wake-up because it takes less then a second for the computer to auto-wake-up
    Also, I doubt the keyboard sets this off, because the scripts unloads all USB modules before suspending. But the mouse (a PS/2) on the other hand...
    EDIT: I found out that it was the network waking the computer After stopping the network daemon before suspending, I can suspend normally! On a side note, I can wake the computer by pressing a key on my keyboard, but I do not know whether I could before or not. Anyways, this is solved for me
    Last edited by mariusmeyer (2012-03-03 15:56:52)

  • [SOLVED] After resume from suspend to RAM, system is slow / unstable

    Hello,
    I have come across some strangeness when trying to suspend my system.  The
    computer is a lenovo U350.  I have read a lot of threads on these subjects,
    but I never found one that quite matched the experiences I'm having, so I felt
    compelled to make a new post.
    Here's what's going on:  I boot into the terminal, and then run pm-suspend.
    Within a few seconds, the computer goes to sleep, just as I had hoped.  The
    problem is that my computer seems a little groggy when I wake it back up.
    Usually, when running a command like ps aux | less, the screen fills up very
    quickly.  After I resume from sleep, running ps aux | less is noticeably slow.
    It takes a full second (+/- epsilon) to fill the screen.  Other symptoms: if I
    suspend / resume in the terminal, and then start a window manager (KDE), the
    graphics will be slow and choppy, and when I try to exit the window manager, I
    usually end up having to perform the dreaded REISUB after getting stuck on a
    blank screen with a non-blinking cursor in the upper left hand corner.
    Suspend / resume from KDE will result in either the black, non-responsive
    screen as soon as I try to resume, or in the choppy graphics, followed by the
    non-responsive black screen when I log out.
    I looked at the process list before and after, and noticed that when the
    system is first resumed, there are around 50-60 additional kworker processes
    running than when I put it to sleep.  I don't know if this is normal or not.
    Also, hci0 has been killed, and a new hci0 process has taken its place.  The
    same goes for one of the udevd processes.  About 40-50 of the kworker
    processes finish after a few minutes, but this does not change the slowness of
    ps aux | less, nor does it help with my window manager issues.
    I ran a few (not so precise) performance tests before and after doing a
    suspend, and got the same results (the test was just to compile some LaTeX,
    which took about 4-5 seconds either way).
    I examined the pm-suspend.log, and everything looked peachy.  All of the
    hooks returned success for the suspend, as well as the resume.  I'm happy to
    post this if needed.  I did not change any of the default settings for
    pm-suspend.
    Anyhow, I've read a lot of threads, and seen a lot of suggestions, e.g.:
    https://bbs.archlinux.org/viewtopic.php?id=137682
    https://bbs.archlinux.org/viewtopic.php?id=136292 (use vbetool?)
    https://bbs.archlinux.org/viewtopic.php?id=126174 (suspend tons of modules?)
    https://bbs.archlinux.org/viewtopic.php?id=131827 (hpet=disable ?)
    However, I'm not that confident in any of them, since no one had quite the
    same issue.  I was hoping that someone could point me in the right direction
    before I start blindly walking through all the candidate fixes and risk
    unleashing chaos into my system.  Many thanks in advance for your help.
    Oh, and in case this post was not yet long enough, here is some system
    information:
    lspci:
    00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
    00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
    00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
    00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
    00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
    00:1a.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
    00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
    00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
    00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
    00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
    00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)
    00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03)
    00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 03)
    00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 03)
    00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
    00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
    00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
    00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
    00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
    00:1f.0 ISA bridge: Intel Corporation ICH9M-E LPC Interface Controller (rev 03)
    00:1f.2 SATA controller: Intel Corporation 82801IBM/IEM (ICH9M/ICH9M-E) 4 port SATA Controller [AHCI mode] (rev 03)
    00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
    03:00.0 Network controller: Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection
    08:00.0 Ethernet controller: Broadcom Corporation NetLink BCM57780 Gigabit Ethernet PCIe (rev 01)
    lsmod:
    Module Size Used by
    aes_x86_64 7508 3
    cryptd 8309 0
    aes_generic 26138 1 aes_x86_64
    coretemp 5590 0
    cpufreq_ondemand 6164 2
    acpi_cpufreq 5877 1
    mperf 1275 1 acpi_cpufreq
    freq_table 2515 2 acpi_cpufreq,cpufreq_ondemand
    arc4 1410 2
    joydev 9895 0
    snd_hda_codec_hdmi 24121 1
    iwlwifi 248196 0
    i915 420018 3
    snd_hda_codec_conexant 47300 1
    uvcvideo 64311 0
    mac80211 228527 1 iwlwifi
    videodev 82101 1 uvcvideo
    snd_hda_intel 23375 0
    snd_hda_codec 89389 3 snd_hda_intel,snd_hda_codec_conexant,snd_hda_codec_hdmi
    broadcom 7270 0
    tg3 134884 0
    ideapad_laptop 8534 0
    snd_hwdep 6389 1 snd_hda_codec
    snd_pcm 74780 3 snd_hda_codec,snd_hda_intel,snd_hda_codec_hdmi
    snd_page_alloc 7153 2 snd_pcm,snd_hda_intel
    snd_timer 19544 1 snd_pcm
    snd 59214 7 snd_timer,snd_pcm,snd_hwdep,snd_hda_codec,snd_hda_intel,snd_hda_codec_conexant,snd_hda_codec_hdmi
    iTCO_wdt 11885 0
    v4l2_compat_ioctl32 8316 1 videodev
    i2c_i801 8187 0
    i2c_algo_bit 5263 1 i915
    drm_kms_helper 26137 1 i915
    intel_agp 10904 1 i915
    btusb 11385 0
    cfg80211 172260 2 mac80211,iwlwifi
    bluetooth 151999 1 btusb
    sparse_keymap 3120 1 ideapad_laptop
    soundcore 6210 1 snd
    drm 188499 4 drm_kms_helper,i915
    rfkill 15498 3 bluetooth,cfg80211,ideapad_laptop
    serio_raw 4429 0
    iTCO_vendor_support 1961 1 iTCO_wdt
    media 10597 2 videodev,uvcvideo
    psmouse 61311 0
    libphy 16985 2 tg3,broadcom
    i2c_core 20492 6 drm,drm_kms_helper,i2c_algo_bit,i2c_i801,videodev,i915
    intel_gtt 14519 3 intel_agp,i915
    pcspkr 1819 0
    evdev 9530 8
    thermal 7799 0
    wmi 8475 0
    battery 6453 0
    ac 2344 0
    video 11164 1 i915
    button 4470 1 i915
    processor 25582 3 acpi_cpufreq
    ext4 420412 3
    crc16 1359 2 ext4,bluetooth
    jbd2 71499 1 ext4
    mbcache 5881 1 ext4
    sd_mod 28307 5
    ahci 20037 4
    libahci 19559 1 ahci
    libata 166654 2 libahci,ahci
    scsi_mod 133676 2 libata,sd_mod
    uhci_hcd 23116 0
    ehci_hcd 40698 0
    usbcore 146113 5 ehci_hcd,uhci_hcd,btusb,uvcvideo
    usb_common 954 1 usbcore
    Last edited by wes (2012-04-06 21:34:43)

    I did try reinstalling, actually.  But I did not think to remove the battery and the ram...  I'm very curious now: what is the rationale / intuition for that?  Or is it just that empirical evidence suggests this may be a good idea?
    Anyhow, the reinstall by itself did not help.  I tried it out with a pretty bare-bones setup and had the same results.  Here are a few other things I noticed:
    - After the suspend, one of the cores is always running at the maximum clock frequency, according to powertop (although, according to ps aux, no one is doing any work).
    - Even if I ssh to a nearby machine, I get the same experience when running `ls`.  The screen fills very slowly.  That narrows things down a little bit, but I was already guessing it would be graphics-related.
    I have also tried a few random kernel boot parameters after reading things online, but none of those worked, and several stopped the machine from booting at all.
    Thanks for your help.

  • [SOLVED] Suspend to ram / disk not working in newer kernels

    Hi all,
    this puzzles me for a while:
    My desktop system was able to suspend to ram / disk flawlessly in older kernels. It stopped working with 3.3. The suspend seems to work, the machine goes to standby. But when I try to resume, the machines is on but the screen stays black. Neither the console is working nor can I ssh into it. Only hard reset gets me out here
    I did investigate and found many tips and hints which all led to nowhere. I even changed my filesystem back from btrfs to ext4 and my VGA module from proprietary nvidia to nouveau.
    When this all failed I got to the idea to burn several install disks. One of the official 2011.08.19 (kernel 3.0.3) and one of the snapshots 2012.06.05_04-00-01 (kernel 3.3.7) and 2012.07.17_04-00-01 (kernel 3.4.4). I guess these can not be compromised by some hosed installation. I started one by one and issued the follwing command:
    echo mem > /sys/power/state
    which suspends the machine successfully in all three cases. With 2011.08.19 the resume is working but the other two fail. Some more info about the hardware:
    1. lspci output
    harvey@obelix ~ $ lspci
    00:00.0 Host bridge: Intel Corporation Core Processor DMI (rev 11)
    00:03.0 PCI bridge: Intel Corporation Core Processor PCI Express Root Port 1 (rev 11)
    00:05.0 PCI bridge: Intel Corporation Core Processor PCI Express Root Port 3 (rev 11)
    00:08.0 System peripheral: Intel Corporation Core Processor System Management Registers (rev 11)
    00:08.1 System peripheral: Intel Corporation Core Processor Semaphore and Scratchpad Registers (rev 11)
    00:08.2 System peripheral: Intel Corporation Core Processor System Control and Status Registers (rev 11)
    00:08.3 System peripheral: Intel Corporation Core Processor Miscellaneous Registers (rev 11)
    00:10.0 System peripheral: Intel Corporation Core Processor QPI Link (rev 11)
    00:10.1 System peripheral: Intel Corporation Core Processor QPI Routing and Protocol Registers (rev 11)
    00:1a.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06)
    00:1a.1 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06)
    00:1a.2 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06)
    00:1a.7 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
    00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
    00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 06)
    00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 06)
    00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06)
    00:1d.1 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06)
    00:1d.2 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06)
    00:1d.3 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06)
    00:1d.7 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
    00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a6)
    00:1f.0 ISA bridge: Intel Corporation 5 Series Chipset LPC Interface Controller (rev 06)
    00:1f.2 IDE interface: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA IDE Controller (rev 06)
    00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 06)
    00:1f.5 IDE interface: Intel Corporation 5 Series/3400 Series Chipset 2 port SATA IDE Controller (rev 06)
    01:00.0 VGA compatible controller: NVIDIA Corporation G84 [GeForce 8600 GT] (rev a1)
    02:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 03)
    03:00.0 SATA controller: JMicron Technology Corp. JMB363 SATA/IDE Controller (rev 02)
    03:00.1 IDE interface: JMicron Technology Corp. JMB363 SATA/IDE Controller (rev 02)
    04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
    3f:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-Core Registers (rev 04)
    3f:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 04)
    3f:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 04)
    3f:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 04)
    3f:03.0 Host bridge: Intel Corporation Core Processor Integrated Memory Controller (rev 04)
    3f:03.1 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Target Address Decoder (rev 04)
    3f:03.4 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Test Registers (rev 04)
    3f:04.0 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Control Registers (rev 04)
    3f:04.1 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Address Registers (rev 04)
    3f:04.2 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Rank Registers (rev 04)
    3f:04.3 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Thermal Control Registers (rev 04)
    3f:05.0 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Control Registers (rev 04)
    3f:05.1 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Address Registers (rev 04)
    3f:05.2 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Rank Registers (rev 04)
    3f:05.3 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Thermal Control Registers (rev 04)
    2. lsmod output of 2012.07.17_04-00-01:
    harvey@obelix ~ $ lsmod
    Module Size Used by
    fuse 68768 0
    tun 15297 0
    rfcomm 33627 8
    bnep 8793 2
    nfsd 246714 2
    exportfs 3665 1 nfsd
    btusb 11764 0
    joydev 9991 0
    bluetooth 190551 22 bnep,btusb,rfcomm
    rfkill 15604 2 bluetooth
    snd_hda_codec_realtek 60409 1
    snd_hda_intel 24053 3
    snd_hda_codec 94305 2 snd_hda_codec_realtek,snd_hda_intel
    microcode 12185 0
    i7core_edac 17477 0
    snd_hwdep 6300 1 snd_hda_codec
    i2c_i801 8180 0
    iTCO_wdt 12813 0
    snd_pcm 74958 2 snd_hda_codec,snd_hda_intel
    r8169 49386 0
    coretemp 5654 0
    edac_core 36656 3 i7core_edac
    iTCO_vendor_support 1929 1 iTCO_wdt
    serio_raw 4653 0
    pcspkr 1899 0
    snd_page_alloc 7185 2 snd_pcm,snd_hda_intel
    snd_timer 18966 1 snd_pcm
    mii 4123 1 r8169
    snd 58997 12 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_pcm,snd_hda_codec,snd_hda_intel
    soundcore 5410 1 snd
    acpi_cpufreq 5933 0
    mperf 1235 1 acpi_cpufreq
    evdev 9754 4
    processor 26567 1 acpi_cpufreq
    vboxnetadp 18387 0
    vboxnetflt 16743 0
    vboxdrv 1791382 2 vboxnetadp,vboxnetflt
    nfs 276056 1
    nfs_acl 2359 2 nfs,nfsd
    lockd 62987 2 nfs,nfsd
    auth_rpcgss 32327 2 nfs,nfsd
    sunrpc 184998 12 nfs,nfsd,auth_rpcgss,lockd,nfs_acl
    fscache 41059 1 nfs
    aes_x86_64 7508 64
    cryptd 8741 0
    aes_generic 26138 1 aes_x86_64
    xts 3101 32
    gf128mul 6050 1 xts
    dm_crypt 16496 4
    dm_mod 70918 9 dm_crypt
    sr_mod 14823 0
    cdrom 35648 1 sr_mod
    hid_logitech 16560 0
    ff_memless 4690 1 hid_logitech
    usbhid 36430 1 hid_logitech
    hid 85285 2 hid_logitech,usbhid
    sd_mod 29239 7
    pata_jmicron 2480 0
    usb_storage 44760 0
    pata_acpi 3408 0
    ata_piix 23160 5
    crc32c_intel 1987 0
    ahci 20549 0
    libahci 20023 1 ahci
    ata_generic 3295 0
    libata 167611 6 ahci,pata_acpi,libahci,ata_generic,ata_piix,pata_jmicron
    scsi_mod 132974 4 usb_storage,libata,sd_mod,sr_mod
    uhci_hcd 23372 0
    xhci_hcd 81440 0
    ehci_hcd 40994 0
    usbcore 147533 8 btusb,uhci_hcd,usb_storage,ehci_hcd,usbhid,xhci_hcd
    usb_common 954 1 usbcore
    floppy 58615 0
    nouveau 784289 3
    button 4502 1 nouveau
    video 11307 1 nouveau
    mxm_wmi 1425 1 nouveau
    wmi 8475 2 mxm_wmi,nouveau
    i2c_algo_bit 5391 1 nouveau
    drm_kms_helper 33051 1 nouveau
    ttm 64288 1 nouveau
    drm 208926 5 ttm,drm_kms_helper,nouveau
    i2c_core 20369 5 drm,i2c_i801,drm_kms_helper,i2c_algo_bit,nouveau
    ext4 424175 4
    crc16 1359 2 ext4,bluetooth
    jbd2 73919 1 ext4
    mbcache 5977 1 ext4
    3. /var/log/pm-suspend.log of a not working suspend
    Initial commandline parameters:
    Tue Jul 17 11:21:18 CEST 2012: Running hooks for suspend.
    Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:
    Linux obelix 3.4.5-1-ARCH #1 SMP PREEMPT Mon Jul 16 21:35:54 CEST 2012 x86_64 GNU/Linux
    Module Size Used by
    rfcomm 33627 8
    bnep 8793 2
    nfsd 246714 2
    exportfs 3665 1 nfsd
    ext4 424175 3
    jbd2 73919 1 ext4
    mbcache 5977 1 ext4
    btusb 11764 0
    bluetooth 190551 22 bnep,btusb,rfcomm
    crc16 1359 2 ext4,bluetooth
    joydev 9991 0
    rfkill 15604 2 bluetooth
    snd_hda_codec_realtek 60409 1
    microcode 12185 0
    coretemp 5654 0
    serio_raw 4653 0
    snd_hda_intel 24053 5
    snd_hda_codec 94305 2 snd_hda_codec_realtek,snd_hda_intel
    pcspkr 1899 0
    snd_hwdep 6300 1 snd_hda_codec
    snd_pcm 74958 3 snd_hda_codec,snd_hda_intel
    snd_page_alloc 7217 2 snd_pcm,snd_hda_intel
    r8169 49386 0
    i7core_edac 17477 0
    snd_timer 18966 1 snd_pcm
    edac_core 36656 3 i7core_edac
    mii 4123 1 r8169
    snd 58997 15 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_pcm,snd_hda_codec,snd_hda_intel
    iTCO_wdt 12813 0
    i2c_i801 8180 0
    soundcore 5410 1 snd
    iTCO_vendor_support 1929 1 iTCO_wdt
    acpi_cpufreq 5933 0
    mperf 1267 1 acpi_cpufreq
    evdev 9754 4
    processor 26567 1 acpi_cpufreq
    vboxnetadp 18387 0
    vboxnetflt 16743 0
    vboxdrv 1791382 2 vboxnetadp,vboxnetflt
    nfs 276056 1
    nfs_acl 2359 2 nfs,nfsd
    lockd 62987 2 nfs,nfsd
    auth_rpcgss 32327 2 nfs,nfsd
    sunrpc 184998 12 nfs,nfsd,auth_rpcgss,lockd,nfs_acl
    fscache 41059 1 nfs
    btrfs 710578 1
    libcrc32c 1002 1 btrfs
    zlib_deflate 20436 1 btrfs
    aes_x86_64 7508 64
    cryptd 8741 0
    aes_generic 26138 1 aes_x86_64
    xts 3101 32
    gf128mul 6050 1 xts
    hid_logitech 16560 0
    ff_memless 4690 1 hid_logitech
    dm_crypt 16496 4
    dm_mod 70918 9 dm_crypt
    sr_mod 14823 0
    cdrom 35648 1 sr_mod
    usbhid 36430 1 hid_logitech
    usb_storage 44760 0
    hid 85285 2 hid_logitech,usbhid
    sd_mod 29239 7
    pata_jmicron 2480 0
    pata_acpi 3408 0
    ata_piix 23160 5
    ata_generic 3295 0
    uhci_hcd 23404 0
    crc32c_intel 1987 1
    ahci 20549 0
    libahci 20023 1 ahci
    libata 167611 6 ahci,pata_acpi,libahci,ata_generic,ata_piix,pata_jmicron
    xhci_hcd 81472 0
    ehci_hcd 41026 0
    scsi_mod 132974 4 usb_storage,libata,sd_mod,sr_mod
    usbcore 147565 8 btusb,uhci_hcd,usb_storage,ehci_hcd,usbhid,xhci_hcd
    usb_common 954 1 usbcore
    floppy 58615 0
    nouveau 784321 3
    button 4502 1 nouveau
    video 11307 1 nouveau
    mxm_wmi 1425 1 nouveau
    wmi 8475 2 mxm_wmi,nouveau
    i2c_algo_bit 5391 1 nouveau
    drm_kms_helper 33051 1 nouveau
    ttm 64320 1 nouveau
    drm 208958 5 ttm,drm_kms_helper,nouveau
    i2c_core 20369 5 drm,i2c_i801,drm_kms_helper,i2c_algo_bit,nouveau
    total used free shared buffers cached
    Mem: 8173500 884060 7289440 0 3764 405872
    -/+ buffers/cache: 474424 7699076
    Swap: 8386556 0 8386556
    /usr/lib/pm-utils/sleep.d/00logging suspend suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/00powersave suspend suspend:
    /usr/lib/pm-utils/sleep.d/00powersave suspend suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/01grub suspend suspend:
    /usr/lib/pm-utils/sleep.d/01grub suspend suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend:
    /usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/75modules suspend suspend:
    /usr/lib/pm-utils/sleep.d/75modules suspend suspend: success.
    Running hook /etc/pm/sleep.d/90alsa suspend suspend:
    /etc/pm/sleep.d/90alsa suspend suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/90clock suspend suspend:
    /usr/lib/pm-utils/sleep.d/90clock suspend suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend:
    /usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/95led suspend suspend:
    /usr/lib/pm-utils/sleep.d/95led suspend suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:
    Kernel modesetting video driver detected, not using quirks.
    /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/99video suspend suspend:
    kernel.acpi_video_flags = 0
    /usr/lib/pm-utils/sleep.d/99video suspend suspend: success.
    Tue Jul 17 11:21:18 CEST 2012: performing suspend
    This seems to be a kernel bug. Any input?
    Harvey
    Last edited by Harey (2012-08-06 13:51:49)

    Another life-sign. The issue is still unsolved but I've come a little further. It seems to be a combination of more failures. The first one is USB hardware. I have a usb keyboard-mouse combo from Logitech (comfort cordless desktop). The USB bus does not wake up correctly when resuming from suspend. So my keyboard is unsuable. I put in a file /etc/pm/sleep.d/20_custom-ehci_hcd with the following content:
    BUSES="0000:00:1a.7 0000:00:1d.7"
    case "${1}" in
    hibernate|suspend)
    # Switch USB buses off
    for bus in $BUSES; do
    echo -n $bus | tee /sys/bus/pci/drivers/ehci_hcd/unbind
    done
    resume|thaw)
    # Switch USB buses back on
    for bus in $BUSES; do
    echo -n $bus | tee /sys/bus/pci/drivers/ehci_hcd/bind
    done
    esac
    The bus IDs were taken from /sys/bus/pci/drivers/ehci_hcd
    When I start pm-suspend from a console (no X started) this seems to reanimate my keyboard while the screen stays black (with backlight on). I can type and reboot. Also I can ssh into the machine from my laptop.
    Concerning the blank screen there seems to be a bug in both the proprietary nvidia modules as well as the nouveau driver. The nvidia folks have issued a new beta driver which seems to at least minimize the failures. This all concerns the nv50-family of nvidias cards. I have a GF8600GT which is one of these
    I'll wait for this driver and then restart my testing. Until then - no suspend/hibernate
    EDIT: Today's nvidia 304.32 is solving my issues - I can sleep again
    Harvey
    Last edited by Harey (2012-08-06 13:52:51)

Maybe you are looking for

  • Icons in menu bar gone

    All the icons in the menu bar on the top right have disappeared. Time, airport status, time machine, battery status, everything. I've gone into system preferences and tried to set the icon to show up, but it resets itself to the off status when I cli

  • Where can I get a cheap old iPod

    Hi, Christmas is coming and I wanted to buy a family member an iPod shuffle that looks like the one in the attached image. I also wanted to know what some other cheap iPods are. I don't have that much money so $25 is kinda my limit Thanks in advance,

  • Macpro goes to sleep without warning and I have to reboot to get it back

    my macbook pro goes to sleep without warning on batt and I have to rebootto get it back

  • Scanning Question: OCR software, Vuescan

    Is there any OCR scanning software for the Mac besides OmniPage? I'm taking a look at Vuescan for graphics scanning, but I couldn't tell from its web site whether it includes its own OCR program as well. Can anyone who uses it let me know? (I know I

  • IWeb publishing errors

    My computer crashed and I ended up installing everything again. However, when I try to update my site using iWeb, I get the following error: An error occurred while publishing file "/private/var/folders/g3/g3WR5nm6GXmMVozexXw6oU+TI/TemporaryItems/com