LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-14-2011, 09:40 AM   #1
johnkelly.110
Member
 
Registered: Feb 2010
Location: Liverpool, UK
Posts: 46

Rep: Reputation: 0
Suspend & Hibernate in Ubuntu 11.04


I have been running Ubuntu 11.04 alongside MS Vista relatively successfully on my pc.

However I have had to run Ubuntu in Classic Mode rather than Unity, until I was able to use the Additional Drivers feature which, after trying one or two Nvidia Drivers I was able to run Unity.

Ubuntu Unity runs OK but I can't use the Suspend or Hibernate features at all?

I noticed when I tried the recommended additional Nvidia Driver. The whole Unity system failed (froze).

Please help a novice terminal user with GUI solution?
 
Old 08-14-2011, 12:56 PM   #2
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,200

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
/Sigh.

The reason you need help is that GUI solutions prevent you learning about the system. Copy one of these into terminal in your unsuspendable state

sync;sudo echo -n mem > /sys/power/state
sync;sudo echo -n disk > /sys/power/state
 
Old 08-14-2011, 04:32 PM   #3
johnkelly.110
Member
 
Registered: Feb 2010
Location: Liverpool, UK
Posts: 46

Original Poster
Rep: Reputation: 0
Copy one of these into terminal in your unsuspendable state

sync;sudo echo -n mem > /sys/power/state
sync;sudo echo -n disk > /sys/power/state

I can find the Terminal and paste one of these lines in BUT what is the unsuspendable state? Does the word sync; go in before the sudo?

Sorry - I am a beginner when it comes to command line usage - I am more interested in the software I use than system administration - but it seems I will need to learn more about the terminal.

Sorry and Thanks
 
Old 08-15-2011, 03:12 AM   #4
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,200

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
From Post #1
Quote:
Ubuntu Unity runs OK but I can't use the Suspend or Hibernate features at all?
There is a space or should be in between whe snyc; and the sudo in that line. LQ pulls out some spaces, so be careful.

In that line, 'mem' = memory which is suspend
disk = hibernate. Sometimes this is called through HAL by window managers, and that bit can fall over. In the terminal, you get to see errors.
 
Old 04-07-2012, 07:28 AM   #5
saphena
LQ Newbie
 
Registered: Apr 2012
Location: England
Distribution: Ubuntu
Posts: 2

Rep: Reputation: Disabled
I came here looking for answers to suspend problems with Nvidia drivers and I doubt that johnkelly solved his problem or has bothered to persist with linux.

John, if you're still stuck:-

The command 'sync' causes all buffers to be flushed, 'sudo' gives you more authority over the OS.

The power state is commanded by the contents of the file /sys/power/state. If you write the word 'mem' into it, the OS will attempt to "suspend", if you write the work 'disk' into it, the OS will attempt to hibernate.

By doing one of these in the terminal, the suspend/hibernate will either work or you'll get some sort of error message which might give a clue as to the nature of the problem.

I have just started this process and have a clean hibernate but an error "write error: No such device" when attempting to suspend.
 
Old 04-14-2012, 03:10 PM   #6
saphena
LQ Newbie
 
Registered: Apr 2012
Location: England
Distribution: Ubuntu
Posts: 2

Rep: Reputation: Disabled
Ok, the problem only manifested itself when I'd "fiddled" with the nvidia driver. Sadly I ran out of time and patience to properly nail the fault but I have now removed the nvidia driver, running on nouveau again, and the problem has gone away.

I'll reload nvidia and try again later.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu - Can't Hibernate or Suspend orangesky Linux - Laptop and Netbook 12 01-28-2011 06:25 PM
How can I suspend & hibernate with encrypted lvm? yanfaun Linux - Laptop and Netbook 2 09-28-2010 01:49 AM
Hibernate&Suspend questions linus72 Linux - General 1 09-03-2010 11:12 AM
Suspend / Hibernate errors upon boot up in Ubuntu 9.04...? CT_0000 Linux - Newbie 3 10-14-2009 06:57 PM
Problem with ubuntu hibernate/suspend Jykke Linux - Hardware 3 08-25-2008 01:59 PM


All times are GMT -5. The time now is 04:31 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration