Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Hardware & Laptops
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Hardware & Laptops
Problems with hardware & laptops not being detected or supported during or after install.

 
 
Thread Tools Display Modes
Old November 15th, 2007   #1
jimmy the saint
Fresh Brewed Ubuntu
 
jimmy the saint's Avatar
 
Join Date: Sep 2007
Beans: 1,325
Guide - enable suspend (proven on thinkpad t61 with nvidia)

One of the many problems associated with the Thinkpad *61 series and nvidia is the suspend/hibernate feature being broken. Thinkwiki is a great resource for information on getting Ubuntu and other distros working on a Thinkpad, but I found a much simpler way to enable suspend than the method that they have. I have drawn on two sources (both listed below) for this guide, one with the method to enable suspend, and one for instructions on how to add Kernel parameters. Since I am so new with linux, the second was extremely helpful.

First, for my fellow newbies, let me explain how you will make the modifications. Since I am coming from windows, and am not quite comfortable with the command line, I created a menu entry that launches gedit with admin privileges. use the command "gksudo gedit" as the command in the launcher. This will enable you to edit and save files that require root privileges. Use this only when you have to and be very careful.

The files you will modify are /boot/grub/menu.lst and /etc/default/acpi-support. If you open them with the privileged gedit I described above, make sure to save a backup before modifying them.

You will be adding a kernel parameter to the grub menu list. In the last section, you will see the various menu entries and their parameters. Each of these correspond to the boot menu options you should see when you power up your computer, especially if you dual boot. For more details go to the "grumpymole" link I have provided. At the end of the "kernel" line for the boot session you wish to enable suspend in, add the following to the end of that line :
"acpi_sleep=s3_mode" without the quotations if you use the Proprietary drivers, or
"acpi_sleep=s3_bios" if you use the vesa drivers.
make sure you include a space before you add this.

Now on the the acpi-support file. These should be modified regardless of the driver you are using. Rather than adding options, you will simply be changing their values. What I did was comment out the relevant line as it was originally and duplicate it with the new value below. That way, it's easy to change back by just switching which one is commented. The values to change are:
SAVE_VBE_STATE=false
POST_VIDEO=false

Now suspend to RAM should work. It did for me!! Sorry if this was too long winded, but for newbies like me, the more detail the better. For more details I would definitely recommend checking out the grumpymole link below, it taught me a lot.

Sources:
http://grumpymole.blogspot.com/2007/...arameters.html
https://bugs.launchpad.net/ubuntu/+s...rt/+bug/139089
jimmy the saint is offline  
Old November 15th, 2007   #2
romeyde
Just Give Me the Beans!
 
Join Date: Nov 2007
Beans: 58
Re: Guide - enable suspend (proven on thinkpad t61 with nvidia)

Don't use a thinkpad but do have suspend issues. Does this issue relate to the PC suspending fine but not waking back up? Been trying to fix this problem for awhile now without luck.
romeyde is offline  
Old November 18th, 2007   #3
jimmy the saint
Fresh Brewed Ubuntu
 
jimmy the saint's Avatar
 
Join Date: Sep 2007
Beans: 1,325
Re: Guide - enable suspend (proven on thinkpad t61 with nvidia)

Yeah, that is the problem I had. I have an nvidia card, so that may make a difference.
jimmy the saint is offline  
Old November 26th, 2007   #4
edvisser
First Cup of Ubuntu
 
Join Date: Nov 2007
Beans: 3
Ubuntu 7.10 Gutsy Gibbon
Re: Guide - enable suspend (proven on thinkpad t61 with nvidia)

After trying several other "solutions" this one works perfectly. I have an Acer Aspire 5630 with NVidia card.

Thank you for assembling and describing the solution.

Ed
edvisser is offline  
Old November 27th, 2007   #5
jsully1
Gee! These Aren't Roasted!
 
Join Date: Aug 2006
Beans: 207
Re: Guide - enable suspend (proven on thinkpad t61 with nvidia)

Doesn't work for ATI unfortunately. My thinkpad T60 manages to turn the screen off, but the suspend light flashes indefinitely and I can't wake it. The last thing that's written to syslog is a bit about deactivating eth1 (wireless), though I don't suspect it's related.
jsully1 is offline  
Old December 5th, 2007   #6
mma8x
Just Give Me the Beans!
 
Join Date: Nov 2007
Beans: 62
Re: Guide - enable suspend (proven on thinkpad t61 with nvidia)

great advice. on my r61 running kernel 2.6.22-14-generic, nvidia proprietary drivers, and gutsy, the "acpi_sleep..." boot option isn't needed--worked fine with just the changes to acpi-support
mma8x is offline  
Old December 5th, 2007   #7
steveneddy
Day Old Decaf
 
Join Date: Dec 2005
Beans: 4,563
Cool Re: Guide - enable suspend (proven on thinkpad t61 with nvidia)

This worked on my Serval Performance Type 1from System76.

Gutsy 64 bit
Core 2 Duo @ 2 Ghz
2 Gig RAM
nVidia
USB, Bluetooth, Firewire

It works on the 2.6.22-14-generic kernel, but NOT the -rt kernel.

But I do different things with the rt kernel and really don't need it to suspend while on that kernel, but the generic kernel I use for work and need suspend often.

Thanks for this guide.

Last edited by steveneddy; December 6th, 2007 at 12:20 PM.. Reason: add'l info
steveneddy is offline  
Old December 7th, 2007   #8
Auslegung
Just Give Me the Beans!
 
Auslegung's Avatar
 
Join Date: Oct 2007
Beans: 73
Re: Guide - enable suspend (proven on thinkpad t61 with nvidia)

How do I know if I'm using proprietary drivers or vesa drivers?
Auslegung is offline  
Old December 9th, 2007   #9
mma8x
Just Give Me the Beans!
 
Join Date: Nov 2007
Beans: 62
Re: Guide - enable suspend (proven on thinkpad t61 with nvidia)

Quote:
Originally Posted by Auslegung View Post
How do I know if I'm using proprietary drivers or vesa drivers?
lsmod|grep nvidia

gives you something like this:
Code:
nvidia               7013492  26
i2c_core               30208  1 nvidia
also, on bootup there's a big nvidia splash screen if using their drivers.
mma8x is offline  
Old December 11th, 2007   #10
jimmy the saint
Fresh Brewed Ubuntu
 
jimmy the saint's Avatar
 
Join Date: Sep 2007
Beans: 1,325
Re: Guide - enable suspend (proven on thinkpad t61 with nvidia)

Im glad the post was helpfull. I spent weeks trying to find a simple enough solution, so when I found it just had to share it!!
jimmy the saint is offline  
 

Bookmarks

Tags
nvidia, suspend

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

Forum Jump


All times are GMT -4. The time now is 02:34 PM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry