Suspend/Hibernate

Solaris, RedHat, FreeBSD and the like
Post Reply
Message
Author
seungsohn
Posts: 16
Joined: Sat May 12, 2007 11:02 pm
Location: Davis & Granada Hills, Cali
Contact:

Suspend/Hibernate

#1 Post by seungsohn » Sat Sep 25, 2010 8:19 pm

I am running the latest version of Ubuntu on my T61. Unfortunately, neither suspend nor hibernate work correctly. Has anyone found a distribution that has corrected this problem?

jronald
Contributing Member
Contributing Member
Posts: 1792
Joined: Sun Apr 13, 2008 7:11 pm
Location: RTP, North Carolina

Re: Suspend/Hibernate

#2 Post by jronald » Sun Sep 26, 2010 10:30 am

Not that it matters, but it does not work on T30's or X31's or X30's either. I changed the shut lid option to shutdown and called it a day.

Ron
I see in my son's eyes, each day, the wonders I have squandered fortunes to possess and have sought my entire lifetime to attain. jrr 09/2011


T400's and T500's

runbei
Posts: 22
Joined: Fri Jul 03, 2009 5:39 pm
Location: Mountain View, CA

Re: Suspend/Hibernate

#3 Post by runbei » Fri Jan 14, 2011 11:26 am

jronald wrote:Not that it matters, but it does not work on T30's or X31's or X30's either. I changed the shut lid option to shutdown and called it a day.

Ron
Nor does suspend/resume work correctly on the X32 with any of the following distros: Mint 10 Julia, Mint 10 Debian Edition, OpenSuse 11.3 Gnome (and, I suspect, KDE).

It does work correctly with Scientific Linux (a RedHat Enterprise clone compiled from source). However, the package manager in SL leaves much to be desired, with user intervention required to resolve dependencies that are routinely taken care of by Synaptic in Debian-based distros and Install/Remove Software in OpenSuse.

I'm ready to "call it a day" as well. Disappointing. Suspend would be nice - leave the laptop plugged in while suspended and press power switch to jump back to where you were. But, oh well. We do pay a price to enjoy the advantages of Linux.

GomJabbar
Moderator
Moderator
Posts: 9765
Joined: Tue Jun 07, 2005 6:57 am

Re: Suspend/Hibernate

#4 Post by GomJabbar » Fri Jan 14, 2011 11:02 pm

You can try /usr/sbin/pm-suspend and usr/sbin/pm-hibernate from the command line and see if that works.

I saw a post on the Fedora forum where the vanilla Linux kernel worked but the stock Fedora kernel had problems with suspend and hibernate. I saw another post in the same thread where editing the quirk file fixed the issue.
http://forums.fedoraforum.org/showthread.php?t=254416

Sometimes you need a specific boot parameter to get this resolved.
http://www.wzzrd.com/2010/10/resume-fro ... ecent.html
DKB

BruisedQuasar
Junior Member
Junior Member
Posts: 406
Joined: Sat Nov 05, 2005 8:12 am
Location: Ann Arbor, Michigan

Re: Suspend/Hibernate

#5 Post by BruisedQuasar » Sun Jan 16, 2011 5:04 pm

I use LinuxMint 9 KDE and GNOME versions, Simply Mepis 8.5 & 11.XX, Ubuntu 10.10, Puppy 4.XX and Lucid Puppy 5.XX (USB Flash persistent install) on my T-60. I have both LinuxMints & Mepis 11 installed.

Hibernate is the one I notice doesn't work. Suspend isn't consistent (it intermittently goes into hibernate), so I simply do not go into them. I use a laptop on and off all day. I just settle for screen shut down after 10 minutes of no use.

Would welcome working suspend but I'm not willing to invest a lot of time getting it to work. For now, I just live with it and mostly use my mid-2010 model
Thinkpad Edge, now that I have the input problem with Linux fixed.

--Bruised

runbei
Posts: 22
Joined: Fri Jul 03, 2009 5:39 pm
Location: Mountain View, CA

Re: Suspend/Hibernate

#6 Post by runbei » Mon Jan 17, 2011 2:12 pm

