Page 1 of 1

(Solved) Suspend Doesn't Work

Posted: Mon Sep 12, 2011 9:28 pm
by soccerz619
Hey, I'm running Mint 11 on a Dell Inspiron 8600. I loved the "Suspend" feature or its equivalent in Vista, but Mint won't boot back up after I put it in Suspend. I try, but it just shows the screensaver for a second, then freezes. I have mouse movement, but nothing else. I have to power off the computer and restart. Any ideas?

Re: Suspend Doesn't Work

Posted: Tue Sep 13, 2011 11:44 am
by tdockery97
Try checking the file /etc/initramfs-tools/conf.d/resume and make sure it has the same partition identification as your swap partition.

Re: Suspend Doesn't Work

Posted: Tue Sep 13, 2011 12:22 pm
by soccerz619
How do I tell if it's the same partition? How do I look at those partitions too, so I can tell? Sorry, I am new to Linux...

Re: Suspend Doesn't Work

Posted: Tue Sep 13, 2011 12:33 pm
by lmintnewb
Some handy terminal commands to help identify partitions.

Code: Select all

sudo fdisk -l
Will show all the partitions on your hdd and some info about them.
(note: that's a lowercase L)

Code: Select all

sudo blkid
Will list the partitions and their uuid's.

So you'd need to use that command sudo blkid. Find the uuid of your swap partition and compare it to the one listed in the file tdockery97 mentioned. If they don't match, that could be your problem.

Summin else often see mentioned here for fixing stuff like this. Sometimes apparently someone needs to check the /etc/fstab file and make sure their swap is correctly listed in it too.

One more, cause I like at least trying to be thorough. If am going to post something may as well try n do it well. Anyway, opening and editing a file 101.

To open that file tdockery mentions. Open terminal type

Code: Select all

 sudo gedit /etc/initramfs-tools/conf.d/resume
Or for the /etc/fstab ... Much the same thing. Open terminal

Code: Select all

sudo gedit /etc/fstab
If the uuid of your swap partition shown after you check it with sudo blkid is different in either of those files .... Edit/change it so that it's correct, save the file ( the way you save any file in a text editor. We've all saved files before am sure.), close it and you're done.

Re: Suspend Doesn't Work

Posted: Tue Sep 13, 2011 2:07 pm
by soccerz619
Both of those show up correctly listing my swap partition. I have my screensaver off now (something that someone else suggested), and set to do nothing when I close my lid, but it won't go to sleep.

Re: Suspend Doesn't Work

Posted: Tue Sep 13, 2011 5:48 pm
by soccerz619
Well, I made sure my screensaver is not active, and that my screen can't be locked when the screensaver is active, and I've chosen 'blank screen'for a screensaver (as if it matters, since it's off). Anyways, it'll turn back on after suspend now. Weird that it won't do it with the screensaver on though. Any way to mark this as "Solved"?

Re: Suspend Doesn't Work

Posted: Tue Sep 13, 2011 6:06 pm
by lmintnewb
Hmmmm, don't have anything LM atm. Makes it hard to even make suggestions, not being able to see what controls/options are avail. One thing ya can count on though, you aren't the 1st person to run into this prob. So when all else fails, there's always the magic minty search bar.

Good trick for finding specific stuff in these forums or on a certain website. Google advanced search tricks 101. Go to google and try something similar to this.

site:http://forums.linuxmint.com/ "suspend doesn't work"
site:http://forums.linuxmint.com/ "suspend not working"
Variations of keywords related to your problem.

Typing site: , then add the website ya want. Tells google to only search that site, putting certain terms in " " 's will tell google to only look for that exact phrase on that website. It's likely to turn up some suggestions or relevant threads related to the prob you're having. May find a fix for your issue.

Re: Suspend Doesn't Work

Posted: Wed Sep 14, 2011 1:55 pm
by soccerz619
Ok thanks!

Re: Suspend Doesn't Work

Posted: Sat Dec 29, 2012 9:24 pm
by ekeko
Hello,
I found this thread looking for a solution for the problem I have with linux mint 14.

I followed the steps but problem is, that it seems that the swap partition id keep changing after every reboot. at least sudo blkid shows a different id for swap partition every time.

how can I solve this?

thanks for any help in advance!

ekeko
lmintnewb wrote:Some handy terminal commands to help identify partitions.

Code: Select all

sudo fdisk -l
Will show all the partitions on your hdd and some info about them.
(note: that's a lowercase L)

Code: Select all

sudo blkid
Will list the partitions and their uuid's.

So you'd need to use that command sudo blkid. Find the uuid of your swap partition and compare it to the one listed in the file tdockery97 mentioned. If they don't match, that could be your problem.

Summin else often see mentioned here for fixing stuff like this. Sometimes apparently someone needs to check the /etc/fstab file and make sure their swap is correctly listed in it too.

One more, cause I like at least trying to be thorough. If am going to post something may as well try n do it well. Anyway, opening and editing a file 101.

To open that file tdockery mentions. Open terminal type

Code: Select all

 sudo gedit /etc/initramfs-tools/conf.d/resume
Or for the /etc/fstab ... Much the same thing. Open terminal

Code: Select all

sudo gedit /etc/fstab
If the uuid of your swap partition shown after you check it with sudo blkid is different in either of those files .... Edit/change it so that it's correct, save the file ( the way you save any file in a text editor. We've all saved files before am sure.), close it and you're done.

Re: (Solved) Suspend Doesn't Work

Posted: Sun Jan 06, 2013 5:52 pm
by Chris_Z
Your swap partition is probably encrypted and the UUID you see is changing with every boot (as in /dev/mapper/cryptswap1).
When you need to know the real, static UUID, here are some clues:

https://bugs.launchpad.net/ubuntu/+sour ... omments/23

Re: (Solved) Suspend Doesn't Work

Posted: Sun Aug 11, 2013 6:28 pm
by Spearmint2
http://forums.linuxmint.com/viewtopic.php?f=90&t=142224