I've tried like this:
-
   #
   # Call -> Audio Scenario Handling
   #
   trigger: IncomingMessage()
   actions:
            - Command('chvt 2')
            - MessageTone(play)

-
   while: CallListContains("INCOMING")
   filters: Not(CallListContains("ACTIVE"))
   actions:
            - Command('chvt 2')
            - RingTone()
            - SetLed("gta02_aux_red", "blink")
            - OccupyResource(Display)

Although it does set the right VT, the system freezes completely.
Any other option?...


Vasco Névoa wrote:
I'd like to put the "chvt 2" in the /etc/freesmartphone/oevents/rules.yaml file as a temporary workaround. How should I write this? I don't know which attribute to filter in the trigger... ideally it would be like:
-
   trigger: PowerStatus()
   filters: HasAttr(status, "resume")
   actions: Command('chvt2')


Vasco Névoa wrote:
I never get it back.
Thanks for the chvt tip!
And since there are people with this problem booting either from NAND or SDcard, I suppose this is a race condition problem, and nothing to do with boot loaders.

Helge Hafting wrote:
Andrew Stephen wrote:
On Wed, May 5, 2010 at 9:13 AM, David Kozub <[email protected]> wrote:
On Tue, 4 May 2010, Kai-Martin wrote:
[...]
I'm having the same problem booting from NAND.

Going into suspend from Quick Settings resumes fine, but auto-suspend

- First click of power button; resumes to a blank screen with flashing
cursor for about 1 sec before going back into suspend.
- Click power button again and it resumes to the blank screen with
flashing cursor.

I see something similar. first click gets that black screen
with a cursor, and then it suspends itself.

Second or third click gets me the xserver. So no big problem,
but annoying. Especially as this is a new regression.

Helge Hafting
_______________________________________________
Shr-User mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-user
_______________________________________________
Shr-User mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-user
_______________________________________________
Shr-User mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-user
_______________________________________________
Shr-User mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-user

Reply via email to