Resume does not work properly: monitor off

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
hauntergeist

Resume does not work properly: monitor off

Post by hauntergeist »

Hi,

I did a fresh installation of Linux Mint 13 a few days ago and it works fine with an exception. When I use "Menu -> Quit -> Suspend" then the Internet connection is closed, the monitor turns off and the PC's Power button is blinking (a sign that it is successfully suspended). That's fine, but when I want to wake the PC up (by pressing the Power button, pressing any key or moving the mouse) then the screen stays turned off. The PC's Power button stops blinking and I hear a click in the speakers, which I interpret as a sign that the rest of the computer is turned on. So I have to force reboot my computer by holding the Power button and the systems boots normally.

I would like to use the suspend function, but I don't know how to tackle the monitor problem. I checked the log file (/var/log/pm-suspend.log) but can't find anything suspicious and I couldn't find anything similiar in the forums. Any help is appreciated.

The latest content of pm-suspend.log is attached for debugging.

EDIT: Additional Information:
-- Graphic Card: ATI Radeon X550 with open source drivers (proprietary ones do not support this card)
-- Monitor: Samtron 76E (VGA)
Turning the monitor off when the computer is idle and waking it up by pressing keys or moving the mouse works perfectly fine. So it really is the suspend feature that makes the trouble.

Code: Select all

Initial commandline parameters: 
Sam Sep  1 17:28:03 CEST 2012: 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 saturn 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:41:14 UTC 2012 i686 athlon i386 GNU/Linux
Module                  Size  Used by
snd_hda_codec_realtek   174055  1 
snd_hda_intel          32765  3 
snd_hda_codec         109562  2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep              13276  1 snd_hda_codec
snd_pcm                80845  2 snd_hda_intel,snd_hda_codec
snd_seq_midi           13132  0 
snd_rawmidi            25424  1 snd_seq_midi
snd_seq_midi_event     14475  1 snd_seq_midi
snd_seq                51567  2 snd_seq_midi,snd_seq_midi_event
snd_timer              28931  2 snd_pcm,snd_seq
snd_seq_device         14172  3 snd_seq_midi,snd_rawmidi,snd_seq
radeon                729591  2 
snd                    62064  15 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
i2c_ali15x3            12878  0 
k8temp                 12905  0 
soundcore              14635  1 snd
i2c_ali1535            12777  0 
snd_page_alloc         14115  2 snd_hda_intel,snd_pcm
rfcomm                 38139  0 
bnep                   17830  2 
ttm                    65344  1 radeon
drm_kms_helper         45466  1 radeon
bluetooth             158438  10 rfcomm,bnep
ppdev                  12849  0 
drm                   197692  4 radeon,ttm,drm_kms_helper
ns558                  12654  0 
binfmt_misc            17292  1 
parport_pc             32114  1 
gameport               15060  2 ns558
shpchp                 32325  0 
i2c_algo_bit           13199  1 radeon
mac_hid                13077  0 
ali_agp                12957  0 
lp                     17455  0 
parport                40930  3 ppdev,parport_pc,lp
usbhid                 41906  0 
hid                    77367  1 usbhid
firewire_ohci          40180  0 
pata_ali               13562  0 
firewire_core          56906  1 firewire_ohci
crc_itu_t              12627  1 firewire_core
r8169                  56321  0 
             total       used       free     shared    buffers     cached
Mem:       1025268     727400     297868          0      36300     453400
-/+ buffers/cache:     237700     787568
Swap:      1998844       1024    1997820

/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.
Sam Sep  1 17:28:05 CEST 2012: performing suspend
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
LindseyD.
Level 4
Level 4
Posts: 333
Joined: Fri Mar 26, 2010 12:35 pm

Re: Resume does not work properly: monitor off

Post by LindseyD. »

I used to have this problem with another Debian-based distribution. I got the screen back by pressing Ctrl-Alt-F8 then Ctrl-Alt-F7. Or it could be the other way round. You won't hurt anything by trying both ways :)
Mint17 KDE
AdamDK

Re: Resume does not work properly: monitor off

Post by AdamDK »

I am having a similar problem, and I hope someone can help us both. Aside: thanks to Mint team, for such a great release.

Moving my PC Desktop to a suspend state via 'pm-suspend' works perfectly, so far as I can tell. But, performing a 'resume' to bring the computer out of suspension (via keyboard or mouse input), while clearly spinning up the hard disks, results in no video on the monitor; nor does it allow me to remote ssh into the machine; so clearly the ssh daemon hasn't resumed either.

Here is the relevant /var/log/pm-suspend.log:

Code: Select all

