LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-26-2012, 11:05 PM   #1
aswam
LQ Newbie
 
Registered: Mar 2012
Distribution: Ubuntu
Posts: 5

Rep: Reputation: Disabled
'Suspend' does not work on Ubuntu installed on external hardrive


The situation: When I suspend the computer in Ubuntu, which is installed on an external hardrive connected through USB, it does not wake up properly.

Now, of course, this may be due to the USB hardware... it's most likely because the hardware is reset, as would be the soundcard and other things...

But I think it has worked before.

Is there any way to get around this problem, or should I just forget about suspending the computer? Or maby change the suspend settings in the BIOS?
 
Old 04-02-2012, 01:42 AM   #2
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,772
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
External drives go through a detection-throws-event process when the kernel
is awake enough to notice the USB device. Since your kernel is on the external drive
it might be hard to wake up ...

I don't know the details, but there are ways to tell your kernel that some USB device is always present. That might help your situation. Of course it might also mean that you must always use the same USB socket on your workstation.

This is an interesting problem. Likely it applies to all USB-connected drives
including flash. There are lots of flash-based live distros now.

Let us know whatever you learn.
~~~ 0;-Dan
 
Old 04-02-2012, 03:56 AM   #3
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Your external harddrive get its power from USB connector, right? Is the USB connector powered on when the computer is suspended?
 
Old 04-02-2012, 04:58 PM   #4
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,772
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
Quote:
Originally Posted by Satyaveer Arya View Post
Your external harddrive get its power from USB connector, right? Is the USB connector powered on when the computer is suspended?

Follow-up: Sometimes it is a CMOS setting to enable USB-power even though the workstation or laptop is power-down. Sometimes there are special port hardware.
My laptop has many USB ports, but one has yellow internals (not the standard black) and is power-on even with the laptop power-off. That said, I had to find the CMOS setting and enable this feature. It was disabled by default.


~~~ 0;-Dan
 
Old 04-13-2012, 01:08 AM   #5
aswam
LQ Newbie
 
Registered: Mar 2012
Distribution: Ubuntu
Posts: 5

Original Poster
Rep: Reputation: Disabled
Sorry for the delay.

From a couple of tests, I find that all USB ports seem to stay powered-on after suspend.
When the computer is on, they output 5.3V, while in suspend, they output 4.5V.
I believe this is negligeble -- there seems to be no problem here.

However, now I've got deal with the kernel, which may be a problem.

I should also try another live distro from a USB drive and see if it works.
 
Old 09-03-2012, 12:10 AM   #6
aswam
LQ Newbie
 
Registered: Mar 2012
Distribution: Ubuntu
Posts: 5

Original Poster
Rep: Reputation: Disabled
As far as I'm concerned, it works if I change the suspend mode to low power mode in the CMOS settings,
instead of the ram-save one...

Using the original mode, links to an external harddrive connected to by usb are disrupted.
No explanation, but using an alternate mode works.

Note: Loading from a USB drive worked in the original mode.
 
  


Reply



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 10.10 amd64 : Suspend doesn't work properly abdolah Linux - Hardware 1 10-21-2010 02:06 PM
Adding external hardrive to laptop operating Ubuntu Hardy sameol Linux - Newbie 7 01-03-2009 02:53 PM
[SOLVED] Suspend doesn't work on Ubuntu 8.04 (Hardy) on DELL Inspiron 1150 rhimbo Ubuntu 4 06-22-2008 06:58 AM
problem with new external hardrive bird603568 Slackware 9 07-10-2006 03:37 AM
mounting an external hardrive got_nix Linux - Newbie 2 10-18-2004 01:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:16 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration