[SOLVED] 'Suspend' does not work on Ubuntu installed on external hardrive
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.