Initial commandline parameters: 
Sun Oct 28 14:52:08 EDT 2012: 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 PC-Server 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Module                  Size  Used by
vesafb                 13844  1 
bnep                   18281  2 
rfcomm                 47604  4 
parport_pc             32866  0 
bluetooth             180104  10 bnep,rfcomm
ppdev                  17113  0 
binfmt_misc            17540  1 
snd_hda_codec_idt      70795  1 
snd_hda_intel          33773  4 
snd_hda_codec         127706  2 snd_hda_codec_idt,snd_hda_intel
snd_hwdep              13668  1 snd_hda_codec
snd_seq_midi           13324  0 
snd_rawmidi            30748  1 snd_seq_midi
snd_seq_midi_event     14899  1 snd_seq_midi
snd_seq                61896  2 snd_seq_midi,snd_seq_midi_event
nvidia              12375202  30 
snd_ctxfi             111202  3 
snd_pcm                97188  3 snd_hda_intel,snd_hda_codec,snd_ctxfi
usbhid                 47199  0 
mac_hid                13253  0 
snd_seq_device         14540  3 snd_seq_midi,snd_rawmidi,snd_seq
psmouse                87603  0 
snd_timer              29990  2 snd_seq,snd_pcm
serio_raw              13211  0 
hid                    99559  1 usbhid
snd                    78855  24 snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_rawmidi,snd_seq,snd_ctxfi,snd_pcm,snd_seq_device,snd_timer
shpchp                 37277  0 
soundcore              15091  1 snd
snd_page_alloc         18529  3 snd_hda_intel,snd_ctxfi,snd_pcm
x38_edac               13092  0 
edac_core              53746  2 x38_edac
lp                     17799  0 
parport                46562  3 parport_pc,ppdev,lp
arcmsr                 37554  1 
pata_marvell           12912  0 
e1000e                156693  0 
firewire_ohci          41000  0 
firewire_core          63558  1 firewire_ohci
crc_itu_t              12707  1 firewire_core
             total       used       free     shared    buffers     cached
Mem:       8176424     806732    7369692          0      46804     391008
-/+ buffers/cache:     368920    7807504
Swap:      8384508          0    8384508

/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.
>>> >>> 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:
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.
Running hook /etc/pm/sleep.d/novatel_3g_suspend suspend suspend:

/etc/pm/sleep.d/novatel_3g_suspend suspend suspend: success.
Sun Oct 28 14:52:10 EDT 2012: performing suspend
uname -a: gives "Linux PC-Server 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux"

I'm using for a graphics card an Nvidia GTS 250, running driver 295.75.

I'm not sure if it matters, but here's my cat /proc/acpi/wakeup:

Code: Select all

Device	S-state	  Status   Sysfs node
SLPB	  S4	*enabled   
P32	  S4	*disabled  pci:0000:00:1e.0
ILAN	  S4	*enabled   pci:0000:00:19.0
PEGP	  S4	*disabled  pci:0000:00:01.0
PEX0	  S4	*disabled  pci:0000:00:1c.0
PEX1	  S4	*disabled  
PEX2	  S4	*disabled  
PEX3	  S4	*disabled  
PEX4	  S4	*disabled  pci:0000:00:1c.4
PEX5	  S4	*disabled  
UHC1	  S3	*enabled   pci:0000:00:1d.0
UHC2	  S3	*enabled   pci:0000:00:1d.1
UHC3	  S3	*enabled   pci:0000:00:1d.2
UHC4	  S3	*disabled  
EHCI	  S3	*enabled   pci:0000:00:1d.7
EHC2	  S3	*enabled   pci:0000:00:1a.7
UH42	  S3	*enabled   pci:0000:00:1a.0
UHC5	  S3	*enabled   pci:0000:00:1a.1
UHC6	  S3	*enabled   pci:0000:00:1a.2
AZAL	  S3	*disabled  pci:0000:00:1b.0
The only other thing I can think might matter that's not from my default install is I've added a file:

/etc/udev/rules.d/90-keyboardwakeup.rules

In order to wake via keyboard and mouse, which has two entries:

SUBSYSTEM=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c50e" RUN+="/bin/sh -c 'echo enabled > /sys$env{DEVPATH}/../power/wakeup'"
SUBSYSTEM=="usb", ATTRS{idVendor}=="05f3", ATTRS{idProduct}=="0007" RUN+="/bin/sh -c 'echo enabled > /sys$env{DEVPATH}/../power/wakeup'"

If anyone has thoughts on a) what's wrong; and b) what might help to make "resume" work, I'd love to hear about it!

All the best,
Adam
paalge

Re: Resume does not work properly: monitor off

Post by paalge »

Hi
I have a similar problem with Linux Mint Debian Edition with cinnamon, which I just installed:
uname -a
Linux foo-bar 3.2.0-3-amd64 #1 SMP Thu Jun 28 09:07:26 UTC 2012 x86_64 GNU/Linux

When I resume my screen comes up, but it remains black with only the mouse pointer showing. I've pressed every button, but nothing happens.
I have to restart the computer to get back in.

Regards
Pål
Locked

Return to “Other topics”