---
 ...rkaround-buggy-kernel-to-get-full-vibrati.patch |   33 ++++++++++++++++++++
 recipes/freesmartphone/frameworkd_git.bb           |    3 +-
 2 files changed, 35 insertions(+), 1 deletions(-)
 create mode 100644 
recipes/freesmartphone/frameworkd/0001-oeventsd-workaround-buggy-kernel-to-get-full-vibrati.patch

diff --git 
a/recipes/freesmartphone/frameworkd/0001-oeventsd-workaround-buggy-kernel-to-get-full-vibrati.patch
 
b/recipes/freesmartphone/frameworkd/0001-oeventsd-workaround-buggy-kernel-to-get-full-vibrati.patch
new file mode 100644
index 0000000..1dd1ef2
--- /dev/null
+++ 
b/recipes/freesmartphone/frameworkd/0001-oeventsd-workaround-buggy-kernel-to-get-full-vibrati.patch
@@ -0,0 +1,33 @@
+From 72ad63c5ce9f2d25a119612065d86bd317bf80ed Mon Sep 17 00:00:00 2001
+From: Sebastian Krzyszkowiak <[email protected]>
+Date: Wed, 7 Jul 2010 15:01:59 +0200
+Subject: [PATCH] oeventsd: workaround buggy kernel to get full vibration power.
+ This patch should be disabled as soon as fixed kernel arrives.
+
+---
+ framework/subsystems/oeventsd/fso_actions.py |    4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/framework/subsystems/oeventsd/fso_actions.py 
b/framework/subsystems/oeventsd/fso_actions.py
+index c0a29dd..b9a2104 100644
+--- a/framework/subsystems/oeventsd/fso_actions.py
++++ b/framework/subsystems/oeventsd/fso_actions.py
+@@ -162,13 +162,13 @@ class VibratorAction(Action):
+                         'org.freesmartphone.odeviced',
+                         '/org/freesmartphone/Device/Vibrator/%s' % 
self.target,
+                         'org.freesmartphone.Device.Vibrator',
+-                        'VibratePattern', 999, 300, 700, 90).trigger()
++                        'VibratePattern', 999, 300, 700, 25).trigger()
+         elif self.mode == "oneshot":
+             DBusAction(dbus.SystemBus(),
+                         'org.freesmartphone.odeviced',
+                         '/org/freesmartphone/Device/Vibrator/%s' % 
self.target,
+                         'org.freesmartphone.Device.Vibrator',
+-                        'Vibrate', 400, 90).trigger()
++                        'Vibrate', 400, 25).trigger()
+         else:
+             logger.warning( "invalid vibration mode '%s', valid are 
'continuous' or 'oneshot'" )
+ 
+-- 
+1.7.1
+
diff --git a/recipes/freesmartphone/frameworkd_git.bb 
b/recipes/freesmartphone/frameworkd_git.bb
index dea7993..4b27e6e 100644
--- a/recipes/freesmartphone/frameworkd_git.bb
+++ b/recipes/freesmartphone/frameworkd_git.bb
@@ -6,7 +6,7 @@ DEPENDS = "python-cython-native python-pyrex-native"
 LICENSE = "GPL"
 SRCREV = "8f618948c4c74853f28b773cdc74ceefa1fb6899"
 PV = "0.9.5.9+gitr${SRCPV}"
-PR = "r4"
+PR = "r5"
 PE = "1"
 
 inherit distutils update-rc.d python-dir
@@ -21,6 +21,7 @@ SRC_URI = 
"${FREESMARTPHONE_GIT}/framework.git;protocol=git;branch=master \
            file://frameworkd.conf \
           "
 SRC_URI_append_shr = "file://oeventsd-use-opimd-signals.patch"
+SRC_URI_append_shr = 
"file://0001-oeventsd-workaround-buggy-kernel-to-get-full-vibrati.patch"
 
 S = "${WORKDIR}/git"
 
-- 
1.7.1

_______________________________________________
Shr-devel mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-devel

Reply via email to