I found a solution that worked in OpenSUSE 11.3, which also did not initiate suspend/resume correctly out of the box. I will be trying the solution in Linux Mint Debian Edition once I reinstall it.

It involves simple inserting "nomodeset" in the grub kernel line in OpenSUSE, which uses Grub1, NOT Grub2 which is installed by default in Mint and LMDE.

I will be trying to make suspend/resume work by downgrading Grub2 to Grub1 (called grub-legacy in the Debian repos). I will then try inserting the "nomodeset" spec in Grub and see what happens. Inserting nomodeset in the corresponding line in Grub2 did not work.

granular
Posts: 19
Joined: Thu Jan 06, 2011 10:19 pm
Location: Portland, OR

Re: Suspend/Hibernate

#7 Post by granular » Tue Jan 18, 2011 10:10 pm

.
Last edited by granular on Sun Jun 05, 2011 1:13 pm, edited 1 time in total.

BruisedQuasar
Junior Member
Junior Member
Posts: 406
Joined: Sat Nov 05, 2005 8:12 am
Location: Ann Arbor, Michigan

Re: Suspend/Hibernate

#8 Post by BruisedQuasar » Thu Mar 17, 2011 9:08 pm

Sleep, Hibernate, suspend do not work in my Thinkpad 14" Edge either. I've tried several major distros. The only one I got to work correctly in Edge is Ubuntu and then I had to shut off some of the new thinkpad functions in order to enter text in word processors and online forums. The pad is too sensitive for Linux Distro drivers.

--Bruised

fasterbybike
Junior Member
Junior Member
Posts: 467
Joined: Tue Aug 07, 2007 4:23 pm
Location: Christchurch, New Zealand

Re: Suspend/Hibernate

#9 Post by fasterbybike » Tue May 17, 2011 1:36 am

Suspend and Hibernate were working correctly on my X61 and T500 running Ubuntu 10.10 until a couple of months ago.

Now they are intermittent, and the T500 sometimes goes into a non determinate state (the GUI closes down and the command line is frozen) which requires a power off to recover from. The X61 does not exhibit this behaviour but will at times not respond to the suspense/hibernate menu commands.

I guess an update I have loaded has altered the kernel and caused this issue.
W520, X301, T500, (past X61( SXGA+),T42P,SL500, A31, R52, T42,X32(SXGA+), T40P,A31P, A21P, 770Z)
Democracy is not something we have, Democracy is something we DO.

dr_st
Senior ThinkPadder
Senior ThinkPadder
Posts: 6649
Joined: Sat Oct 29, 2005 6:20 am

Re: Suspend/Hibernate

#10 Post by dr_st » Tue May 17, 2011 2:00 am

I have Fedora 14 installed on one of my T60s. Suspend works fine, but Hibernate does not (I get an error message saying "Cannot Hibernate"). Maybe I'll try that pm-utils thingy. :)
Current: X220 4291-4BG, T410 2537-R46, T60 1952-F76, T60 2007-QPG, T42 2373-F7G
Collectibles: T430s (IPS FHD + Classic Keyboard), X32 (IPS Screen)
Retired: X61 7673-V2V, A31p w/ Ultrabay Numpad
Past: Z61t 9440-A23, T60 2623-D3U, X32 2884-M5U

comps
Freshman Member
Posts: 83
Joined: Thu Jan 27, 2011 2:56 pm
Location: Prague, Czech Republic

Re: Suspend/Hibernate

#11 Post by comps » Tue May 17, 2011 6:34 am

dr_st wrote:I have Fedora 14 installed on one of my T60s. Suspend works fine, but Hibernate does not (I get an error message saying "Cannot Hibernate"). Maybe I'll try that pm-utils thingy. :)
You need a swap partition for *basic* hibernation.

lashes
Posts: 6
Joined: Sat Sep 25, 2010 2:39 am
Location: Eltham, New Zealand

Re: Suspend/Hibernate

#12 Post by lashes » Tue May 24, 2011 2:51 am

I have mepis 11 on my T60, and suspend works well, albeit using the mepis menu as the Fn buttons don't seem to work. I cannot get hibernate though. Never had much joy trying suspend/hibernate on any puppy linux versions.
Lindsay
IBM T60 2007 GEM
Core 2 duo T5600 @1.83g
3 gb ram
ATI x1300 14" SXGA+
Win10 pro, Linux Mint 17.2.

