Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 5 of 5

Thread: Standby cu Enigma2

  1. #1
    Golden Member wambertos's Avatar
    Join Date
    27 Jul 2007
    Posts
    379
    Mentioned
    0 Post(s)
    Rep Power
    63

    Default Standby cu Enigma2

    Editati in fisierul mytest.py

    def __init__(self, session):
    self.session = session
    globalActionMap.actions["power_down"]=self.powerdown
    globalActionMap.actions["power_up"]=self.powerup
    globalActionMap.actions["power_long"]=self.powerlong
    globalActionMap.actions["deepstandby"]=self.shutdown # frontpanel long power button press
    self.standbyblocked = 1
    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
    Fisierul il gasiti in /usr/lib/enigma2/python/mytest.py
    Dupa un restart aveti pe Kathy un "real" Standby, iar emu ruleaza in continuare.
    Last edited by zildan; 20-11-08 at 09:19. Reason: uitase ceva

  2. #2
    RSP - TEAM zildan's Avatar
    Join Date
    05 Dec 2007
    Location
    Sudul Romaniei
    Posts
    8,511
    Mentioned
    93 Post(s)
    Rep Power
    100

    Default Re: Standby cu Enigma2

    Mergea din meiu faza. Sa inteleg ca acum merge din telecomanda?
    Sh40, AML, prime focus 1,5m si altele ...

  3. #3
    Golden Member wambertos's Avatar
    Join Date
    27 Jul 2007
    Posts
    379
    Mentioned
    0 Post(s)
    Rep Power
    63

    Default Re: Standby cu Enigma2

    Exact, direct din telecomanda, apasind pe butonul rosu.

  4. #4
    Standard RSP member mesteru's Avatar
    Join Date
    15 Nov 2007
    Location
    Romania
    Posts
    389
    Mentioned
    5 Post(s)
    Rep Power
    62

    Default Re: Standby cu Enigma2

    Quote Originally Posted by wambertos View Post
    Exact, direct din telecomanda, apasind pe butonul rosu.
    cu ce se editeaza fisierul. merci!

    se poate cu worldPad
    Last edited by mesteru; 19-11-08 at 15:20.

  5. #5
    RSP - TEAM zildan's Avatar
    Join Date
    05 Dec 2007
    Location
    Sudul Romaniei
    Posts
    8,511
    Mentioned
    93 Post(s)
    Rep Power
    100

    Default Re: Standby cu Enigma2

    S-a lamurit problema si am modificat primul post, fisierele mytest.py sunt diferite la fiecare versiune de e2 si in consecinta le postam la topicul imaginii respective !!
    Last edited by zildan; 20-11-08 at 03:04.
    Sh40, AML, prime focus 1,5m si altele ...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •