hibernate and suspend solved for thinkpad

Lee Tambiah l_tambiah at linuxmail.org
Sun Jun 11 23:40:55 UTC 2006


On Sun, 11 Jun 2006 23:47:45 +0100
ubuntu-users-request at lists.ubuntu.com wrote:

> 
> here's how you tell grub not to display that image.
> 
> Go to /boot/brub, and edit file menu.lst . There's a like there that 
> reads "# kopt=" . Make sure it says "# kopt=root=/dev/hda1 ro
> nosplash quiet resume=/dev/hda5", where:
> /dev/hda1 is the partition your system is booting from. /dev/hda5 is 
> where the swap partition is. You can find both of those with 
> (Applications -> system -> Administration -> disks -> partitions)

Hello,

I am a Thinkpad R50e user and have sleep(suspend) working correctly
using the hack on the ibm thinkpad wiki i changed my sleep.sh too:

#!/bin/bash

# change to console 1
FGCONSOLE=`fgconsole`
chvt 6

# safe video state
cat /proc/bus/pci/00/02.0 > /tmp/video_state

# sync filesystem
sync

# sync hardware clock with system time
hwclock --systohc

# go to sleep
echo -n 3 > /proc/acpi/sleep

# waking up
# restore system clock
hwclock --hctosys

# restore video state
cat /tmp/video_state > /proc/bus/pci/00/02.0

# change back to X
chvt $FGCONSOLE

# clean up behind us
rm /tmp/video_state

This works perfectly for my Thinkpad R50E but still had issues with the
hibernate. I have tried your solution and may i confirm that this works
and now have a fully working dapper ;-)...

For the GNOME folks i did the following:-

sudo gedit /boot/grub/menu.lst

I then changed the menu.lst file on the kernel entry of my default
kernel as below:-

title		Ubuntu, kernel 2.6.15-23-686
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.15-23-686 root=/dev/hda1 ro
nosplash quiet resume=/dev/hda5 
initrd		/boot/initrd.img-2.6.15-23-686
savedefault
boot

Regards

L. Tambiah

-- 
______________________________________________
Check out the latest SMS services @ http://www.linuxmail.org
This allows you to send and receive SMS through your mailbox.

Powered by Outblaze




More information about the ubuntu-users mailing list