View Single Post
  #26 (permalink)  
Old 30-Jul-2008, 10:56
Dexter1979's Avatar
Dexter1979 Dexter1979 is online now
Parent Penguin
 
Join Date: Jun 2008
Location: +52° 9' 13.68", -8° 37' 57.07"
Posts: 508
Dexter1979 's reputation will be famous soon enoughDexter1979 's reputation will be famous soon enoughDexter1979 's reputation will be famous soon enough
Default Re: no suspend/sleep now

Quote:
Originally Posted by firozehh View Post
I have openSUSE installed both in my desktop (32-bit) and laptop (64-bit). My desktop is five years old gateway (P4) and laptop is HP DV 2500t. In both of them them sleep/hibernate works fine. Just want to share what configuration I did. Thought it might help.

I put a config file into "/etc/pm/config.d/" with,

Code:
S2RAM_OPTS="-f"
and named it modules.

I have a nVidia video card in my laptop so also followed NVidia Suspend HOWTO.

I added a line in "/etc/pm/config.d/modules" to stop and then restart network connection automatically after suspend mode.

Code:
SUSPEND_MODULES="iwl4965"
As I have Intel 495AGN wireless card. Works great for me. Only problem I have is the laptop rarely hang while going to or coming out of hibernation. Not sure why, may be one of you could help.
Thanks for this. Worked like a charm except for the Nvidia bit. I have a PCI-ex card and this howto is a bit dated as such. However, the following seems to work fine in the modules file:
Code:
suspend_modules="ath_pci nvidia"
S2RAM_OPTS="-f"
HIBERNATE_METHOD="userspace"
I added the last line after a post in the nvidia suspend how to. Seems to do no harm. Might try commenting it out and see if it works.

P.S. I will make a amend post if any of this info is incorrect as I am at work now and on a windows machine
__________________
Lord Flasheart: Always treat your plane like you treat your woman.
Lieutenant George: Take her home at the weekend to meet your mother?
Lord Flasheart: No, get inside her five times a day and take her to heaven and back!
Reply With Quote