[solved] uswsusp: how to suspend to ram without killing network

Hi guys.
On my acer aspire one (D150) I use uswsusp instead of kernel mode. The laptop goes to sleep and restores in a sleep second, which is fantastic.
However, when I run s2ram from the shell it goes to sleep maintaing the wifi connection so that when I open the lid I am up and running instantaneously. When I use pm-utils, on the other hand, somehow the network gets shutdown so at resume I need to associate via DHCP again.
Does anyone know how to overcome this? I want the sleep behaviour to be the one of s2ram only, namely wifi not disconnected.
Thanks
Last edited by crocowhile (2010-04-28 02:49:19)

Alright, I figured it out.
gg@Majorana:~$ cat /etc/pm/config.d/config
HOOK_BLACKLIST="55NetworkManager"
SLEEP_MODULE="uswsusp"
The Networkmanager hook had to be blacklisted. Now it works.

Similar Messages

  • How could we do this without killing the system?

    If we take in a file through the PI file adapter that has 1 million lines and read it in and process each line as a single transactionu2026  How could we do this without killing the system?

    Hi,
    >>>How could we do this without killing the system?
    which system ? PI could do this if the transactions are small (only one line so very small I guess)
    but I'm not sure about the ERP...
    Regards,
    Michal Krawczyk

  • [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] Can't get suspend to ram to work (pm-utils)

    It suspends, but then when I wake up my desktop the display is black. I followed the wiki, did things like add the resume hook, remove the autodetect hook, pm-is-supported returns empty, and I can't see from the pm-suspend.log what the issue could be
    Initial commandline parameters:
    Fri Jun 15 12:19:28 EDT 2012: Running hooks for suspend.
    Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:
    Linux dump9 3.4.2-3-ck #1 SMP PREEMPT Tue Jun 12 23:20:36 EDT 2012 x86_64 GNU/Linux
    Module Size Used by
    fuse 68256 3
    dm_mod 70374 5
    it87 28605 0
    hwmon_vid 3164 1 it87
    btusb 11604 0
    bluetooth 187319 2 btusb
    rfkill 15508 1 bluetooth
    joydev 9895 0
    usbhid 36046 0
    hid 84805 1 usbhid
    cx18_alsa 6389 1
    mxl5005s 35031 1
    s5h1409 9894 1
    tuner_simple 13257 1
    tuner_types 11121 1 tuner_simple
    cs5345 2939 1
    tda9887 8613 1
    tda8290 12426 0
    snd_hda_codec_hdmi 23640 4
    tuner 16616 2
    nvidia 12291043 30
    nfs 274536 1
    nfs_acl 2327 1 nfs
    cx18 113932 1 cx18_alsa
    lockd 62244 1 nfs
    snd_hda_codec_via 37603 1
    tveeprom 13777 1 cx18
    i2c_algo_bit 5359 1 cx18
    auth_rpcgss 32135 1 nfs
    videobuf_vmalloc 4319 1 cx18
    sunrpc 182965 8 nfs,auth_rpcgss,lockd,nfs_acl
    fscache 40835 1 nfs
    microcode 12281 0
    firewire_ohci 31197 0
    edac_mce_amd 12373 0
    firewire_core 51008 1 firewire_ohci
    powernow_k8 13360 1
    edac_core 36624 0
    mperf 1235 1 powernow_k8
    videobuf_core 16007 2 cx18,videobuf_vmalloc
    cx2341x 16956 1 cx18
    dvb_core 94139 1 cx18
    v4l2_common 5338 4 cx18,cx2341x,tuner,cs5345
    videodev 92446 5 cx18,cx2341x,tuner,cs5345,v4l2_common
    media 10117 1 videodev
    snd_hda_intel 23765 5
    snd_hda_codec 93089 3 snd_hda_codec_hdmi,snd_hda_codec_via,snd_hda_intel
    snd_hwdep 6204 1 snd_hda_codec
    snd_pcm 74574 5 cx18_alsa,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
    snd_page_alloc 7249 2 snd_pcm,snd_hda_intel
    snd_timer 18774 1 snd_pcm
    snd 58325 19 cx18_alsa,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_via,snd_pcm,snd_hda_codec,snd_hda_intel
    i2c_piix4 8224 0
    soundcore 5378 1 snd
    i2c_core 20241 14 cx18,tuner,i2c_piix4,tda8290,tda9887,i2c_algo_bit,cs5345,s5h1409,nvidia,v4l2_common,tveeprom,mxl5005s,tuner_simple,videodev
    ohci_hcd 21400 0
    ehci_hcd 40546 0
    usbcore 146125 5 btusb,ohci_hcd,ehci_hcd,usbhid
    usb_common 954 1 usbcore
    k10temp 2915 0
    r8169 48842 0
    crc_itu_t 1363 1 firewire_core
    mii 4059 1 r8169
    ppdev 5806 0
    parport_pc 30541 0
    parport 31139 2 ppdev,parport_pc
    processor 26567 1 powernow_k8
    wmi 8411 0
    sp5100_tco 4504 0
    psmouse 70248 0
    evdev 9722 26
    serio_raw 4621 0
    button 4502 0
    hfsplus 78321 0
    loop 18000 0
    autofs4 23767 2
    ext4 422063 4
    jbd2 73535 1 ext4
    mbcache 5977 1 ext4
    crc16 1359 2 ext4,bluetooth
    sr_mod 14663 0
    sd_mod 29047 11
    cdrom 35488 1 sr_mod
    pata_acpi 3376 0
    pata_atiixp 4000 5
    ahci 20517 2
    ata_generic 3295 0
    libahci 19959 1 ahci
    libata 165627 5 ahci,pata_acpi,libahci,ata_generic,pata_atiixp
    scsi_mod 132142 3 libata,sd_mod,sr_mod
    total used free shared buffers cached
    Mem: 8182220 2086832 6095388 0 65592 1007076
    -/+ buffers/cache: 1014164 7168056
    Swap: 2104476 0 2104476
    /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:
    Unloading kernel module ehci_hcd...Done.
    /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:
    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:
    kernel.acpi_video_flags = 0
    /usr/lib/pm-utils/sleep.d/99video suspend suspend: success.
    Fri Jun 15 12:19:29 EDT 2012: performing suspend
    Last edited by boast (2012-06-16 21:21:45)

    ewaller wrote:I have no experience with nVidia controllers; sorry.  Does anyone know if it is normal to skip the quirks for that display?
    Yes, that's normal and should work.
    Looking at the module list maybe try stopping the video4linux before suspend.
    To double check: boast, you rebuilt the kernel, yes?

  • I want to transfer my music from one computer account to another on my laptop. How do I do that without killing my music or my previous library?

    Any help? I'm using a new admin on my laptop and want to sync my phone's music to the new admin account. I have no clue if it will work.

    Welcome to the Apple Community.
    Homesharing gives you the option of seeing only the content in the shared library, that is not already in your own library.

  • [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] Suspend to ram doesn't work correctly on Acer Aspire 5100

    Hi people of the archlinux forum.
    Finally I decided to change from ubuntu to archlinux because I wanted to learn more about the world of linux.:D
    I have already almost completely set up my laptop, but I have a problem when suspending to ram. The problem comes out when i wake up the laptop, and the screen starts to flicker and will not go away until i restart the laptop.
    This is my laptop after the suspend:
    I'm using pm-utils to suspend and hibernate my laptop, and the hibernate works fine. All settings were made following the arch wiki.
    this is my xorg.conf
    Section "ServerLayout"
    Identifier "X.org Configured"
    Screen 0 "Screen0" 0 0
    InputDevice "Mouse0" "CorePointer"
    InputDevice "Keyboard0" "CoreKeyboard"
    EndSection
    Section "Files"
    ModulePath "/usr/lib/xorg/modules"
    FontPath "/usr/share/fonts/misc"
    FontPath "/usr/share/fonts/100dpi:unscaled"
    FontPath "/usr/share/fonts/75dpi:unscaled"
    FontPath "/usr/share/fonts/TTF"
    FontPath "/usr/share/fonts/Type1"
    EndSection
    Section "Module"
    Load "dri"
    Load "extmod"
    Load "glx"
    Load "dbe"
    Load "dri2"
    Load "record"
    EndSection
    Section "InputDevice"
    Identifier "Keyboard0"
    Driver "kbd"
    EndSection
    Section "InputDevice"
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/input/mice"
    Option "ZAxisMapping" "4 5 6 7"
    EndSection
    Section "Monitor"
    #DisplaySize 330 210 # mm
    Identifier "Monitor0"
    VendorName "AUO"
    ModelName "2174"
    EndSection
    Section "Device"
    ### Available Driver options are:-
    ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
    ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
    ### [arg]: arg optional
    #Option "NoAccel" # [<bool>]
    #Option "SWcursor" # [<bool>]
    #Option "Dac6Bit" # [<bool>]
    #Option "Dac8Bit" # [<bool>]
    #Option "BusType" # [<str>]
    #Option "CPPIOMode" # [<bool>]
    #Option "CPusecTimeout" # <i>
    #Option "AGPMode" # <i>
    #Option "AGPFastWrite" # [<bool>]
    #Option "AGPSize" # <i>
    #Option "GARTSize" # <i>
    #Option "RingSize" # <i>
    #Option "BufferSize" # <i>
    #Option "EnableDepthMoves" # [<bool>]
    #Option "EnablePageFlip" # [<bool>]
    #Option "NoBackBuffer" # [<bool>]
    #Option "DMAForXv" # [<bool>]
    #Option "FBTexPercent" # <i>
    #Option "DepthBits" # <i>
    #Option "PCIAPERSize" # <i>
    #Option "AccelDFS" # [<bool>]
    #Option "IgnoreEDID" # [<bool>]
    #Option "CustomEDID" # [<str>]
    #Option "DisplayPriority" # [<str>]
    #Option "PanelSize" # [<str>]
    #Option "ForceMinDotClock" # <freq>
    #Option "ColorTiling" # [<bool>]
    #Option "VideoKey" # <i>
    #Option "RageTheatreCrystal" # <i>
    #Option "RageTheatreTunerPort" # <i>
    #Option "RageTheatreCompositePort" # <i>
    #Option "RageTheatreSVideoPort" # <i>
    #Option "TunerType" # <i>
    #Option "RageTheatreMicrocPath" # <str>
    #Option "RageTheatreMicrocType" # <str>
    #Option "ScalerWidth" # <i>
    #Option "RenderAccel" # [<bool>]
    #Option "SubPixelOrder" # [<str>]
    #Option "ShowCache" # [<bool>]
    #Option "ClockGating" # [<bool>]
    #Option "VGAAccess" # [<bool>]
    #Option "ReverseDDC" # [<bool>]
    #Option "LVDSProbePLL" # [<bool>]
    #Option "AccelMethod" # <str>
    #Option "DRI" # [<bool>]
    #Option "ConnectorTable" # <str>
    #Option "DefaultConnectorTable" # [<bool>]
    #Option "DefaultTMDSPLL" # [<bool>]
    #Option "TVDACLoadDetect" # [<bool>]
    #Option "ForceTVOut" # [<bool>]
    #Option "TVStandard" # <str>
    #Option "IgnoreLidStatus" # [<bool>]
    #Option "DefaultTVDACAdj" # [<bool>]
    #Option "Int10" # [<bool>]
    #Option "EXAVSync" # [<bool>]
    #Option "ATOMTVOut" # [<bool>]
    #Option "R4xxATOM" # [<bool>]
    #Option "ForceLowPowerMode" # [<bool>]
    #Option "DynamicPM" # [<bool>]
    #Option "NewPLL" # [<bool>]
    #Option "ZaphodHeads" # <str>
    Identifier "Card0"
    Driver "radeon"
    VendorName "ATI Technologies Inc"
    BoardName "RS482 [Radeon Xpress 200M]"
    BusID "PCI:1:5:0"
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Card0"
    Monitor "Monitor0"
    SubSection "Display"
    Viewport 0 0
    Depth 1
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 4
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 8
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 15
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 16
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 24
    EndSubSection
    EndSection
    I know you maybe need more info, but i don't really know what do you need... please tell me what do you need and a post it!
    Sorry for my english this isn't my native languaje... Thanks you for all
    Last edited by geonunez (2010-07-08 20:19:09)

    I have the same problem with my Acer Aspire 5100 (video ATI Xpress1100).
    xorg.conf is not used. Turning KMS off doesn`t help.
    I have tried to use uswsusp, but it doesn`t help. s2ram -n output correctly identify my laptop, which means it is in "whitelist" and correct settings for this hardware is known. s2ram suspend works, but screen blinking after waking up remains the same.
    [Sydorenko@SLE ~]$ sudo s2ram -n
    Machine matched entry 17:
    sys_vendor = 'Acer *'
    sys_product = 'Aspire 5100 *'
    sys_version = ''
    bios_version = ''
    Fixes: 0x3 S3_BIOS S3_MODE
    This machine can be identified by:
    sys_vendor = "Acer "
    sys_product = "Aspire 5100 "
    sys_version = "V3.10A"
    bios_version = "V3.10A"
    See http://suspend.sf.net/s2ram-support.html for details.
    Last edited by SydMax (2010-06-06 16:53:50)

  • [Solved] Suspend to RAM no longer works

    Suspend to RAM when closing my laptop lid worked out the box for me since I put Arch on my Dell XPS 14. After doing a pacman -Su yesterday (where I noticed that the kernel was updated, but it might be something else) it no longer works. Running 'systemctl suspend' in the terminal does work. Do I have to update a config?
    Last edited by skip (2014-04-01 19:48:23)

    For anyone else that finds this, systemd 212 doesn't suspend with lid closed with or without external monitor for those using the Nvidia proprietary drivers. Nvidia doesn't provide the necessary information for systemd to know whether or not an external monitor is connected, and thus it plays it safe and doesn't suspend. This is explained nicely at the Freedesktop bug linked above, but I wanted to pass it along here for those that won't follow the link.
    Sounds like they're leaning toward reversing the preference (dock/external display users will need to opt out of suspending with lid close) in future versions since non-dock/monitor users >> dock/monitor users.

  • [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)

  • Auto suspend on idle without Gnome or KDE? [SOLVED]

    This may be a stupid question but I've never had to actually mess with this before on a system without Gnome or KDE installed (they have their own utilities which tends to make this easy) and I've spent an hour researching to no avail.
    I'm looking for a way to force the entire computer to automatically suspend to RAM after 30 minutes of no keyboard or mouse activity. I already have pm-utils and xscreensaver installed and 'pm-suspend' already works great when I call it manually but what I'm missing is a way to detect the idle and actually call 'pm-suspend' automatically.  I do have HAL and udev.  Of course it runs X too but there is no D.E. installed.  Only various Window managers.
    BTW- this is for a Desktop not a laptop if that is significant for some reason.  The reason for it is basically I want this computer to suspend (to save power) at night and other times when it's not being used.
    Thanks for any help you can give!
    Last edited by davidm (2011-02-21 01:58:18)

    Still welcoming some help after all....
    I've been attempting to use xfce4-power-manager but am having an issue where as a normal user actual power management options other than for the monitor are disabled.  It works fine as root but not as a normal user.
    User is a member of the power group.
    Have consolekit installed.
    Launching WM from .xinitrc (No Display manager such as slim) using 'exec ck-launch-session /usr/local/bin/wm'
    Anything I am missing for why this wouldn't work? 
    Trying to use the debug option:
    (xfce4-power-manager:2633): xfce4-power-manager-WARNING **: Unable to connect to session managet : Failed to connect to the session manager: SESSION_MANAGER environment variable not defined
    (xfce4-power-manager:2633): xfce4-power-manager-WARNING **: could not map keysym 1008ffa8 to keycode
    ** (xfce4-power-manager:2633): WARNING **: No outputs have backlight property
    ** (xfce4-power-manager:2633): DEBUG: executed /usr/sbin/xfpm-power-backlight-helper --get-max-brightness; retval: 1024
    ** (xfce4-power-manager:2633): DEBUG: xfpm_brightness_setup_helper: get-max-brightness returned -1
    ** (xfce4-power-manager:2633): DEBUG: no brightness controls available
    Last edited by davidm (2011-02-21 01:17:51)

  • [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] Suspend to RAM problems with HP dv7 laptop

    Hello,
    I have an HP dv7-6000 notebook that I can't get suspend to RAM working on. When I tell Linux to suspend, the screen turns off, I hear the hard disk turn off, but all the lights stay on (power, wireless, and touchpad). After a couple minutes the BIOS kicks in and runs the fans at maximum speed. The only way to get out of this situation is to hold down the power button for a hard shutdown.
    It's almost as if the suspend was successful, but "incomplete," because the system for whatever reason is stuck powered on.
    I have updated the BIOS and there is no difference. I have also tried different acpi_os_name values based on my DSDT table ("Windows 2001," "Windows 2009," etc.).
    Both pm-utils log files (pm-powersave.log and pm-suspend.log) are blank. I have also tried uswsusp, and the same thing happens. I have not tried hibernate yet because I don't have a swap partition.
    Some additional hardware information:
    > lspci
    00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
    00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
    00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
    00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
    00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
    00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04)
    00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b4)
    00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b4)
    00:1c.2 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 3 (rev b4)
    00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b4)
    00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
    00:1f.0 ISA bridge: Intel Corporation HM65 Express Chipset Family LPC Controller (rev 04)
    00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 04)
    00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 04)
    01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Seymour [Radeon HD 6400M/7400M Series] (rev ff)
    07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller (rev 06)
    0d:00.0 Network controller: Intel Corporation Centrino Wireless-N 1000 [Condor Peak]
    13:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader (rev 01)
    19:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04)
    Not sure where to go from here, any tips?
    Last edited by rman (2013-08-16 21:20:53)

    +1, I'm having the same issue with both "pm-suspend" and "sytemctl suspend", not always but happening 1 out of 5 times maybe, this started happening since the 3.10* upgrade, currently running 3.10.5-1 on my modest compaq.
    > lspci
    00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 14h Processor Root Complex
    00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Wrestler [Radeon HD 6310]
    00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]
    00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
    00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
    00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller (rev 42)
    00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA) (rev 40)
    00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller (rev 40)
    00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge (rev 40)
    00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
    00:15.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB700/SB800/SB900 PCI to PCI bridge (PCIE port 0)
    00:15.1 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB700/SB800/SB900 PCI to PCI bridge (PCIE port 1)
    00:15.3 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB900 PCI to PCI bridge (PCIE port 3)
    00:16.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
    00:16.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
    00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 0 (rev 43)
    00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 1
    00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 2
    00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 3
    00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 4
    00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 6
    00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 5
    00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 7
    02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader (rev 01)
    06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 05)
    07:00.0 Network controller: Ralink corp. RT5390 Wireless 802.11n 1T/1R PCIe
    Regards

  • [solved] Suspend to RAM and later to disk

    Hello,
    I am a new laptop owner (and new Archlinux user).
    On its original operating system, my laptop has a feature which basically does:
    1- suspend to RAM
    2- after 1 hour in this suspend mode, it wakes up briefly and suspend to disk
    I found many wiki pages about suspending either to disk or to RAM or even both, like https://wiki.archlinux.org/index.php/Su … _Hibernate and that works fine with my laptop.
    But none gave me a solution with this kind of behavior.
    Note that this is different from "hybrid-sleep" which suspend to RAM and disk at the same time and use disk save in case the battery if emptied.
    I see many benefits from what I look for:
    - very fast suspend (on lid close for instance);
    - if I re-open the lid within the hour, very quick restore;
    - if I let the laptop as it is, I know it will automatically suspend to disk and thus I do not worry about battery usage;
    - compared to hybrid-sleep, if I forget my laptop in sleep mode, the battery state will be about the same as when I stopped working, whereas hybrid-sleep needs a recharge.
    So, do you know if it is possible to suspend to RAM and later to disk on Archlinux?
    Any pointers on how to do so?
    Thanks!
    Last edited by cjlano (2013-04-08 20:53:38)

    Hello,
    Here is my solution for a Archlinux / systemd "suspend sedation" based on http://askubuntu.com/questions/12383/ho … -hibernate
    The following script is a Systemd sleep hook. It uses a RTC wake up event (rtcwake) to get out of suspend state and go to hibernate state. If the system leaves suspend state before the RTC event, the RTC wake is cancelled.
    Save the following code in /usr/lib/systemd/system-sleep/suspend-sedation.sh, and make it executable.
    #!/bin/bash
    # Purpose: Auto hibernates after a period of sleep
    # Edit the "autohibernate" variable below to set the number of seconds to sleep.
    lockfile=/var/run/systemd/rtchibernate.lock
    curtime=$(date +%s)
    # 30 min
    autohibernate=1800
    case $1/$2 in
    pre/suspend)
    # Suspending. Record current time, and set a wake up timer.
    echo "Suspending until" `date -d "$autohibernate seconds"`
    echo "$curtime" > $lockfile
    rtcwake -m no -s $autohibernate
    post/suspend)
    # Coming out of sleep
    sustime=$(cat $lockfile)
    echo -n "Back from suspend... "
    rm $lockfile
    # Did we wake up due to the rtc timer above?
    if [ $(($curtime - $sustime)) -ge $autohibernate ]
    then
    # Then hibernate
    echo "hibernate"
    /usr/bin/systemctl hibernate
    else
    echo "wake-up"
    # Otherwise cancel the rtc timer and wake up normally.
    rtcwake -m disable
    fi
    esac
    This script outputs some log you can view using
    journalctl -b -u systemd-suspend
    Any improvements welcome!

  • [SOLVED] How do I enable Autosuspend without powermanager?

    Hi, I recently switched to i3 and would like to cease the situation and try to manage autosuspend without xfce4-powermanager or something similar.
    I already got the hint in the wiki and another thread to use xautolock, but there's one problem:
    the program suggested is xautolock which calls pm-suspend.
    Since pm-suspend has to be run as root, the suggested .xinitrc line for this is:
    xautolock -time 30 -locker "sudo pm-suspend" &
    This won't work, since I don't have (and will not install) sudo, and for this to work you would also have to disable password query for sudo pm-suspend, which kinda lets me scream inside.
    Sleepd sounds pretty much like what I'm looking for, but the git version doesn't want to compile right now and it's AUR only, so I'll have to wait a bit until I can check that out.
    Does anyone know of an alternative approach?
    Last edited by frette (2012-05-06 02:42:03)

    Did you check the wiki on "Suspend to RAM"?  It looks like there are a few tools there that should work for your needs.
    https://wiki.archlinux.org/index.php/Suspend
    Also, after I switched to Awesome WM and didn't have the built in functionality to shutdown/reboot, I asked the same question and was lead to using Consolekit & dbus.
    https://wiki.archlinux.org/index.php/ConsoleKit
    In either case, you can use the "acpid" daemon to trigger suspend when a certain action  happens (ie- closing a laptop).
    https://wiki.archlinux.org/index.php/Acpid
    I'm not sure if this will help for your situation, but I thought I might as well pass the information I was given on to you in case you hadn't checked it out yet.

  • [Solved] Suspend to RAM not working.

    I just installed Arch on an old box with an MSI K8T Neo motherboard and I can't get suspend to RAM working. On the BIOS I have two ACPI modes: S1/POS  and S3/STR. If I set it to S1 it does suspend but the hardware is not actually shut off (the fans, LEDs, and monitor backlight says on). With the S3 setting it does a complete shutdown so when I turn it back on it fresh boots instead of resuming. Suspend to both effectively hibernates when the BIOS setting is S3, with S1 it behaves just as suspend to disk. I've tried using systemd, pm-utils, and writing to /sys/power/state directly. All the same.
    Just until last night I had Windows XP x64 installed and suspend was working just fine. I mostly use it as a file and printer server but I don't want it running all the time so I use Wake-on-Lan so it wakes up on demand and I'll be using a cron script (or whatever is called on systemd) to put it back to sleep after a while.
    Any suggestions?
    Last edited by fernan82 (2014-11-15 00:33:50)

    Flashing the bios fixed the problem. I didn't do it before because the readme that comes with the bios firmware said it was the version I had but it's actually 5 major versions newer.

Maybe you are looking for