Solved

How do I remotely turn on a USB drive that is hooked into a linux computer ?

Posted on 2006-11-26
4
295 Views
Last Modified: 2008-02-01

The envirement:
Home, Roadrunner, IDE drive in an external USB case, Webserver with Suse 10.1

Requirement:
I do not want the USB drive to be taking electric when it is just sitting.  If I can remotely turn it on with root access, I can get my files and turn the drive back off.  I do not want to spend all that much.  This is a home " just for fun" system.

 
0
Comment
Question by:bitmechanic
4 Comments
 

Author Comment

by:bitmechanic
ID: 18014598
Additional stuff:

It would be easier to turn it on and off at the power plug. Some day I may want to turn on other comptuers in the same way.  I have computers however processors eat so much electric these days, and the drives are not exactly tea totallers.  

0
 
LVL 24

Accepted Solution

by:
slyong earned 125 total points
ID: 18016598
You are probably looking at something like this http://www.bomara.com/WTI/tps2.htm
0
 
LVL 27

Assisted Solution

by:Nopius
Nopius earned 125 total points
ID: 18016753
Not all devices support power management features.
For IDE over USB you may do two 'turn offs':
1) Park IDE drive in USB enclosure (it will stop spinning) still keeping it attached to your Linux box.
This method is described here: http://forum.openwrt.org/viewtopic.php?pid=37514
also read man hdparm

2) Detach  device from Linux like you do 'Safe device removal' in Windows.
it can be done with hdparm -U .

For other devices, the are two standards of power management APM and ACPI. By default Linux uses ACPI.
With ACPI you can control, for example, CPU speed, depending on system load (in some CPUs, if CPU is supports speedstep or enhanced speedstep technology support).
Read here for more info: http://rffr.de/acpi
0
 
LVL 30

Expert Comment

by:Kerem ERSOY
ID: 18016799
Hi,

It is ot possible to turn the electricity t an external USB dirve this way. If you buy a remotely controllable Power Outlet controlling 4/8/16 systems at at time you can turn on and off individual systems. But it would cost you more then all systems would consume in 10 years in total :)
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Check if a filw is immutable for a certain amount of time 6 62
Exchange 2010 unable to mount DB due to corruption 11 115
Run Secure WMI query from CentOS 5 33
number in printf 13 27
In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question