How to change power ON/OFF mode from deepstandby to standby:
Change file
/usr/lib/enigma2/phyton/mytest.pyand find this rows in program code and change exactly after world "self.power" to "=self.standby":
| Code: |
class PowerKey:
""" PowerKey stuff - handles the powerkey press and powerkey release actions"""
def __init__(self, session):
self.session = session
globalActionMap.actions["power_down"]=self.standby
globalActionMap.actions["power_up"]=self.standby
globalActionMap.actions["power_long"]=self.powerlong
globalActionMap.actions["deepstandby"]=self.standby # frontpanel long power button press
self.standbyblocked = 1
|
Restart enigma.
If you press power button - receivers sends to standby, if pres again, - enigma switch on very quicly.
I don't tested this trick with started emu.
Emu get keys from server or not? Please to test.
Post edited by: Saulius5, at: 2008/11/19 08:28