Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm running Ubuntu 12.04 here. I've set my laptop so that it goes into sleep mode every time I shut the screen, but as it resumes, there is an error that appears for about two seconds before the login screen shows up.

[xxx.xxxxxx] dpn_run_callback(): pnp_bus_resume+0x0/0x70 returns -19
[xxx.xxxxxx] PM: Device 00:00 failed to resume: error -19

Again, it only appears for two seconds, so it isn't the end of the world or anything, but I'm afraid it may lead to other complications if I don't try and fix it. Any thoughts on how to fix this?

Looking further into pm.suspend.log it looks like the errors read as follows:

/usr/lib/pm-utils/sleep.d/75modules resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/60_wpa_supplicant resume suspend:
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory

/usr/lib/pm-utils/sleep.d/60_wpa_supplicant resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/55NetworkManager resume suspend:
Having NetworkManager wake interfaces back up...Failed.

All other processes end with success.. I'm still pretty new to Ubuntu so I'm not really sure what to do from here. The log of the most recent suspend-resume cycle is as follows:

Initial commandline parameters: 
Wed Sep 25 11:07:55 EDT 2013: Running hooks for suspend.
Running hook /usr/lib/pm-utils/sleep.d/000kernel-change suspend suspend:

/usr/lib/pm-utils/sleep.d/000kernel-change suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:
Linux jason-AO756 3.8.0-30-generic #44~precise1-Ubuntu SMP Fri Aug 23 18:32:41 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
    Module                  Size  Used by
    rfcomm                 47864  0 
    bnep                   18258  2 
    bluetooth             247024  10 rfcomm,bnep
    parport_pc             28284  0 
    ppdev                  17113  0 
    arc4                   12573  2 
    ath9k                 151796  0 
    snd_hda_codec_hdmi     37407  1 
    snd_hda_codec_realtek    79916  1 
    mac80211              630977  1 ath9k
    snd_hda_intel          44339  5 
    snd_hda_codec         141761  3
    snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
    snd_hwdep              13668  1 snd_hda_codec
    snd_pcm               102477  4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
    ath9k_common           14053  1 ath9k
    snd_seq_midi           13324  0 
    snd_rawmidi            30417  1 snd_seq_midi
    snd_seq_midi_event     14899  1 snd_seq_midi
    i915                  620419  2 
    ath9k_hw              422432  2 ath9k,ath9k_common
    uvcvideo               82214  0 
    snd_seq                61930  2 snd_seq_midi,snd_seq_midi_event
    ath                    24123  3 ath9k,ath9k_common,ath9k_hw
    snd_timer              29989  2 snd_pcm,snd_seq
    coretemp               13596  0 
    snd_seq_device         14497  3 snd_seq_midi,snd_rawmidi,snd_seq
    cfg80211              525244  3 ath9k,mac80211,ath
    videobuf2_core         40785  1 uvcvideo
    kvm_intel             137899  0 
    mei                    41820  0 
    drm_kms_helper         49597  1 i915
    videodev              130053  2 uvcvideo,videobuf2_core
    drm                   287564  3 i915,drm_kms_helper
    psmouse                97873  0 
    kvm                   455932  1 kvm_intel
    snd                    69533  19 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
    videobuf2_vmalloc      13056  1 uvcvideo
    joydev                 17613  0 
    ghash_clmulni_intel    13259  0 
    videobuf2_memops       13202  1 videobuf2_vmalloc
    soundcore              12680  1 snd
    acer_wmi               32858  0 
    cryptd                 20501  1 ghash_clmulni_intel
    sparse_keymap          13890  1 acer_wmi
    snd_page_alloc         18798  2 snd_hda_intel,snd_pcm
    serio_raw              13215  0 
    i2c_algo_bit           13564  1 i915
    video                  19652  2 i915,acer_wmi
    wmi                    19256  1 acer_wmi
    lpc_ich                17144  0 
    mac_hid                13253  0 
    microcode              23017  0 
    lp                     17799  0 
    parport                46562  3 parport_pc,ppdev,lp
    ahci                   25879  2 
    libahci                31606  1 ahci
    sdhci_pci              18721  0 
    sdhci                  33141  1 sdhci_pci
    tg3                   165622  0 
    ptp                    18668  1 tg3
    pps_core               14080  1 ptp
                 total       used       free     shared    buffers     cached
    Mem:       1796004    1559084     236920          0      37536     717436
    -/+ buffers/cache:     804112     991892
   Swap:      1907708      80648    1827060

/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/01PulseAudio suspend suspend:
Welcome to PulseAudio! Use "help" for usage information.
>>> >>> Welcome to PulseAudio! Use "help" for usage information.
>>> >>> Welcome to PulseAudio! Use "help" for usage information.
>>> >>> 
/usr/lib/pm-utils/sleep.d/01PulseAudio suspend suspend: success.
Running hook /etc/pm/sleep.d/10_grub-common suspend suspend:

