Greetings forum-goers. I have been trying to get my new (custom built) computer to suspend and hibernate without success. Whenever I tell it to suspend or hibernate the screen goes black, almost as if it were working, but immediately returns to a login screen. The power never turns off. I have successfully been able to suspend under windows vista, so it would seem that hardware is certainly capable. But I cannot replicate this under an installed or live-cd version of ubuntu.
I am using ubuntu 9.10 64 bit, a core i7 920, and a gigabyte X58A-UD3R motherboard.
It would seem that the computer supports suspend and hibernate:
Code:
$ cat /sys/power/state
mem disk
But after running
unsuccessfully, the log file shows
Code:
$ cat /var/log/pm-suspend.log
Initial commandline parameters:
Sat Apr 3 15:45:36 EST 2010: Running hooks for suspend.
/usr/lib/pm-utils/sleep.d/000record suspend suspend: success.
/usr/lib/pm-utils/sleep.d/00auto-quirk suspend suspend: Adding quirks from HAL: --quirk-dpms-on --quirk-dpms-suspend --quirk-vbe-post --quirk-vbemode-restore --quirk-vbestate-restore --quirk-vga-mode-3
success.
/usr/lib/pm-utils/sleep.d/00logging suspend suspend: Linux zeus 2.6.31-20-generic #58-Ubuntu SMP Fri Mar 12 04:38:19 UTC 2010 x86_64 GNU/Linux
Module Size Used by
binfmt_misc 10220 1
ppdev 8232 0
snd_hda_codec_realtek 277860 1
snd_hda_intel 31880 2
snd_hda_codec 87584 2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 9352 1 snd_hda_codec
snd_pcm_oss 44704 0
snd_mixer_oss 18976 1 snd_pcm_oss
snd_pcm 93160 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_dummy 3460 0
snd_seq_oss 33440 0
snd_seq_midi 8192 0
snd_rawmidi 27296 1 snd_seq_midi
snd_seq_midi_event 8448 2 snd_seq_oss,snd_seq_midi
snd_seq 60608 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 26992 2 snd_pcm,snd_seq
snd_seq_device 8308 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
iptable_filter 3872 0
ip_tables 21200 1 iptable_filter
snd 77096 16 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 9088 1 snd
xhci 40772 0
x_tables 25832 1 ip_tables
lp 11908 0
psmouse 57124 0
snd_page_alloc 10928 2 snd_hda_intel,snd_pcm
nvidia 10316904 56
serio_raw 6596 0
joydev 13088 0
parport 40528 2 ppdev,lp
dm_raid45 78504 0
xor 5456 1 dm_raid45
ohci1394 33780 0
usbhid 43968 0
ieee1394 100896 1 ohci1394
r8169 38884 0
mii 6368 1 r8169
floppy 65192 0
total used free shared buffers cached
Mem: 6124104 1838148 4285956 0 44244 237876
-/+ buffers/cache: 1556028 4568076
Swap: 8980292 0 8980292
success.
/usr/lib/pm-utils/sleep.d/00powersave suspend suspend: success.
/usr/lib/pm-utils/sleep.d/01PulseAudio suspend suspend: success.
/etc/pm/sleep.d/10_grub-common suspend suspend: success.
/etc/pm/sleep.d/10_unattended-upgrades-hibernate suspend suspend: success.
/usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend: not applicable.
/usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend: success.
/usr/lib/pm-utils/sleep.d/75modules suspend suspend: success.
/usr/lib/pm-utils/sleep.d/90clock suspend suspend: not applicable.
/usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend: success.
/usr/lib/pm-utils/sleep.d/95anacron suspend suspend: stop: Unknown instance:
success.
/usr/lib/pm-utils/sleep.d/95led suspend suspend: not applicable.
/usr/lib/pm-utils/sleep.d/96laptop-mode suspend suspend: success.
/usr/lib/pm-utils/sleep.d/98smart-kernel-video suspend suspend: success.
/usr/lib/pm-utils/sleep.d/99video suspend suspend: kernel.acpi_video_flags = 0
success.
/etc/pm/sleep.d/action_wpa suspend suspend: success.
Sat Apr 3 15:45:37 EST 2010: performing suspend
Sat Apr 3 15:45:38 EST 2010: Awake.
Sat Apr 3 15:45:38 EST 2010: Running hooks for resume
/etc/pm/sleep.d/action_wpa resume suspend: success.
/usr/lib/pm-utils/sleep.d/99video resume suspend: success.
/usr/lib/pm-utils/sleep.d/98smart-kernel-video resume suspend: success.
/usr/lib/pm-utils/sleep.d/96laptop-mode resume suspend: success.
/usr/lib/pm-utils/sleep.d/95led resume suspend: not applicable.
/usr/lib/pm-utils/sleep.d/95anacron resume suspend: success.
/usr/lib/pm-utils/sleep.d/94cpufreq resume suspend: success.
/usr/lib/pm-utils/sleep.d/90clock resume suspend: not applicable.
/usr/lib/pm-utils/sleep.d/75modules resume suspend: success.
/usr/lib/pm-utils/sleep.d/55NetworkManager resume suspend: success.
/usr/lib/pm-utils/sleep.d/49bluetooth resume suspend: not applicable.
/etc/pm/sleep.d/10_unattended-upgrades-hibernate resume suspend: success.
/etc/pm/sleep.d/10_grub-common resume suspend: success.
/usr/lib/pm-utils/sleep.d/01PulseAudio resume suspend: success.
/usr/lib/pm-utils/sleep.d/00powersave resume suspend: success.
/usr/lib/pm-utils/sleep.d/00logging resume suspend: success.
/usr/lib/pm-utils/sleep.d/00auto-quirk resume suspend: success.
/usr/lib/pm-utils/sleep.d/000record resume suspend: success.
Sat Apr 3 15:45:38 EST 2010: Finished.
So I installed uswsusp and tried running s2ram
Code:
$ sudo s2ram
Machine is unknown.
This machine can be identified by:
sys_vendor = "Gigabyte Technology Co., Ltd."
sys_product = "X58A-UD3R"
sys_version = " "
bios_version = "F1"
See http://suspend.sf.net/s2ram-support.html for details.
If you report a problem, please include the complete output above.
forcing it gives
Code:
$ sudo s2ram --force
Switching from vt1 to vt1
[ 739.651149] pm_op(): usb_dev_suspend+0x0/0x10 returns -2
[ 739.651151] PM: Device usb9 failed to suspend: error -2
[ 739.651154] PM: some devices failed to suspend
s2ram_do: No such file or directory
switching back to vt1
but running lsusb shows nothing on usb9:
Code:
$ lsusb
Bus 009 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 002: ID 413c:2003 Dell Computer Corp. Keyboard
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 046d:c521 Logitech, Inc. MX620 Laser Cordless Mouse
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
I thought it was about time I asked for help. Does anyone have any ideas how I could fix this problem? Thanks!
Solved (sort of): The USB port causing the problem was USB version 3. Turning the USB3 controller off in the BIOS alleviated the problem. But it's only really a temporary solution.
Bookmarks