jdk
Sophomore Member
Posts: 239
Joined: Mon Jan 03, 2011 9:08 pm
Location: Quito, Ecuador

Re: Suspend/Hibernate

#13 Post by jdk » Mon Jun 06, 2011 9:09 am

FWIW, OpenBSD works perfectly out of the box on my X60s. Suspends immediately and resumes in < 3 seconds back to X with WiFi established. There is nothing, even the vendor-supported Windows, that can beat this.

I do not use hibernate so I cannot tell you if that works.

Arch Linux used to suspend/resume perfectly in the 2.6.32 days. Since then there have been changes made to thinkpad-acpi that are broken, and I think that is why everyone is having problems on other distros. Like just about everything else in the Linux world, this is a regression from where things were two years ago. I am done with that garbage.
.: Lenovo X250 - 16GB, 500GB SSD, Model M SSK (Dec. 1997), Dell P2416D, OpenBSD Current :.

ozzymud
Senior Member
Senior Member
Posts: 590
Joined: Sun Apr 03, 2011 3:38 pm
Location: Klamath Falls, OR

Re: Suspend/Hibernate

#14 Post by ozzymud » Mon Jun 06, 2011 2:44 pm

https://bugs.launchpad.net/ubuntu/+sour ... bug/661711

this post(near the bottom) has a user with a missing

/etc/initramfs-tools/conf.d/resume

he created the file, and inserted:

Code: Select all

RESUME=UUID=XXXXXXXXXX
replace XXXXXXXXXX with your UUID

Code: Select all

#sudo blkid
 /dev/sda1: TYPE="ntfs" UUID="XXXXXXXXXX" LABEL="windows" 
 /dev/sda2: UUID="30fcb748-ad1e-4228-af2f-951e8e7b56df" SEC_TYPE="ext2" TYPE="ext3" 
 /dev/sda5: TYPE="swap" UUID="8c4e69f8-5074-42c0-8134-0b2429c4c02c" 
 /dev/sdb1: SEC_TYPE="msdos" UUID="4848-E35A" TYPE="vfat" 
[code]
(2)701C,(1)760EL,(6)760XL,(1)760XD
(4)CD Drives (5)int floppies (3)ext floppy (4)2.1GB
(10)CF/IDE w/2 or 4GB 133x CF (1)760XL restore CD
(1)Belkin USB 2.0 32bit Cardbus (2)WPC54G(S) Wifi Cardbus
(1)Belkin F5D5020 NIC (1)Giga-Byte GN-WLM01 Wifi
(1)Backpack CD (1) Xircom REM56G-10 + misc

lashes
Posts: 6
Joined: Sat Sep 25, 2010 2:39 am
Location: Eltham, New Zealand

Re: Suspend/Hibernate

#15 Post by lashes » Sat Jun 11, 2011 8:59 pm

Re Hibernate (suspend to disk). Found this in the mepis docs - -http://www.mepis.org/docs/en/index.php?title=Suspend --
It's old info supposedly for Mepis 7 and 8, but it enabled me to get hibernate to work on my T60 running Mepis11.
Simply - go to the folder /boot/grub, and add an entry to the kernel line of your menu.lst file that points to your swap partition: resume=/dev/sdxx.
Here's my entry for mepis 11 on sda3 with swap on sda4:

title MEPIS at sda3, newest kernel
root (hd0,2)
kernel /boot/vmlinuz root=/dev/sda3 nomce quiet splash vga=788 resume=/dev/sda4
initrd /boot/initrd.img
boot
If Mepis is not your default boot, you'll need to select it from the grub menu on restart. Also, make sure that your swap partition is as big as the amount of physical ram you have installed.

Hope this helps.
Lindsay
IBM T60 2007 GEM
Core 2 duo T5600 @1.83g
3 gb ram
ATI x1300 14" SXGA+
Win10 pro, Linux Mint 17.2.

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Linux Questions”

Who is online

Users browsing this forum: No registered users and 1 guest