esbennn
7th January 2012, 07:00 PM
Greetings
As the header indicates, my lappy wont suspend.
To get it to suspend in the first place, i did this: http://forums.fedoraforum.org/showthread.php?t=265588 which works fine.
But as it's a laptop with nvidia optimus, i am using acpi_call to disable the discrete card to save power. Information on this can be found here: https://github.com/mkottman/acpi_call
Once the discrete card has been dsabled, suspend doesn't work. I didn't expect it to either. Screen just goes blank and hdd spins down, but the computer is still on.
However, i would expect it to work if i use acpi_call to turn the card back on. But it doesn't - it does almost the same as before, except it leaves some text on the screen: http://dl.dropbox.com/u/5416864/2012-01-06_16-02-39_511.jpg
I have also tried unloading the acpi_call module (and re-enabling the card) like this:
sudo rmmod acpi_call
So right now, i have to choose between bad battery life and no ability to suspend.
I would be so very pleased, if anyone had any idea how to work around this.
Thanks in advance :)
Oh, btw here's the /var/log/pm-suspend.log from a failed suspend:
[esben@fedora ~]$ cat /var/log/pm-suspend.log
Initial commandline parameters:
Sat Jan 7 19:12:06 CET 2012: Running hooks for suspend.
Running hook /usr/lib64/pm-utils/sleep.d/00logging suspend suspend:
Linux fedora 3.1.6-1.fc16.x86_64 #1 SMP Wed Dec 21 22:41:17 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
Module Size Used by
rfcomm 63357 4
ppdev 8131 0
parport_pc 21058 0
lp 10418 0
parport 35827 3 ppdev,parport_pc,lp
lockd 78490 0
bnep 15370 2
nf_conntrack_ipv4 9030 2
nf_defrag_ipv4 1561 1 nf_conntrack_ipv4
ip6t_REJECT 4451 2
nf_conntrack_ipv6 8338 2
nf_defrag_ipv6 9740 1 nf_conntrack_ipv6
xt_state 1370 4
nf_conntrack 76503 3 nf_conntrack_ipv4,nf_conntrack_ipv6,xt_state
ip6table_filter 1735 1
ip6_tables 19304 1 ip6table_filter
fuse 69330 7
snd_hda_codec_hdmi 25842 1
snd_hda_codec_realtek 327386 1
uvcvideo 66310 0
videodev 92903 1 uvcvideo
media 12416 2 uvcvideo,videodev
v4l2_compat_ioctl32 9334 1 videodev
snd_hda_intel 26310 1
snd_hda_codec 97519 3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_i ntel
snd_hwdep 6891 1 snd_hda_codec
snd_seq 58599 0
snd_seq_device 6425 1 snd_seq
snd_pcm 89984 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
arc4 1481 2
asus_nb_wmi 1915 0
asus_wmi 16175 1 asus_nb_wmi
sparse_keymap 3854 1 asus_wmi
uinput 8254 0
joydev 10372 0
ath3k 6383 0
btusb 16240 1
bluetooth 237251 24 rfcomm,bnep,ath3k,btusb
ath9k 87851 0
microcode 19616 0
mac80211 244208 1 ath9k
i2c_i801 9893 0
ath9k_common 2904 1 ath9k
ath9k_hw 369409 2 ath9k,ath9k_common
snd_timer 22199 2 snd_seq,snd_pcm
snd 71085 11 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_i ntel,snd_hda_codec,snd_hwdep,snd_seq,snd_seq_devic e,snd_pcm,snd_timer
ath 16506 3 ath9k,ath9k_common,ath9k_hw
soundcore 7124 1 snd
snd_page_alloc 8061 2 snd_hda_intel,snd_pcm
cfg80211 181887 3 ath9k,mac80211,ath
iTCO_wdt 12452 0
iTCO_vendor_support 2699 1 iTCO_wdt
atl1c 35691 0
serio_raw 4558 0
sunrpc 225584 2 lockd
rfkill 17938 5 asus_wmi,bluetooth,cfg80211
binfmt_misc 7775 1
nouveau 754554 0
i915 560335 4
ttm 61533 1 nouveau
drm_kms_helper 30277 2 nouveau,i915
drm 213647 7 nouveau,ttm,i915,drm_kms_helper
i2c_algo_bit 5572 2 nouveau,i915
mxm_wmi 1743 1 nouveau
i2c_core 28203 7 videodev,i2c_i801,nouveau,i915,drm_kms_helper,drm, i2c_algo_bit
wmi 9737 2 asus_wmi,mxm_wmi
video 12388 2 nouveau,i915
total used free shared buffers cached
Mem: 8080616 1748792 6331824 0 50312 915752
-/+ buffers/cache: 782728 7297888
Swap: 2064380 0 2064380
/usr/lib64/pm-utils/sleep.d/00logging suspend suspend: success.
Running hook /usr/lib64/pm-utils/sleep.d/00powersave suspend suspend:
/usr/lib64/pm-utils/sleep.d/00powersave suspend suspend: success.
Running hook /usr/lib64/pm-utils/sleep.d/01grub suspend suspend:
/usr/lib64/pm-utils/sleep.d/01grub suspend suspend: not applicable.
Running hook /etc/pm/sleep.d/20_custom-ehci_hcd suspend suspend:
/etc/pm/sleep.d/20_custom-ehci_hcd suspend suspend: success.
Running hook /usr/lib64/pm-utils/sleep.d/49bluetooth suspend suspend:
/usr/lib64/pm-utils/sleep.d/49bluetooth suspend suspend: not applicable.
Running hook /usr/lib64/pm-utils/sleep.d/55NetworkManager suspend suspend:
Having NetworkManager put all interfaces to sleep...Done.
/usr/lib64/pm-utils/sleep.d/55NetworkManager suspend suspend: success.
Running hook /usr/lib64/pm-utils/sleep.d/56atd suspend suspend:
/usr/lib64/pm-utils/sleep.d/56atd suspend suspend: success.
Running hook /usr/lib64/pm-utils/sleep.d/56dhclient suspend suspend:
/usr/lib64/pm-utils/sleep.d/56dhclient suspend suspend: success.
Running hook /usr/lib64/pm-utils/sleep.d/75modules suspend suspend:
/usr/lib64/pm-utils/sleep.d/75modules suspend suspend: not applicable.
Running hook /usr/lib64/pm-utils/sleep.d/90clock suspend suspend:
/usr/lib64/pm-utils/sleep.d/90clock suspend suspend: not applicable.
Running hook /usr/lib64/pm-utils/sleep.d/94cpufreq suspend suspend:
/usr/lib64/pm-utils/sleep.d/94cpufreq suspend suspend: success.
Running hook /usr/lib64/pm-utils/sleep.d/95led suspend suspend:
/usr/lib64/pm-utils/sleep.d/95led suspend suspend: not applicable.
Running hook /usr/lib64/pm-utils/sleep.d/95packagekit suspend suspend:
/usr/lib64/pm-utils/sleep.d/95packagekit suspend suspend: success.
Running hook /usr/lib64/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:
Kernel modesetting video driver detected, not using quirks.
/usr/lib64/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend: success.
Running hook /usr/lib64/pm-utils/sleep.d/99video suspend suspend:
kernel.acpi_video_flags = 0
/usr/lib64/pm-utils/sleep.d/99video suspend suspend: success.
Sat Jan 7 19:12:06 CET 2012: performing suspend
As the header indicates, my lappy wont suspend.
To get it to suspend in the first place, i did this: http://forums.fedoraforum.org/showthread.php?t=265588 which works fine.
But as it's a laptop with nvidia optimus, i am using acpi_call to disable the discrete card to save power. Information on this can be found here: https://github.com/mkottman/acpi_call
Once the discrete card has been dsabled, suspend doesn't work. I didn't expect it to either. Screen just goes blank and hdd spins down, but the computer is still on.
However, i would expect it to work if i use acpi_call to turn the card back on. But it doesn't - it does almost the same as before, except it leaves some text on the screen: http://dl.dropbox.com/u/5416864/2012-01-06_16-02-39_511.jpg
I have also tried unloading the acpi_call module (and re-enabling the card) like this:
sudo rmmod acpi_call
So right now, i have to choose between bad battery life and no ability to suspend.
I would be so very pleased, if anyone had any idea how to work around this.
Thanks in advance :)
Oh, btw here's the /var/log/pm-suspend.log from a failed suspend:
[esben@fedora ~]$ cat /var/log/pm-suspend.log
Initial commandline parameters:
Sat Jan 7 19:12:06 CET 2012: Running hooks for suspend.
Running hook /usr/lib64/pm-utils/sleep.d/00logging suspend suspend:
Linux fedora 3.1.6-1.fc16.x86_64 #1 SMP Wed Dec 21 22:41:17 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
Module Size Used by
rfcomm 63357 4
ppdev 8131 0
parport_pc 21058 0
lp 10418 0
parport 35827 3 ppdev,parport_pc,lp
lockd 78490 0
bnep 15370 2
nf_conntrack_ipv4 9030 2
nf_defrag_ipv4 1561 1 nf_conntrack_ipv4
ip6t_REJECT 4451 2
nf_conntrack_ipv6 8338 2
nf_defrag_ipv6 9740 1 nf_conntrack_ipv6
xt_state 1370 4
nf_conntrack 76503 3 nf_conntrack_ipv4,nf_conntrack_ipv6,xt_state
ip6table_filter 1735 1
ip6_tables 19304 1 ip6table_filter
fuse 69330 7
snd_hda_codec_hdmi 25842 1
snd_hda_codec_realtek 327386 1
uvcvideo 66310 0
videodev 92903 1 uvcvideo
media 12416 2 uvcvideo,videodev
v4l2_compat_ioctl32 9334 1 videodev
snd_hda_intel 26310 1
snd_hda_codec 97519 3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_i ntel
snd_hwdep 6891 1 snd_hda_codec
snd_seq 58599 0
snd_seq_device 6425 1 snd_seq
snd_pcm 89984 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
arc4 1481 2
asus_nb_wmi 1915 0
asus_wmi 16175 1 asus_nb_wmi
sparse_keymap 3854 1 asus_wmi
uinput 8254 0
joydev 10372 0
ath3k 6383 0
btusb 16240 1
bluetooth 237251 24 rfcomm,bnep,ath3k,btusb
ath9k 87851 0
microcode 19616 0
mac80211 244208 1 ath9k
i2c_i801 9893 0
ath9k_common 2904 1 ath9k
ath9k_hw 369409 2 ath9k,ath9k_common
snd_timer 22199 2 snd_seq,snd_pcm
snd 71085 11 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_i ntel,snd_hda_codec,snd_hwdep,snd_seq,snd_seq_devic e,snd_pcm,snd_timer
ath 16506 3 ath9k,ath9k_common,ath9k_hw
soundcore 7124 1 snd
snd_page_alloc 8061 2 snd_hda_intel,snd_pcm
cfg80211 181887 3 ath9k,mac80211,ath
iTCO_wdt 12452 0
iTCO_vendor_support 2699 1 iTCO_wdt
atl1c 35691 0
serio_raw 4558 0
sunrpc 225584 2 lockd
rfkill 17938 5 asus_wmi,bluetooth,cfg80211
binfmt_misc 7775 1
nouveau 754554 0
i915 560335 4
ttm 61533 1 nouveau
drm_kms_helper 30277 2 nouveau,i915
drm 213647 7 nouveau,ttm,i915,drm_kms_helper
i2c_algo_bit 5572 2 nouveau,i915
mxm_wmi 1743 1 nouveau
i2c_core 28203 7 videodev,i2c_i801,nouveau,i915,drm_kms_helper,drm, i2c_algo_bit
wmi 9737 2 asus_wmi,mxm_wmi
video 12388 2 nouveau,i915
total used free shared buffers cached
Mem: 8080616 1748792 6331824 0 50312 915752
-/+ buffers/cache: 782728 7297888
Swap: 2064380 0 2064380
/usr/lib64/pm-utils/sleep.d/00logging suspend suspend: success.
Running hook /usr/lib64/pm-utils/sleep.d/00powersave suspend suspend:
/usr/lib64/pm-utils/sleep.d/00powersave suspend suspend: success.
Running hook /usr/lib64/pm-utils/sleep.d/01grub suspend suspend:
/usr/lib64/pm-utils/sleep.d/01grub suspend suspend: not applicable.
Running hook /etc/pm/sleep.d/20_custom-ehci_hcd suspend suspend:
/etc/pm/sleep.d/20_custom-ehci_hcd suspend suspend: success.
Running hook /usr/lib64/pm-utils/sleep.d/49bluetooth suspend suspend:
/usr/lib64/pm-utils/sleep.d/49bluetooth suspend suspend: not applicable.
Running hook /usr/lib64/pm-utils/sleep.d/55NetworkManager suspend suspend:
Having NetworkManager put all interfaces to sleep...Done.
/usr/lib64/pm-utils/sleep.d/55NetworkManager suspend suspend: success.
Running hook /usr/lib64/pm-utils/sleep.d/56atd suspend suspend:
/usr/lib64/pm-utils/sleep.d/56atd suspend suspend: success.
Running hook /usr/lib64/pm-utils/sleep.d/56dhclient suspend suspend:
/usr/lib64/pm-utils/sleep.d/56dhclient suspend suspend: success.
Running hook /usr/lib64/pm-utils/sleep.d/75modules suspend suspend:
/usr/lib64/pm-utils/sleep.d/75modules suspend suspend: not applicable.
Running hook /usr/lib64/pm-utils/sleep.d/90clock suspend suspend:
/usr/lib64/pm-utils/sleep.d/90clock suspend suspend: not applicable.
Running hook /usr/lib64/pm-utils/sleep.d/94cpufreq suspend suspend:
/usr/lib64/pm-utils/sleep.d/94cpufreq suspend suspend: success.
Running hook /usr/lib64/pm-utils/sleep.d/95led suspend suspend:
/usr/lib64/pm-utils/sleep.d/95led suspend suspend: not applicable.
Running hook /usr/lib64/pm-utils/sleep.d/95packagekit suspend suspend:
/usr/lib64/pm-utils/sleep.d/95packagekit suspend suspend: success.
Running hook /usr/lib64/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:
Kernel modesetting video driver detected, not using quirks.
/usr/lib64/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend: success.
Running hook /usr/lib64/pm-utils/sleep.d/99video suspend suspend:
kernel.acpi_video_flags = 0
/usr/lib64/pm-utils/sleep.d/99video suspend suspend: success.
Sat Jan 7 19:12:06 CET 2012: performing suspend