[pkg-fso-commits] [SCM] FSO frameworkd Debian packaging branch, debian, updated. debian/0.9.5.9+git20110512-1-44-g2b0bd1a
Simon Busch
morphis at gravedo.de
Tue May 15 11:58:57 UTC 2012
The following commit has been merged in the debian branch:
commit 6bf5927508f9a3129f1b38890c7ebbbdec390633
Author: Simon Busch <morphis at gravedo.de>
Date: Wed Dec 21 09:39:22 2011 +0100
Add rules.yaml for herring device known as Nexus S
Signed-off-by: Simon Busch <morphis at gravedo.de>
diff --git a/etc/freesmartphone/oevents/om-gta04/rules.yaml b/etc/freesmartphone/oevents/herring/rules.yaml
similarity index 70%
copy from etc/freesmartphone/oevents/om-gta04/rules.yaml
copy to etc/freesmartphone/oevents/herring/rules.yaml
index 19f83b1..7b406e9 100644
--- a/etc/freesmartphone/oevents/om-gta04/rules.yaml
+++ b/etc/freesmartphone/oevents/herring/rules.yaml
@@ -35,22 +35,7 @@
- RingTone()
- OccupyResource(Display)
-#-
-# while: NewMissedCalls()
-# actions: SetLed("gta02_red_aux", "blink")
-#
--
- while: UnreadMessages()
- actions: SetLed("gta04_red_aux", "blink")
-
-
-# while: CallStatus()
-# filters:
-# - Or(Or(HasAttr(status, "OUTGOING"), HasAttr(status, "ACTIVE")), And(HasAttr(status, "INCOMING"), CallListContains("ACTIVE")))
-# - Not(BTHeadsetIsConnected())
-# actions:
-# - SetScenario(gsmhandset)
-#-
while: CallStatus()
filters:
- Or(Or(HasAttr(status, "OUTGOING"), HasAttr(status, "ACTIVE")), And(HasAttr(status, "INCOMING"), CallListContains("ACTIVE")))
@@ -59,19 +44,13 @@
- SetScenario(gsmbluetooth)
- BTHeadsetPlaying()
-
- while: PowerStatus()
- filters: HasAttr(status, "charging")
- actions: SetLed("gta04_red_power", "light")
--
- while: PowerStatus()
- filters: HasAttr(status, "critical")
- actions: SetLed("gta04_red_power", "blink")
--
- while: PowerStatus()
- filters: HasAttr(status, "full")
- actions: SetLed("gta04_green_power", "light")
--
trigger: PowerStatus()
filters: HasAttr(status, "empty")
actions: Command('poweroff')
-
+-
+ trigger: InputEvent()
+ filters:
+ - HasAttr(switch, "POWER")
+ - HasAttr(event, "released")
+ - HasAttr(duration, 0)
+ actions: Command("/usr/bin/phoneui-quick-settings")
--
FSO frameworkd Debian packaging
More information about the pkg-fso-commits
mailing list