[pkg-fso-maint] [PATCH] Disable frameworkd suspend-on-power-button in order not to conflict with zhone power-button feature
Lionel Elie Mamane
lmamane at debian.org
Sun Jul 26 22:05:39 UTC 2009
From: Lionel Elie Mamane <lionel at mamane.lu>
---
common/etc/freesmartphone/oevents/rules.yaml | 22 +++++++++++++++-------
1 files changed, 15 insertions(+), 7 deletions(-)
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
#
--
1.6.3.1
More information about the pkg-fso-maint
mailing list