[pkg-fso-commits] [SCM] openmoko-files-config, various files for the Openmoko devices branch, master, updated. debian/20090224-1-3-g057a97f

Joachim Breitner mail at joachim-breitner.de
Sun Jul 26 22:16:23 UTC 2009


The following commit has been merged in the master branch:
commit 13e74cb25892636a4717b7404021265b18ae3457
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date:   Mon Jul 27 00:05:39 2009 +0200

    Disable frameworkd suspend-on-power-button in order not to conflict with zhone power-button feature

diff --git a/common/etc/freesmartphone/oevents/rules.yaml b/common/etc/freesmartphone/oevents/rules.yaml
index f82114f..a46b685 100644
--- a/common/etc/freesmartphone/oevents/rules.yaml
+++ b/common/etc/freesmartphone/oevents/rules.yaml
@@ -28,13 +28,21 @@
     #
     # Suspend Handling
     #
-    trigger: InputEvent()
-    filters:
-             - HasAttr(switch, "POWER")
-             - HasAttr(event, "released")
-             - HasAttr(duration, 0)
-    actions: Suspend()
--
+#
+# In the default Debian install, zhone is started; it reacts to the
+# power button by presenting a menu allowing to suspend / shutdown /
+# reboot / Lock screen / turn on Bluetooth/WiFi/GPS.
+# Frameworkd suspending on power-button conflicts with that and it is
+# thus disabled by default. If you don't use zhone, you may want to
+# reenable it. Just delete this comment and uncomment the following:
+#
+#    trigger: InputEvent()
+#    filters:
+#             - HasAttr(switch, "POWER")
+#             - HasAttr(event, "released")
+#             - HasAttr(duration, 0)
+#    actions: Suspend()
+#-
     #
     # Call -> Audio Scenario Handling
     #

-- 
openmoko-files-config, various files for the Openmoko devices



More information about the pkg-fso-commits mailing list