[Solved] Can't pm-suspend via acpid

Hello fellow archers, I'm following the acpid wiki to suspend on pressing the sleep/suspend button and for some reason pm-suspend is not executed. Here are the relevant bits:
acpi_listen
button/suspend SUSP 00000080 00000000
/etc/acpi/handler.sh
button/sleep)
case "$2" in
SUSP) #echo -n mem >/sys/power/state ;;
/usr/sbin/pm-suspend ;;
*) logger "ACPI action undefined: $2" ;;
esac
tail -f /var/log/messages.log
localhost xxxx: ACPI group/action undefined: button/suspend / SUSP
It's getting logged but nothing happens.
Any help is appreciated
Last edited by snoxu (2012-04-28 03:52:31)

I don't think it was getting logged like you think.
localhost xxxx: ACPI group/action undefined: button/suspend / SUSP
                             ^^^^^
The 'group/' is not in the snippet you provided.  It must have been generated by some other part of your script.

Similar Messages

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

  • [SOLVED] Can only boot Arch via CD

    Hi all,
    I've installed 64 bit Arch on the 2nd hard drive of a Dell Optiplex 980.
    It works very nicely, but I have a strange boot issue:
    If I boot from the Arch CD, and select "Boot other OS", hit Tab, and manually edit the grub line to "chain.c32 hd 1 0", I am taken to the grub menu on the hard drive and can select my install which boots and runs fine.
    If I select the 2nd HD in the BIOS boot menu (instead of the CD), I get to the same grub menu, but upon selecting my install, I get an Error 17.
    Has anyone run into this before?
    Thanks in advance!
    Last edited by basementhead (2010-09-24 17:52:11)

    Turns out I misunderstood how grub works.
    When I changed my menu.lst to (hd 0,0) it works.
    I thought that the 2nd drive was (hd 1,0), which was reinforced by the boot CD working with (1,0), but I guess the drives are renumbered when you boot from CD?
    The big clues were that the partition that grub said couldn't boot was 0xde (a Dell partition), and I was sure I'd wiped the entire drive, but I knew that the 1st drive was a default Dell/Windows7 install.
    Then using grub command line menu, I typed "find /sbin/init" and it found it on (hd0,2), and the mystery was solved....
    Anyway - fixed by treating the drive as if it was /dev/sda (hd 0,0) instead of /dev/sdb (hd 1,0)
    Thanks!

  • HT4970 I bought a printer Polaroid POGO, MINI PRINTER. I can not connect it via Bluetooth with my iPhone 4. Is there an app to solve this problem, because I'm Judicial Medical Expert, and I need this tool for quick things. grateful

    I bought a printer Polaroid POGO, MINI PRINTER. I can not connect it via Bluetooth with my iPhone 4. Is there an app to solve this problem, because I'm Judicial Medical Expert, and I need this tool for quick things. grateful
    Max Cavichini
    Medical Legal Expert
    Problem ipad and i phone

    This has never been a feature of iphone,ipod touch or ipad.

  • SOLVE strange problem with suspend and resume with gnome-power-manager

    I have pm-utils and gnome installed.
    Suspending and hibernation works well from the command line ($ pm-hibernate and $ pm-suspend).  Resuming works without any problems.
    Suspending from gnome "Shutdown dialog" works perfectly as well.
    However, if suspending is initiated by gnome-power-manager something strange happens:  After pressing the power button resuming switches to hibernation and my laptop turns off.  Resuming from disk works fine again.
    Now, suspending works fine again if I change and save any config file in /etc/pm/.
    Here comes the strange thing:  It doesn't really matter what I change as long as I save it.
    However, as soon as I reboot resuming fails again the way I described above.
    Anyone have a clue what's going on?
    I get no error messages and I've tried all sorts of boot entries.
    Last edited by mehldutt (2007-12-26 19:42:31)

    After some try and error my guess is that "HAL" is responsible for this problem:
    I deinstalled ACPID and 'pm-utils' and switched to 'uswsusp'.
    I made the appropriate changes to the appropriate hal-scrips
    usr/lib/hal/scripts/hal-system-power-suspend:
    #!/bin/sh
    /sbin/s2ram --force
    usr/lib/hal/scripts/hal-system-power-hibernate:
    #!/bin/sh
    /sbin/s2disk
    After these changes I still have the same problem:  immidiatly after resuming form suspend (via power-button) my laptop hibernates (s2disk).
    However, if I delete all entries in "usr/lib/hal/scripts/hal-system-power-hibernate" resuming from suspend works fine again, but hibernate doesn't of course.  So, some script must be calling "usr/lib/hal/scripts/hal-system-power-hibernate" emmediatly after resuming from suspend.
    A couple of weeks ago everything worked fine.  My guess is that one of the recent hal-updates is causing this.
    How can I figure what script is calling "usr/lib/hal/scripts/hal-system-power-hibernate" after resuming from suspend?

  • FIOS to DSL now I can't send email via port 25 or 587

    I was cruising along fine for a year on FIOS.  Then I moved 2 days ago to a new house with DSL.  I connected my system the same as before.  Viola!  I can not send email via Outlook 2002 on non verizon email acccounts.
    Yes, I have read through the port 25/SMTP issues but nothing has worked.  Online support reset my winsock settings, but did not work.
    XP sp 3
    Outlook 2002
    Non Verizon Email
    Anyone find the solution?
    Thanks in advance!
    Solved!
    Go to Solution.

    Maybe this will help:
    For the sake of example, we are going to pretend that we are setting up your outgoing server with  fictional account  "[email protected]" and the password for logging into that account in webmail is "fakepassword" - Again, this is a fictitious account for the sake of an example.
    The Incoming settings will be what your 3rd party provides.
    Outgoing Server: outgoing.verizon.net
    Server Requires Authentication: Yes
    Username: fakeacct
    Password: fakepassword
    Requires a Secure Connection (SSL): No
    Port: 25 (although 587 also works.)
    These settings should work unless you have a Verizon/Yahoo account, in which case the server name should be: outgoing.yahoo.verizon.net
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem.
    "All knowledge is worth having."

  • Can't send email via IMAP settings

    I can't send email via IMAP settings from my Nokia 6630 phone email client.I get message "Check your email settings".I set it properly from Gmail Symbian settings help.It works.After some time client refused to send email.Updating,subscribing and retrieving folders inboy emails work for Gmail server.Any idea to solving mx bug.

    Check all the Outgoing Email settings in Connection Settings with those you downloaded from Gmail support.

  • Q10 - can't share pictures via Whatsapp!

    Somehow I can't share pictures via Whatsapp (locations for example work fine)!
    When I try, the screen goes black and I can only hit the cancel button... Just reinstalled Whatsapp from scratch to no success... very frustrating!
    Any hints or similar experiences??
    Thanks!
    Solved!
    Go to Solution.

    Solution found! You have to give the Whatsapp-App access to your pictures, music, etc.
    Now it finally works!

  • How can I add email (via outlook client) to share options of preview app

    how can I add email (via outlook client) to share options of preview app

    You can't.  Apple's share button only supports Apple Mail (as specified by launching Apple Mail, choosing preferences and choosing general.).  Maybe Apple will open this up to other apps in future updates.

  • I want to shoot a movie on my iPhone and edit it on my iPad using the iMovie app. How can this be done via iTunes on my computer?

    I want to shoot a movie on my iPhone and edit it on my iPad using the iMovie app. How can this be done via iTunes on my computer?

    You can't drag video into the filesharing pane of iTunes, you can only transfer projects.
    Videos need to come in via the photos tab of iTunes.
    The easiest way to get videos from the iPhone to the iPad is via the project export import.
    Projects can be exported from the iPhone, then imported to the iPad like this:
    iPhone Send a project or trailer to iTunes
    If the marquee screen isn’t showing, tap the My Projects button .
    Scroll to center the project or trailer you want to share.
    Tap the Share button at the bottom of the screen, and then tap iTunes; tap OK when iMovie indicates that export is complete.
    Connect your device to your computer, and then open iTunes on your computer.After a moment, your device appears in iTunes, below Devices on the left.
    Select the device, and then click Apps at the top of the iTunes window.
    Select iMovie in the Apps list below File Sharing. (You may need to scroll to see it.)
    In the iMovie Documents pane, select the file you just shared, and then click the “Save to” button; save the file to your computer in a place where you can find it easily.You can also save the file by dragging it to the desired location on your computer.
    Disconnect the device from your computer.
    iPad Import a project or trailer from iTunes
    Connect your device to your computer, and open iTunes on your computer.After a moment, your device appears in iTunes, below Devices on the left.
    Select the device, and click Apps at the top of the iTunes window.
    Select iMovie in the Apps list below File Sharing. (You may need to scroll to see it.)
    Click Add below the iMovie Documents pane; in the window that appears, navigate to the file you want to add.
    Select the file, and then click Open to copy the file to your device.The file appears in the iMovie Documents pane when copying is complete.
    Open iMovie on your device; if the marquee screen isn’t showing, tap the My Projects button in the upper-left corner above the viewer.
    Tap the Import button at the bottom of the screen, and then tap the name of the project you want to import.When the import is complete, the project opens and can be edited like any other project.

  • I have just downloaded ML.  I can get my email via iCloud, but I can't get it on MAIL 6.0.  I have done the JAVA thing--seems to be OK.  MAIL 6.0 on my desktop won't sync with Mobile Me and won't download emails.  Any suggestions?

    I have just downloaded ML.  I can get my email via iCloud, but I can't get it on MAIL 6.0.  I have done the JAVA thing--seems to be OK.  MAIL 6.0 on my desktop won't sync with Mobile Me and won't download emails.  Any suggestions?

    Just did something--am not sure what, probably in the "iCloud"--but seems to be working at last!

  • Can access Apple TV via airplay, but can't get to internet or iMac from Apple TV

    Can access Apple TV via airplay, but can't get to internet or iMac from Apple TV. Whenever I try to put my info in it says to try later. When I test network it says network time has not been set. It has worked previously.

    Try the following steps, check whether things are working after each step where appropriate, before trying the next.
    Check AirPlay is turned on on the Apple TV (turn it off and on if it already is)
    Check that both devices are on the same network (Settings > Wifi, on the mobile device and Settings > General > Network, on the Apple TV).
    Restart the Apple TV (Settings > General > Restart).
    Restart the Apple TV by removing ALL the cables for 30 seconds.
    Restart your router. (Also try removing it’s power cord for at least 30 seconds)
    Restart your mobile device.
    If you are still having problems, the following article(s) may help you.
    Troubleshooting AirPlay
    Troubleshooting Wi-Fi networks and connections
    Recommended Wi-Fi settings
    Wifi Diagnostic Software (for Mac users)
    You may also find some help on this page, where I’ve collected some of the more unusual solutions to network issues.
    When making adjustments to your network for better optimisation, you may find some of the points mentioned on this page helpful.

  • Can't access photos via windows, everything else works iTunes, external software etc.

    Hello,
    Since I installed Windows 8.1 I have quite big problem, can't access photos via windows explorer. iTunes and other software can see phone and works completely fine.
    There is error 28 in device manager.
    Tried uninstalling all services including iTunes itself and got latest iTunes today and still no luck.
    Anybody knows solution to this ?
    (iPhone 4S iOS 7.0.4)

    Is it just me, who got this issue ?

  • Is it possible to recover my data from iCloud backup without working wifi? I have as many other upgraded my iPhone 4S to iOS 7.0.2 with the result that the Wi-Fi or Bluetooth no longer works. However, i can connect to iTunes via cable but there is wrong v

    Is it possible to recover my data from iCloud backup without working wifi? I have as many other upgraded my iPhone 4S to iOS 7.0.2 with the result that the Wi-Fi or Bluetooth no longer works. However, i can connect to iTunes via cable but there is wrong version of backup.

    Answer is no.
    If you want the iCloud backup you have to have n internet connection, thus WiFi.
    The not working WiFi has happened with quite a number of users.
    It is not exactly clear what is the cause but there are suggestions to clear it up:
    Some people have had success by removing an apostrophe from the iPhone name. If your iPhone is called something like “John’s iPhone” then this might work. Go to Settings > General > About > Name and change it to something with no apostrophe.
    Some people have reported success by putting the iPhone into Airplane mode and then going to Settings > General > Reset > Reset Network Settings, but the problem may return.
    You could also try going to Settings > Control Center and disable Access on Lock Screen then turn your iPhone off and on again.
    Make sure that your router firmware is up to date.
    Try backing up your iPhone and then restoring it. Check how to factory reset an iPhone for details.
    If nothing is working for you, try contacting Apple or take your iPhone into an Apple Store.
    Succes, Lex

  • My ipod touch 4g doesn't show option for os update in setting-general page. Can i update it via itunes by connecting it to computer?

    My ipod touch 4g doesn't show option for ios update in setting-general page. Can i update it via itunes by connecting it to computer?

    Try:
    - iOS: Not responding or does not turn on
    When it says place the iPod in recovery mode ue one of these programs:
    For PC
    RecBoot: Easy Way to Put iPhone into Recovery Mode
    If necessary:
    Download QTMLClient.dll & iTunesMobileDevice.dll for RecBoot
    For MAC or PC
    The Firmware Umbrella - TinyUmbrella
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       

Maybe you are looking for

  • Does apple mail need to be re-configured?

    Suddenly my mail program on my macbook pro won't work with my time-warner  Time warner says I have to change my preferences in mail

  • Can I have Recovery and HP Tools in the same partition?

    My HP originally came with 4 partitions. However, I needed one parition to install Ubuntu. Therefore I deleted the HP Tools partition since I backed up the HP Tools files and knew I could get another copy from HP. However, I would like to know if it

  • SQL JOIN problem

    Hello, To output data on my .php website I use a SQL database. One particular page needs information from 3 tables: 1. Product (product.id, product.name) 2. Partner (partner.productid, parner.shopname) 3. Shop (shop.shopshopname) I currently have thi

  • Mavericks installer app

    I have downloaded the Mavericks installer app from the App Store. Ran it and installation went perfectly. Now I want to find the installer app so that I can upgrade my wife's Macbook Pro.... I want to copy it from my machine to hers across our home n

  • Toshiba 3D TV conked off after automatic Software Update!! Need help to get it working like before

    Hi there, I' Using the Toshiba 46TL963G TV since 5 monts, recetly i asked for the **bleep** new software update and I let it install (ofcourse its connected via ethernet cable). After instalment the TV restarted automatically and everything was fine.