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

Similar Messages

  • K9A2 CF Suspend to RAM not working?

    Suspend to RAM worked for a little while but the last three restarts have failed.  I'm using beta BIOS 1.21 and 32-bit WinXP.  BIOS 1.1 never worked.  Is anyone else having problems?  I've set the BIOS to use S3 instead of the default S1 and tried enabling force GPU to POST on restart (or whatever it's called).

    Yes, I installed the Phenom drivers from amd.com.
    My old board had a nForce 570 Ultra chipset.
    I want 64-bit Vista for the 64-bit part.  Only being able to use 3.25GB of my 4GB RAM annoys me.  I could put Fedora 8 on it but then I couldn't play games very well (yes, I know about Cedega).  Could run other stuff in a 32-bit WinXP VMWare Player instance though, and upgrade to 8GB RAM, hmm. 

  • Resume after suspend-to-ram not working whit catalyst

    $uname -a
    Linux drog-laptop 3.4.6-1-ARCH #1 SMP PREEMPT Fri Jul 20 08:21:26 CEST 2012 x86_64 GNU/Linux
    $ pacman -Qs catalyst
    catalyst-hook 12.6-3
    catalyst-utils 12.6-1
    lib32-catalyst-utils 12.6-1
    /var/log/pm-suspend.log
    http://pastebin.com/kWMWKqBy
    groups
    lp,wheel,games,video,audio,storage,power
    The suspend works fine with foss, but fails with catalyst
    EDIT:
    kernel line: root=/dev/sda1 ro nomodeset vga=0
    lsmod
    http://pastebin.com/NHpZRTv0
    i have xorg-server 1.11.4-2
    Last edited by drog (2012-07-23 17:31:43)

    I have a Dell Studio 1555 - ATI 4570 with stock kernel26_x86_64 (2.6.33.3-1), catalyst 10.3 and all is woking ok (hibernate/suspend/restore).
    The "multibyte access to EC" patch is added to stock kernel and all related problems is gone for me.
    It is a problem with restore from suspend (black screen) because of catalyst 10.4, but until that problem is solved I keep catalyst 10.3.
    I posted that problem here:
    http://bbs.archlinux.org/viewtopic.php?id=96482
    If you use xf86-video-ati driver, I don't know what is the problem.
    When I tested open source ati driver to see if powersave features is added, suspend/resume was working for me, but no luck with powersave features, so I stay with catalyst driver)
    Last edited by mits (2010-05-07 10:16:36)

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

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

  • Suspend to ram stopped working with Acer Aspire 5930G - Arch64

    Suspend to ram recently stopped working on my laptop running Arch64. When ever I press the suspend to ram button in kde4 simply nothing happens, no screen flashing or error messages of any kind. I tried to install the pm-utils package and run pm-suspend, but with the same result. The program just ran and nothing happened and no feedback, not even in dmesg.
    Here are the recent packages I've installed:
    [2009-05-20 00:53] synchronizing package lists
    [2009-05-20 00:53] starting full system upgrade
    [2009-05-20 00:54] upgraded cpio (2.9-4 -> 2.9-5)
    [2009-05-20 00:54] upgraded curl (7.19.4-1 -> 7.19.5-1)
    [2009-05-20 00:54] upgraded gconf (2.26.1-2 -> 2.26.2-1)
    [2009-05-20 00:54] upgraded glib2 (2.20.1-1 -> 2.20.2-1)
    [2009-05-20 00:54] upgraded gmp (4.3.0-1 -> 4.3.1-2)
    [2009-05-20 00:54] upgraded gsl (1.12-1 -> 1.12-2)
    [2009-05-20 00:54] upgraded gstreamer0.10 (0.10.22-1 -> 0.10.23-1)
    [2009-05-20 00:54] upgraded gstreamer0.10-base (0.10.22-1 -> 0.10.23-1)
    [2009-05-20 00:54] upgraded irssi (0.8.12-5 -> 0.8.13-1)
    [2009-05-20 00:54] upgraded libdrm (2.4.9-1 -> 2.4.11-1)
    [2009-05-20 00:54] upgraded libsndfile (1.0.19-1 -> 1.0.20-1)
    [2009-05-20 00:54] upgraded mesa (7.4.1-1 -> 7.4.2-1)
    [2009-05-20 00:54] upgraded netcfg (2.1.3-3 -> 2.2.0b1-1)
    [2009-05-20 00:54] upgraded poppler (0.10.6-1 -> 0.10.7-1)
    [2009-05-20 00:54] upgraded poppler-glib (0.10.6-1 -> 0.10.7-1)
    [2009-05-20 00:54] upgraded poppler-qt (0.10.6-1 -> 0.10.7-1)
    [2009-05-20 00:54] upgraded ppp (2.4.4-7 -> 2.4.4-8)
    [2009-05-20 00:54] upgraded psmisc (22.6-2.1 -> 22.7-1)
    [2009-05-20 00:54] upgraded pycairo (1.8.2-1 -> 1.8.4-1)
    [2009-05-20 00:54] upgraded subversion (1.6.2-1 -> 1.6.2-2)
    [2009-05-21 12:57] installed festival (1.96beta-2)
    [2009-05-21 13:01] installed festival-awb-arctic (1.0-1)
    [2009-05-21 13:03] removed festival-awb-arctic (1.0-1)
    [2009-05-21 13:03] removed festival (1.96beta-2)
    [2009-05-21 13:48] installed libmikmod (3.1.12-2)
    [2009-05-21 13:48] installed smpeg (0.4.4-5)
    [2009-05-21 13:48] installed sdl_mixer (1.2.8-3)
    [2009-05-21 13:48] installed ode (0.11-1)
    [2009-05-21 13:48] installed sdl_ttf (2.0.9-1)
    [2009-05-21 13:48] installed sdl_net (1.2.7-2)
    [2009-05-21 13:48] installed xmoto (0.5.1-2)
    Note, I tried to do a -Syu just now and got a new kernel, but it did not change anything.
    EDIT: I'm also currently running the nvidia 180.60 driver.
    Last edited by Avenger (2009-05-22 17:52:05)

    search the forums: http://bbs.archlinux.org/viewtopic.php?pid=556030
    in the future, i would definately use yaourt to upgrade since it displays better what is being updated and from where.
    edit: if pm-suspend fails, check its log (/var/log/pm-suspend.log)
    Last edited by eldragon (2009-05-22 18:16:08)

  • 2 x 1GB 533/667 RAM not working in Satellite M40-289 notebook

    Hi all.
    I have recently tried to upgrade the RAM in my Satellite M40-289 notebook.
    The support site says it can take up to 2Gb of 533MHz RAM, in two 1GB sticks.
    So, I bought two AData PC2 4200S 533/667MHz RAM sticks and installed them, but they do not work, either singly or together - the computer just goes into a beeping hard drive grinding death spiral until I remove the battery.
    They do, however, work if I install one of them with the original stick. What I am figuring is that as they are 533/667 RAM sticks, on their own they are trying to run at their top speed, but with the factory stick installed too they are slowing down to its speed and running correctly.
    So, I have increased my RAM from 512 to 1.5Gb for the price of 2Gb, and have a useless stick of laptop RAM.
    Flashing the BIOS did not help this - the update which was posted on the Toshiba site last year for my notebook upgraded the BIOS from v1.2 to v1.2. Go figure.
    Is there any way of forcing the RAM to run at the correct speed? Is there a hidden BIOS update that could solve my problem or is this likely to be something with the RAM?
    All help is gratefully received.
    kind regards
    Grey_Area

    Hmm. The matched pair I bought said they would run at 533 or 667, but didn't run together. I only got one to work when laid next to the 512Mb module that came with the laptop and only runs at 533. Fortunately the reseller bought the RAM back from me so I am not out of pocket, but I think then I have to try and get hold of another 1Gb module that only runs at 533 if I want to have access to the full 2Gb max RAM that the laptop will take.
    Thanks for you response, I did not know about the FSB thing though. Cheers. We'll have to see what I can get up to!
    kind regards
    GA

  • [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] DPMS screen off not working with xorg 1.16.0, gnome 3

    After the update of xorg into 1.16.0-2, screen is not turned off by DPMS in GNOME.
    I also tried an manual command:
    $ xset dpms force off
    but it's not working.
    In other WM, this command is working.
    With xorg 1.15.2 and gnome 3, there is not this problem.
    When I entered the command, the screen turned off for a couple of seconds and turned back on.
    Last edited by esrevinu (2014-07-22 23:35:07)

    Updating xf86-video-intel to 2.99.912-4 solved the problem.
    Thanks.

  • Systemd: Suspend and Hibernate not working

    Hi,
    When I try to hibernate my Notebook using systemd with 'systemctl hibernate', it sometimes (from time to time it even works) fails with the error message "a dependency job for hibernate.target failed". In the journal I see the following:
    The system clock has been changed to REALTIME microseconds after January 1st, 1970.
    Jun 04 23:52:57 localhost systemd[1]: systemd-hibernate.service: main process exited, code=exited, status=1/FAILURE
    Jun 04 23:52:57 localhost systemd[1]: Failed to start Hibernate.
    -- Subject: Unit systemd-hibernate.service has failed
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/li … temd-devel
    -- Unit systemd-hibernate.service has failed.
    -- The result is failed.
    Jun 04 23:52:57 localhost systemd[1]: Dependency failed for Hibernate.
    -- Subject: Unit hibernate.target has failed
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/li … temd-devel
    -- Unit hibernate.target has failed.
    -- The result is dependency.
    Jun 04 23:52:57 localhost systemd[1]: Service sleep.target is not needed anymore. Stopping.
    Jun 04 23:52:57 localhost systemd[1]: Unit systemd-hibernate.service entered failed state.
    Jun 04 23:52:57 localhost systemd[1]: Stopping Sleep.
    -- Subject: Unit sleep.target has begun shutting down
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/li … temd-devel
    -- Unit sleep.target has begun shutting down.
    Jun 04 23:52:57 localhost systemd[1]: Stopped target Sleep.
    -- Subject: Unit sleep.target has finished shutting down
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/li … temd-devel
    -- Unit sleep.target has finished shutting down.
    :x
    Any ideas? Furthermore, during hibernate (when it works) my screen first gets black, the system comes back and only then it really hibernates.
    Others suggest switching to linux-lts. Does that really make sense? Isn't this a systemd issue?
    suspend sometimes fails to work either (screen gets blank, but system weaks up after a few seconds again):
    Jun 05 06:59:14 localhost systemd[1]: Stopping Sleep.
    -- Subject: Unit sleep.target has begun shutting down
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/li … temd-devel
    -- Unit sleep.target has begun shutting down.
    Jun 05 06:59:14 localhost systemd[1]: Stopped target Sleep.
    -- Subject: Unit sleep.target has finished shutting down
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/li … temd-devel
    -- Unit sleep.target has finished shutting down.
    Jun 05 06:59:14 localhost systemd[1]: Reached target Suspend.
    -- Subject: Unit suspend.target has finished start-up
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/li … temd-devel
    -- Unit suspend.target has finished starting up.
    -- The start-up result is done.
    Thanks,
    Michael

    Thanks, but I do not call systemd-sleep manually, I just do the ordinary "systemctl hibernate".
    Unfortunately, the error "A dependency job for hibernate.target failed. See 'journalctl -xn' for details" just happened again. Alas, I'm not able to debug it according to the manual (https://wiki.archlinux.org/index.php/sy … emd_errors). When I try to get the log messages for the PID that causes hibernate.service to fail, I don't see anything suspicious in the logs:
    $ sudo systemctl status systemd-hibernate.service
    systemd-hibernate.service - Hibernate
       Loaded: loaded (/usr/lib/systemd/system/systemd-hibernate.service; static)
       Active: failed (Result: exit-code) since Fri 2014-06-13 14:32:52 CEST; 12min ago
         Docs: man:systemd-suspend.service(8)
      Process: 26712 ExecStart=/usr/lib/systemd/systemd-sleep hibernate (code=exited, status=1/FAILURE)
    Main PID: 26712 (code=exited, status=1/FAILURE)
    Jun 13 14:32:37 localhost systemd[1]: Starting Hibernate...
    Jun 13 14:32:37 localhost systemd-sleep[26712]: Suspending system...
    Jun 13 14:32:52 localhost systemd[1]: systemd-hibernate.service: main process exited, code=exited, status=1/FAILURE
    Jun 13 14:32:52 localhost systemd[1]: Failed to start Hibernate.
    Jun 13 14:32:52 localhost systemd[1]: Unit systemd-hibernate.service entered failed state.
    $ sudo journalctl -b _PID=XXXX
    -- Logs begin at Thu 2013-09-26 16:12:25 CEST, end at Fri 2014-06-13 14:43:40 CEST. --
    Jun 13 14:32:37 localhost systemd-sleep[26712]: Suspending system...
    Any ideas?

  • [solved] NFS client will not work correctly

    I have all my $HOME on an NFS Server. So long I used suse and debian, now I want switch to arch but the nfs-client ist not working correctly:
    I start "portmap nfslock nfsd netfs" over rc.conf. When I do a "rpcinfo -p <ip-arch-system>" I got the following
    stefan:/home/stefan # rpcinfo -p 192.168.123.3
       Program Vers Proto   Port
        100000    2   tcp    111  portmapper
        100000    2   udp    111  portmapper
        100021    1   udp  32768  nlockmgr
        100021    3   udp  32768  nlockmgr
        100021    4   udp  32768  nlockmgr
        100003    2   udp   2049  nfs
        100003    3   udp   2049  nfs
        100003    4   udp   2049  nfs
        100021    1   tcp  48988  nlockmgr
        100021    3   tcp  48988  nlockmgr
        100021    4   tcp  48988  nlockmgr
        100003    2   tcp   2049  nfs
        100003    3   tcp   2049  nfs
        100003    4   tcp   2049  nfs
        100005    3   udp    891  mountd
        100005    3   tcp    894  mountd
    As you see "status" is missing, so the statd is not running. It sould look like the result on my suse box:
    stefan:/home/stefan # rpcinfo -p 192.168.123.2
       Program Vers Proto   Port
        100000    2   tcp    111  portmapper
        100000    2   udp    111  portmapper
        100024    1   udp  32768  status
        100021    1   udp  32768  nlockmgr
        100021    3   udp  32768  nlockmgr
        100021    4   udp  32768  nlockmgr
        100024    1   tcp  35804  status
        100021    1   tcp  35804  nlockmgr
        100021    3   tcp  35804  nlockmgr
        100021    4   tcp  35804  nlockmgr
    There is the "status" line and so the statd is running.
    How can I fix that problem, so that statd ist running on my arch box too?
    Last edited by stka (2007-06-10 15:59:48)

    The Problem ist solved.
    I use ldap for authentication. During the setup of the ldapclient I copied the nsswitch.ldap to nsswitch.conf. But the line for "hosts:" was:
    hosts:          dns ldap
    but in my dns ist no localhost entry. After I changed this line to:
    hosts:          files dns ldap
    everything was ok. The statd is now running and I can start to migrate to archlinux ;-)

  • Hibernate and suspend to RAM dont work!

    Hi
    whenever I try to suspend to RAM or hibernate my PC, they never get back! In both situations I get a screen full of garbage! Any ideas?
    My PC is
    K8N Neo2 Platinum
    A64 3500
    1GB RAM
    X800XT Ocuk Edition (unlocked X800Pro)

    You may try different suspend states in the bios.
    As for Hibernate, it should always work. Hibernate is more of a windows feature and has nothing to do with Suspend. Basicly windows writes the content of the ram to the harddrive and shutdowns completly. When booting it will load the saved state instead of the regular boot. In theory, even a 486 should support Hibernate.

Maybe you are looking for

  • PCIe Serial Card Stopped Working in Yosemite

    I have a PCIe serial card in a Mac Pro based on the 16950 that's been working fine up until Yosemite. It's been working with the built-in Apple16x50Serial.kext driver. With Yosemite, it looks like the driver loads okay, but no serial port appears und

  • Another Noobie question - readLine()

    Hi all This is another one of the extreme noob questions. I wrote a small program to read form a text file     String NetworkLine = new String();     try{         FileReader inputFile = new FileReader("Test.txt");  //         BufferedReader in = new

  • After update GIF's on 9gag doesn't work and no video but Just sound

    After update on 28-02-2015 Other web browsers don't have that problem. Also the Firefox Android bèta version has that problem. Android 4.2.2 At 9gag the GIF's art not visible. Other sites no problem. Embeted video no pics, Just sound.

  • Can't Play Games on AMD Radeon 6770M??

    Hello... i'm just figuring out to buy a new laptop n' that in my mind would probably be the hp pavilion dv6-6165tx ( this model is selling now in India n' sadly we can't customize them ) that has the intel corei7 2670QM and switchable Radeon 6770m. T

  • Sauvegarder un graphe dans un fichier si necessaire

    Bonjour  Dans une boucle while, j'ai une structure conditionnelle qui intègre un nouvelle boucle while dans cette boucle je construit un tableau de valeurs que j'affiche dans un graphe dès que le nb requis d'échantillons est acquis tout cela marche b