Solved

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

Posted on 2006-11-26
4
293 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

This document is written for Red Hat Enterprise Linux AS release 4 and ORACLE 10g.  Earlier releases can be installed using this document as well however there are some additional steps for packages to be installed see Metalink. Disclaimer: I hav…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

762 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

Need Help in Real-Time?

Connect with top rated Experts

5 Experts available now in Live!

Get 1:1 Help Now