[ltp] HowTo make stable suspend and even hibernate on ThinkPad T61 with Ubuntu Hardy Heron...

Petar Milin linux-thinkpad@linux-thinkpad.org
Tue, 03 Jun 2008 10:22:56 +0200


Hello all!
I think I have found ultimate solution for having stable suspend and
even hibernate on T61.
First of all, Nvidia drivers from the repositories will not be of any
help. If you installed it, remove it. Then, follow these steps (for
which I must thank to few other people; credit is not mine):

1. Download driver from Lenovo­ site:
http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=lenovo&lndocid=MIGR-69135

2. Goto console with <Ctrl>+<Alt>+<F1> and start as a ROOT.

3. Disable X­server:
       /etc/init.d/gdm stop

4. Change directory to the location where you saved the file.

5. Unzip the file:
       unzip l7kv07us.zip

6. Type:
       sh l7kv07us.run
       
7. Probably, procedure will offer you to configure new driver and you
should accept that. If not, when it is over, just type:
	nvidia­xconfig

7. REBOOT.

--------------------------------------------------------------------------
If you wish to uninstall the driver, just go to console, start as a root
and type:
	nvidia­installer ­­uninstall
--------------------------------------------------------------------------

8. Change elements in fdi-file:
	sudo gedit
	 /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-lenovo.fdi

   Find:
	<!-- T61 (8895), intel card 32bit works with S3_MODE, but 64bit needs VBE_MODE 
	   T61p (6460), does not work with the NVidia driver-->
	<match key="system.hardware.product" prefix_outof="8895;8897;6457;6460;6464;6465">
	   <merge key="power_management.quirk.s3_bios" type="bool">true</merge>
	   <merge key="power_management.quirk.vbemode_restore" type="bool">true</merge>
	</match>

   And change it with:
	<!-- T61 (8895), intel card 32bit works with S3_MODE, but 64bit needs VBE_MODE 
	   T61p (6460), does not work with the NVidia driver-->
	<match key="system.hardware.product" prefix_outof="8895;8897;6457;6460;6464;6465">
	   <merge key="power_management.quirk.s3_mode" type="bool">true</merge>
	   <merge key="power_management.quirk.s3_bios" type="bool">false</merge>
	   <merge key="power_management.quirk.save_pci" type="bool">true</merge>
	</match>

That's it! Additional note is that you should unplug everything from USB. I use USB-hub for keyboard and mouse, and if I leave it in, system will not awake.

Best,
PM