/etc/pm/sleep.d/10_grub-common suspend suspend: success.
Running hook /etc/pm/sleep.d/10_unattended-upgrades-hibernate suspend suspend:

/etc/pm/sleep.d/10_unattended-upgrades-hibernate suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend:
Having NetworkManager put all interaces to sleep...Failed.

/usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/60_wpa_supplicant suspend suspend:
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory

/usr/lib/pm-utils/sleep.d/60_wpa_supplicant suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/75modules suspend suspend:

/usr/lib/pm-utils/sleep.d/75modules suspend suspend: not applicable.
Running hook /usr/lib/pm-utils/sleep.d/90clock suspend suspend:

/usr/lib/pm-utils/sleep.d/90clock suspend suspend: not applicable.
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/95anacron suspend suspend:
stop: Unknown instance: 

/usr/lib/pm-utils/sleep.d/95anacron suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/95hdparm-apm suspend suspend:

/usr/lib/pm-utils/sleep.d/95hdparm-apm suspend suspend: not applicable.
Running hook /usr/lib/pm-utils/sleep.d/95led suspend suspend:

/usr/lib/pm-utils/sleep.d/95led suspend suspend: not applicable.
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.
Running hook /etc/pm/sleep.d/novatel_3g_suspend suspend suspend:

/etc/pm/sleep.d/novatel_3g_suspend suspend suspend: success.
Wed Sep 25 11:07:56 EDT 2013: performing suspend
Wed Sep 25 11:08:05 EDT 2013: Awake.
Wed Sep 25 11:08:05 EDT 2013: Running hooks for resume
Running hook /etc/pm/sleep.d/novatel_3g_suspend resume suspend:

/etc/pm/sleep.d/novatel_3g_suspend resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/99video resume suspend:

/usr/lib/pm-utils/sleep.d/99video resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler resume suspend:

/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/95led resume suspend:

/usr/lib/pm-utils/sleep.d/95led resume suspend: not applicable.
Running hook /usr/lib/pm-utils/sleep.d/95hdparm-apm resume suspend:

/dev/sda:
 setting Advanced Power Management level to 0xfe (254)
 APM_level  = 254

/dev/sda:
 setting Advanced Power Management level to 0xfe (254)
 APM_level  = 254

/usr/lib/pm-utils/sleep.d/95hdparm-apm resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/95anacron resume suspend:

/usr/lib/pm-utils/sleep.d/95anacron resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/94cpufreq resume suspend:

/usr/lib/pm-utils/sleep.d/94cpufreq resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/90clock resume suspend:

/usr/lib/pm-utils/sleep.d/90clock resume suspend: not applicable.
Running hook /usr/lib/pm-utils/sleep.d/75modules resume suspend:
Reloaded unloaded modules.

/usr/lib/pm-utils/sleep.d/75modules resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/60_wpa_supplicant resume suspend:
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory

/usr/lib/pm-utils/sleep.d/60_wpa_supplicant resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/55NetworkManager resume suspend:
Having NetworkManager wake interfaces back up...Failed.

/usr/lib/pm-utils/sleep.d/55NetworkManager resume suspend: success.
Running hook /etc/pm/sleep.d/10_unattended-upgrades-hibernate resume suspend:

/etc/pm/sleep.d/10_unattended-upgrades-hibernate resume suspend: success.
Running hook /etc/pm/sleep.d/10_grub-common resume suspend:

/etc/pm/sleep.d/10_grub-common resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/01PulseAudio resume suspend:
Welcome to PulseAudio! Use "help" for usage information.
>>> >>> Welcome to PulseAudio! Use "help" for usage information.
>>> >>> Welcome to PulseAudio! Use "help" for usage information.
>>> >>> 
/usr/lib/pm-utils/sleep.d/01PulseAudio resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/00powersave resume suspend:

/usr/lib/pm-utils/sleep.d/00powersave resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/00logging resume suspend:

/usr/lib/pm-utils/sleep.d/00logging resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/000kernel-change resume suspend:

/usr/lib/pm-utils/sleep.d/000kernel-change resume suspend: success.
Wed Sep 25 11:08:06 EDT 2013: Finished.
share|improve this question
    
It's difficult to diagnose, if you don't experience any further symptoms. Let's take a look at your /var/log/pm-suspend.log. –  David Foerster Sep 25 '13 at 12:15
    
Edited my initial post with updated information. –  Jason Sep 25 '13 at 14:56
    
Even though 60_wpa_supplicant prints a warning, it returns 0, which tells pm, that it succeeded. Also the message doesn't seem to be related to wpa_supplicant. Nothing to see here. –  David Foerster Sep 25 '13 at 15:05
    
I could post the entire log of resuming from sleep mode, but that's still a lot of text to sort through... –  Jason Sep 25 '13 at 15:24
    
We need only the last suspend-resume cycle. –  David Foerster Sep 25 '13 at 16:30
show 3 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.