(Solved) Suspend Doesn't Work

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post please read this

(Solved) Suspend Doesn't Work

Postby soccerz619 on Mon Sep 12, 2011 9:28 pm

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?
Last edited by soccerz619 on Sun Nov 20, 2011 2:08 pm, edited 1 time in total.
Everyone is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing it is stupid.
Image
User avatar
soccerz619
Level 4
Level 4
 
Posts: 228
Joined: Mon Sep 05, 2011 10:05 pm

Linux Mint is funded by ads and donations.
 

Re: Suspend Doesn't Work

Postby tdockery97 on Tue Sep 13, 2011 11:44 am

Try checking the file /etc/initramfs-tools/conf.d/resume and make sure it has the same partition identification as your swap partition.
Image

HP Pavilion 17 Notebook, 8GB DDR3, 2.5GHZ A10-APU, Radeon HD 8650G
Registered Linux User #520972
User avatar
tdockery97
Level 13
Level 13
 
Posts: 4844
Joined: Sun Jan 10, 2010 8:54 am
Location: Salem, Oregon

Re: Suspend Doesn't Work

Postby soccerz619 on Tue Sep 13, 2011 12:22 pm

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...
Everyone is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing it is stupid.
Image
User avatar
soccerz619
Level 4
Level 4
 
Posts: 228
Joined: Mon Sep 05, 2011 10:05 pm

Re: Suspend Doesn't Work

Postby lmintnewb on Tue Sep 13, 2011 12:33 pm

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.
Last edited by lmintnewb on Tue Sep 13, 2011 7:19 pm, edited 1 time in total.
lmintnewb
Level 7
Level 7
 
Posts: 1574
Joined: Fri Apr 01, 2011 5:13 pm

Re: Suspend Doesn't Work

Postby soccerz619 on Tue Sep 13, 2011 2:07 pm

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.
Everyone is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing it is stupid.
Image
User avatar
soccerz619
Level 4
Level 4
 
Posts: 228
Joined: Mon Sep 05, 2011 10:05 pm

Re: Suspend Doesn't Work

Postby soccerz619 on Tue Sep 13, 2011 5:48 pm

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"?
Everyone is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing it is stupid.
Image
User avatar
soccerz619
Level 4
Level 4
 
Posts: 228
Joined: Mon Sep 05, 2011 10:05 pm

Re: Suspend Doesn't Work

Postby lmintnewb on Tue Sep 13, 2011 6:06 pm

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.
lmintnewb
Level 7
Level 7
 
Posts: 1574
Joined: Fri Apr 01, 2011 5:13 pm

Re: Suspend Doesn't Work

Postby soccerz619 on Wed Sep 14, 2011 1:55 pm

Ok thanks!
Everyone is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing it is stupid.
Image
User avatar
soccerz619
Level 4
Level 4
 
Posts: 228
Joined: Mon Sep 05, 2011 10:05 pm

Re: Suspend Doesn't Work

Postby ekeko on Sat Dec 29, 2012 9:24 pm

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.
ekeko
Level 1
Level 1
 
Posts: 14
Joined: Mon Nov 23, 2009 3:06 am

Re: (Solved) Suspend Doesn't Work

Postby Chris_Z on Sun Jan 06, 2013 5:52 pm

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
Chris_Z
Level 1
Level 1
 
Posts: 14
Joined: Sun Dec 16, 2012 4:18 pm
Location: Stockholm, Sweden

Re: (Solved) Suspend Doesn't Work

Postby Spearmint2 on Sun Aug 11, 2013 6:28 pm

All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....
User avatar
Spearmint2
Level 8
Level 8
 
Posts: 2305
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Linux Mint is funded by ads and donations.
 

Return to Other topics

Who is online

Users browsing this forum: sudoman and 7 guests