openSUSE Forums > Hardware > Laptop » no suspend/sleep now

Go Back   openSUSE Forums > Hardware > Laptop
Forums FAQ Members List Search Today's Posts Mark Forums Read

Laptop Questions about laptop hardware and laptop specific software (power management )

Reply
Page 3 of 3 12 3
 
LinkBack Thread Tools Display Modes
  #21 (permalink)  
Old 23-Jul-2008, 19:32
firozehh's Avatar
Student Penguin
 
Join Date: Jun 2008
Location: Florida, USA
Posts: 69
firozehh hasn't been rated much yet
Default Re: no suspend/sleep now

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.
Reply With Quote
  #22 (permalink)  
Old 24-Jul-2008, 00:22
Magic31's Avatar
Wise Penguin
 
Join Date: Jun 2008
Location: The Netherlands
Posts: 1,297
Magic31 hasn't been rated much yet
Default Re: no suspend/sleep now

Quote:
Originally Posted by firozehh View Post
.. Just want to share what configuration I did. Thought it might help....
Good info!

Putting the modules to unload in the SUSPEND_MODULES=" " of the config file would be the official way.
I was having the issue that my network was not resuming correctly every time, putting it in the sleep.d hook script solved that.

As for having a problem with the rare hang when resuming.. check the /var/log/pm-suspend log. Again it's good to have a copy of a version when suspend/resume has gone well and hold that against a version when it messed up. This also goes for /var/log/messages.

On 10.3 the Xorg video driver was giving me freeze type of issues when suspending/resuming. I got that sorted by installing Xorg 7.3 (as 10.3 is ships with Xorg 7.2), but that was using an Intel graphics card.

Any hint's/hunches on what is causing your freeze up?
__________________
Have a lot of fun!
Reply With Quote
  #23 (permalink)  
Old 26-Jul-2008, 01:23
firozehh's Avatar
Student Penguin
 
Join Date: Jun 2008
Location: Florida, USA
Posts: 69
firozehh hasn't been rated much yet
Default Re: no suspend/sleep now

Quote:
Originally Posted by Magic31 View Post
Good info!

Putting the modules to unload in the SUSPEND_MODULES=" " of the config file would be the official way.
It could be new Kernel update. This freeze issue started around a week ago. Hibernation used to work fine even with out SUSPEND_MODULES=" "in the config file. I had KDE 3.5 and gnome installed. I reinstalled again, this time only with KDE 3.5 to see whether it makes any deference. But the issue is still there. Most of the time it works fine but freeze up randomly. Specially it happens if trying to hibernate after watching some video online. Always the freeze up it happens when the system is done saving the compressed image file to the disk or done reading the image file. After that it just doesn't do anything. The log file shows the suspend or thaw process is completed.

At this point am confused what's going on.
Reply With Quote
  #24 (permalink)  
Old 29-Jul-2008, 09:17
Puzzled Penguin
 
Join Date: Jun 2008
Posts: 29
rad1er hasn't been rated much yet
Default Re: no suspend/sleep now

Re: NVIDIA Suspend HOWTO this note:
Quote:
Note: AGP support will only work with chipsets, which are supported by the nvidia kernel module. Otherwise AGP support will be disabled! Check this with "cat /proc/driver/nvidia/agp/status". If there is no line "Status: Enabled", then AGP support is not available. The graphics card will work without AGP, but performance will be bad.
doesn't make that sound like a good idea!

I did create the "modeles" file and added the line for suspending ath_pci but it didn't make any difference that I can tell.

It's hard if not impossible to sell people the idea of putting linux on a laptop if things like suspend don't work. Everyone I know uses that feature (suspend) all the time.
Reply With Quote
  #25 (permalink)  
Old 29-Jul-2008, 09:27
Magic31's Avatar
Wise Penguin
 
Join Date: Jun 2008
Location: The Netherlands
Posts: 1,297
Magic31 hasn't been rated much yet
Default Re: no suspend/sleep now

Quote:
Originally Posted by rad1er View Post
It's hard if not impossible to sell people the idea of putting linux on a laptop if things like suspend don't work. Everyone I know uses that feature (suspend) all the time.
True, your best bet here is to be selective on what laptop you buy. There are enough out there supporting suspend (and Linux in general) pretty good. I've been quite happy with the Dell Latitude series as they haven't given me any headaches over this..
Always also be careful with the video chipset as Intel, in my experiance, is still the safest (don't read performance here) option.
__________________
Have a lot of fun!
Reply With Quote
  #26 (permalink)  
Old 30-Jul-2008, 10:56
Dexter1979's Avatar
Busy Penguin
 
Join Date: Jun 2008
Location: +52° 9' 13.68", -8° 37' 57.07"
Posts: 490
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
  #27 (permalink)  
Old 02-Aug-2008, 16:14
Puzzled Penguin
 
Join Date: Jun 2008
Posts: 29
rad1er hasn't been rated much yet
Default Re: no suspend/sleep now

Thanks firozehh for the edits you suggested. At first I thought they weren't working but as of 2 days ago resume and wireless resume has worked great. I'm keeping my fingers crossed. Thanks!
Reply With Quote
Reply
Page 3 of 3 12 3

Bookmarks


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2