Difference between revisions of "Tchibo Ecobutton"

From Random Projects
Jump to: navigation, search
(Tchibo Ecobutton.)
 
m
Line 1: Line 1:
The [http://www.tchibo.de/is-bin/INTERSHOP.enfinity/eCS/Store/de/-/EUR/TdTchDisplayProductInformation-Start?ProductSKU=0021538&produkt=Ecobutton Tchibo Ecobutton] is a small USB-powered device / button which acts as a HID device (and also has a fancy green LED). The use-case is that you press the button to suspend your PC in order to save power.
+
The [http://www.tchibo.de/is-bin/INTERSHOP.enfinity/eCS/Store/de/-/EUR/TdTchDisplayProductInformation-Start?ProductSKU=0021538&produkt=Ecobutton Tchibo Ecobutton] is a small USB-powered device / button which acts as a HID device (and also has three fancy green LEDs). The use-case is that you press the button to suspend your PC in order to save power.
 +
 
 
== Photos ==
 
== Photos ==
  
Line 11: Line 12:
 
== How it works ==
 
== How it works ==
  
It's a USB HID device. When you press the button, the HID devices "presses" the '''Windows+R''' keys on your (Windows) PC, which openes the standard Windows "Run" dialog, then it presses the keys '''ecobutton''' and '''Enter''', i.e. it executes a Windows program called ecobutton, which in turn does the rest of the work.
+
It's a USB HID device. When you press the button, the HID devices "presses" the '''Windows+R''' keys on your (Windows) PC, which openes the standard Windows "Run" dialog, then it presses the keys '''ecobutton''' and '''Enter''', i.e. it executes a Windows program called '''ecobutton''', which in turn does the rest of the work.
  
This device can easily be abused for other tasks, just provide an application named '''ecobutton''' which does whatever you want to happen at the button press. It's equally simple to do it on Linux or Mac OS X, of course. Just go into a console (or position the cursor in an xterm) and press the button. It'll invoke a program named '''ecobutton''' (must be in your path), as the '''Windows''' key is usually ignored on Linux.
+
This device can easily be abused for other tasks, just provide an application named '''ecobutton''' which does whatever you want to happen at the button press. It's equally simple to do it on Linux or Mac OS X, of course. Just go into a console (or position the cursor in an xterm) and press the button. It'll invoke a program named '''recobutton''' (sic!) which must be in your path, as the '''Windows''' key is usually ignored on Linux.

Revision as of 02:53, 30 August 2010

The Tchibo Ecobutton is a small USB-powered device / button which acts as a HID device (and also has three fancy green LEDs). The use-case is that you press the button to suspend your PC in order to save power.

Photos

How it works

It's a USB HID device. When you press the button, the HID devices "presses" the Windows+R keys on your (Windows) PC, which openes the standard Windows "Run" dialog, then it presses the keys ecobutton and Enter, i.e. it executes a Windows program called ecobutton, which in turn does the rest of the work.

This device can easily be abused for other tasks, just provide an application named ecobutton which does whatever you want to happen at the button press. It's equally simple to do it on Linux or Mac OS X, of course. Just go into a console (or position the cursor in an xterm) and press the button. It'll invoke a program named recobutton (sic!) which must be in your path, as the Windows key is usually ignored on Linux.