changed oevents/rules.yaml to work with MS 4
git-svn-id: http://www.neo1973-germany.de/svn@210 46df4e5c-bc4e-4628-a0fc-830ba316316d
This commit is contained in:
parent
898645f7ba
commit
36c9f2b47b
4 changed files with 25 additions and 4 deletions
Binary file not shown.
|
@ -19,4 +19,10 @@ during a call gsmhandset.state or gsmheadset.state is loaded
|
|||
Known Issues:
|
||||
-the "lock-funktion" don't work yet
|
||||
-the install script will overwrite your /etc/freesmartphone/oevents/rules.yaml and some other files.
|
||||
-I don't know what happens if you plug in or remove the headset during an call
|
||||
-You will hear nothing, if you plug in or remove the headset during an call
|
||||
|
||||
Changelog:
|
||||
|
||||
Rev 210: changed oevents/rules.yaml to work with Milestone 4.
|
||||
|
||||
Rev 209: first version: works with fso-testing before Milestone 4
|
||||
|
|
|
@ -76,7 +76,7 @@ class auxmenuclass:
|
|||
os.system("apm -s")
|
||||
elif signal == "shutdown":
|
||||
print "shutdown"
|
||||
os.system("halt")
|
||||
os.system("poweroff")
|
||||
ecore.main_loop_quit()
|
||||
def mute(self):
|
||||
if self.profile == "default":
|
||||
|
|
|
@ -24,6 +24,16 @@
|
|||
-
|
||||
trigger: Time(12,29)
|
||||
actions: Debug("A Test")
|
||||
-
|
||||
#
|
||||
# Suspend Handling
|
||||
#
|
||||
trigger: InputEvent()
|
||||
filters:
|
||||
- HasAttr(switch, "POWER")
|
||||
- HasAttr(event, "released")
|
||||
- HasAttr(duration, 0)
|
||||
actions: Suspend()
|
||||
-
|
||||
#
|
||||
# Call -> Audio Scenario Handling
|
||||
|
@ -122,6 +132,9 @@
|
|||
while: Test("test2")
|
||||
actions: RingTone()
|
||||
-
|
||||
trigger: DbusTrigger(system, 'org.freesmartphone.odeviced', 0, 'org.freesmartphone.Device.IdleNotifier', 'State')
|
||||
actions: Debug("dbus trigger test")
|
||||
-
|
||||
|
||||
#
|
||||
# Idleness Brightness Handling
|
||||
|
@ -137,6 +150,10 @@
|
|||
trigger: IdleState()
|
||||
filters: HasAttr(status, "idle_prelock")
|
||||
actions: SetDisplayBrightness("pcf50633_bl", 0)
|
||||
|
||||
#
|
||||
# usb and aux Handling
|
||||
#
|
||||
-
|
||||
trigger: InputEvent()
|
||||
filters:
|
||||
|
@ -151,5 +168,3 @@
|
|||
- HasAttr(event, "pressed")
|
||||
|
||||
actions: Command('auxmenu')
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue