[pkg-fso-commits] [SCM] FSO frameworkd Debian packaging branch, master, updated. milestone4-368-g700ab82
Michael 'Mickey' Lauer
mickey at vanille-media.de
Mon Feb 2 18:51:27 UTC 2009
The following commit has been merged in the master branch:
commit 79418c6cc20f7cfdeb053d1c76af2a7e0d483f4f
Author: Guillaume Chereau <charlie at openmoko.org>
Date: Fri Nov 28 15:48:48 2008 +0800
ogsmd: use 'serial' conf parameter to find the serial line in single line modem
diff --git a/framework/subsystems/ogsmd/modems/singleline/modem.py b/framework/subsystems/ogsmd/modems/singleline/modem.py
index ac108b0..72db021 100644
--- a/framework/subsystems/ogsmd/modems/singleline/modem.py
+++ b/framework/subsystems/ogsmd/modems/singleline/modem.py
@@ -17,6 +17,8 @@ from ..abstract.modem import AbstractModem
from .channel import SingleLineChannel
from .unsolicited import UnsolicitedResponseDelegate
+from framework.config import config
+
#=========================================================================#
class SingleLine( AbstractModem ):
#=========================================================================#
@@ -34,5 +36,4 @@ class SingleLine( AbstractModem ):
return self._channels["SINGLE"]
def portfactory( self, name ):
- # FIXME read from configuration
- return "/dev/ttySAC0"
+ return config.getValue("ogsmd", "serial", default="/dev/ttySAC0")
--
FSO frameworkd Debian packaging
More information about the pkg-fso-commits
mailing list