fso-frameworkd (0.8.5.1-1) 09_make-upstream-frameworkd.conf-generic.patch

Summary

 conf/example/frameworkd.conf |   31 ++++++++++++++++++++-----------
 1 file changed, 20 insertions(+), 11 deletions(-)

    
download this patch

Patch contents

Disable all specific services, so it can be provided by the
fso-config-generic package (plus some small fixes)
--- fso-frameworkd.orig/conf/example/frameworkd.conf
+++ fso-frameworkd/conf/example/frameworkd.conf
@@ -2,6 +2,7 @@
 # indicates this configuration version, do not change
 version = 1
 # the default log_level, if not specified per module
+# available log levels are: DEBUG, INFO, WARNING, ERROR, CRITICAL
 log_level = INFO
 # the global log_destination. Uncomment to enable
 log_to = stderr
@@ -14,9 +15,8 @@
 rootdir = ../etc/freesmartphone:/etc/freesmartphone:/usr/etc/freesmartphone
 
 [odeviced]
-# set log level for a subsystem or for an individual module
-# available log levels are: DEBUG, INFO, WARNING, ERROR, CRITICAL
-log_level = INFO
+# set 1 to disable a module
+disable = 0
 
 [odeviced.kernel26]
 # set 1 to disable a module
@@ -29,13 +29,15 @@
 fb_blank = 1
 
 [odeviced.audio]
+# set 1 to disable a module
+disable = 1
 # set directory where the alsa audio scenarios are stored
 scenario_dir = /usr/share/openmoko/scenarios
 # set default scenario loaded at startup
 default_scenario = stereoout
 
 [odeviced.idlenotifier]
-# add inut nodes to ignore for idle activity
+# add input nodes to ignore for idle activity
 ignoreinput = 2,3,4
 # configure timeouts (in seconds) here. A value of 0
 # means 'never fall into this state' (except programatically)
@@ -46,6 +48,8 @@
 suspend = 0
 
 [odeviced.input]
+# set 1 to disable a module
+disable = 1
 # format is <keyname>,<type>,<input device keycode>,<report held seconds in addition to press/release>
 report1 = AUX,key,169,1
 report2 = POWER,key,116,1
@@ -53,10 +57,12 @@
 report4 = HEADSET,switch,2,0
 
 [odeviced.powercontrol-neo]
-disable = 0
+# set 1 to disable a module
+disable = 1
 
 [ogsmd]
-disable = 0
+# set 1 to disable a module
+disable = 1
 # choose your modem type, available types are: ti_calypso, freescale_neptune, singleline, muxed4line, option, ...
 modemtype = ti_calypso
 # if you have a ti_calypso, you can choose the deep sleep mode. Valid values are: never, adaptive (default), always
@@ -74,29 +80,32 @@
 #    "aec+nr": Long Echo Cancellation (max) plus Noise Reduction (max) [default]
 #    "none": No audio processing.
 ti_calypso_dsp_mode = aec+nr
-log_level = INFO
 
 [ogpsd]
+# set 1 to disable a module
+disable = 1
 # possible options are NMEADevice, UBXDevice, GTA02Device, EtenDevice
 device = GTA02Device
 # possible options are SerialChannel, GllinChannel, UDPChannel, FileChannel
 channel = SerialChannel
 # For UDPChannel the path defines the port to listen to
 path = /dev/ttySAC1
-log_level = INFO
 
 [ousaged]
+# set 1 to disable a module
+disable = 0
 # choose whether resources should be disabled at startup, at shutdown, always (default), or never.
 sync_resources_with_lifecycle = always
 
 [opreferencesd]
-log_level = DEBUG
+# set 1 to disable a module
 disable = 0
-# log_level = DEBUG
+log_level = DEBUG
 
 [oeventsd]
+# set 1 to disable a module
+disable = 0
 log_level = DEBUG
-disbale = 0
 
 [opimd]
 contacts_default_backend = CSV-Contacts