turning devices on and off to save power

Getting your soundcard to work, using Debian on non-i386 hardware, etc

turning devices on and off to save power

Postby buddhaboy » 2017-02-20 08:59

what is the best way to turn devices such as screen, cdrom, usb ports, (possibly unused bus) on and off during run time.
i would prefer a raw, straight forward method apposed to some sort of management software because i would like to control devices power status in custom services/ scripts/ bins 8) thanks in advance!
buddhaboy
 
Posts: 2
Joined: 2017-02-19 20:34

Re: turning devices on and off to save power

Postby phenest » 2017-02-21 20:05

Have you done any research of your own prior to asking here? If so, please share so we can help with what you found.
NEC Spirit 550 P4 3.8GHz HT - 2GB RAM - nVidia 7600GT - Pioneer BDR-209DBK
ASUS Sabertooth P67 i7 3770K - 32GB RAM - 2x nVidia 660GTX SLI'd
User avatar
phenest
 
Posts: 1571
Joined: 2010-03-09 09:38
Location: The Matrix

Re: turning devices on and off to save power

Postby pylkko » 2017-02-22 09:25

If your question were even a tad bit more specific there could be some interesting discussion, but unfortunately, as is it is just too vague for there to be anything interesting to say. Many periferials can be turned off and others can be forced into low power states. It is also possible to estimate approximately how much power a device uses with tools like powertop
User avatar
pylkko
 
Posts: 1113
Joined: 2014-11-06 19:02

Re: turning devices on and off to save power

Postby phenest » 2017-02-22 17:06

pylkko wrote:unfortunately, as is it is just too vague for there to be anything interesting to say.

Whilst I agree with this, I gave it some thought and some answers may be obvious given the vagueness of the question:

Modern optical drives support something called Zero Power. This basically means that when it's not in use, it automatically turns itself off so it uses no power. This is a hardware feature, and I don't think this can be accomplished via software.

As for the screen: a screensaver can deal with that.

And as for USB ports, surely if you unplug something from it, the USB port is not consuming power any more.
NEC Spirit 550 P4 3.8GHz HT - 2GB RAM - nVidia 7600GT - Pioneer BDR-209DBK
ASUS Sabertooth P67 i7 3770K - 32GB RAM - 2x nVidia 660GTX SLI'd
User avatar
phenest
 
Posts: 1571
Joined: 2010-03-09 09:38
Location: The Matrix

Re: turning devices on and off to save power

Postby Bulkley » 2017-02-22 18:07

Code: Select all
shutdown -h now

Code: Select all
systemctl poweroff
Bulkley
 
Posts: 5288
Joined: 2006-02-11 18:35


Return to Hardware

Who is online

Users browsing this forum: No registered users and 2 guests

fashionable