[pkg-fso-commits] [SCM] FSO frameworkd Debian packaging branch, debian, updated. upstream/0.9.5.5-717-g0f98819
Sebastian Krzyszkowiak
seba.dos1 at gmail.com
Sat Aug 6 08:20:02 UTC 2011
The following commit has been merged in the debian branch:
commit 72ad63c5ce9f2d25a119612065d86bd317bf80ed
Author: Sebastian Krzyszkowiak <seba.dos1 at gmail.com>
Date: Wed Jul 7 15:01:59 2010 +0200
oeventsd: workaround buggy kernel to get full vibration power.
This patch should be disabled as soon as fixed kernel arrives.
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'" )
--
FSO frameworkd Debian packaging
More information about the pkg-fso-commits
mailing list