[pkg-fso-commits] [SCM] openmoko-files-config, various files for the Openmoko devices branch, upstream, updated. upstream/20080912-18-g9d01b62
Luca Capello
luca at pca.it
Mon Jun 8 01:12:46 UTC 2009
The following commit has been merged in the upstream branch:
commit 9d01b6295a7f059227a998599b1108fb77d81125
Author: Luca Capello <luca at pca.it>
Date: Mon Jun 8 03:07:32 2009 +0200
GTA*/etc/frameworkd.conf: merge with frameworkd example
This commit adds more verbosity options to frameworkd.conf
files, now based on the one provided by the fso-frameworkd
package in /usr/share/doc/fso-frameworkd/example/.
diff --git a/GTA01_Neo-1973/etc/frameworkd.conf b/GTA01_Neo-1973/etc/frameworkd.conf
index b2a817a..953a510 100644
--- a/GTA01_Neo-1973/etc/frameworkd.conf
+++ b/GTA01_Neo-1973/etc/frameworkd.conf
@@ -1,33 +1,127 @@
[frameworkd]
+# 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
-log_to = syslog
+# the global log_destination. Uncomment to enable
+log_to = stderr
+#log_to = file
+#log_to = syslog
+# if logging to a file, specify the destination
+log_destination = /tmp/frameworkd.log
+# persistance format, one of "pickle", "yaml"
+persist_format = pickle
+rootdir = ../etc/freesmartphone:/etc/freesmartphone:/usr/etc/freesmartphone
+
+[odeviced]
+# set 1 to disable a module
+disable = 0
+
+[odeviced.kernel26]
+# set 1 to disable a module
+disable = 0
+# poll capacity once every 5 minutes
+# (usually, you do not have to change this)
+capacity_check_timeout = 300
+# set 0 to disable FB_BLANK ioctl to blank framebuffer
+# (if you have problems on Openmoko GTA02)
+fb_blank = 1
[odeviced.audio]
-# set default alsa scenario
-default_scenario = stereoout
-# set path to alsa scenario files
+# set 1 to disable a module
+disable = 0
+# 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]
+# set 1 to disable a module
+disable = 0
+# 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)
+idle = 10
+idle_dim = 20
+idle_prelock = 12
+lock = 2
+suspend = 0
[odeviced.input]
-# Keys
+# set 1 to disable a module
+disable = 0
+# 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
report3 = USB,key,356,0
report4 = HEADSET,switch,2,0
+[odeviced.powercontrol-neo]
+# set 1 to disable a module
+disable = 0
+
[ogsmd]
-# GTA01 has TI Calypso
+# set 1 to disable a module
+disable = 0
+# choose your modem type, available types are: ti_calypso, freescale_neptune, singleline, muxed4line, option, ...
modemtype = ti_calypso
-ti_calypso_deep_sleep = never
+# if you have a ti_calypso, you can choose the deep sleep mode. Valid values are: never, adaptive (default), always
+ti_calypso_deep_sleep = adaptive
+# if you have a ti_calypso, you can choose the dsp mode for audio enhancement. Valid values are:
+# "short-aec": Short Echo Cancellation (max)
+# "long-aec": Long Echo Cancellation (max)
+# "long-aec:6db": Long Echo Cancellation (-6db)
+# "long-aec:12db": Long Echo Cancellation (-12db)
+# "long-aec:18db": Long Echo Cancellation (-18db)
+# "nr": Noise Reduction (max)
+# "nr:6db": Noise Reduction (-6db)
+# "nr:12db": Noise Reduction (-12db)
+# "nr:18db": Noise Reduction (-18db)
+# "aec+nr": Long Echo Cancellation (max) plus Noise Reduction (max) [default]
+# "none": No audio processing.
+ti_calypso_dsp_mode = aec+nr
[ogpsd]
+# set 1 to disable a module
+disable = 0
+# possible options are NMEADevice, UBXDevice, GTA02Device, EtenDevice
device = NMEADevice
+# possible options are SerialChannel, GllinChannel, UDPChannel, FileChannel
channel = GllinChannel
+# For UDPChannel the path defines the port to listen to
path = /etc/init.d/gllin
+[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]
+# set 1 to disable a module
+disable = 0
+log_level = DEBUG
rootdir = ../etc/freesmartphone/opreferences:/etc/freesmartphone/opreferences:/usr/etc/freesmartphone/opreferences
[oeventsd]
+# set 1 to disable a module
+disable = 0
+log_level = DEBUG
rules_file = ../etc/freesmartphone/oevents/rules.yaml:/etc/freesmartphone/oevents/rules.yaml:/usr/etc/freesmartphone/oevents/rules.yaml
+
+[opimd]
+# set 1 to disable a module
+disable = 1
+contacts_default_backend = CSV-Contacts
+messages_default_folder = Unfiled
+messages_trash_folder = Trash
+sim_messages_default_folder = SMS
+rootdir = ../etc/freesmartphone/opim:/etc/freesmartphone/opim:/usr/etc/freesmartphone/opim
+
+[otimed]
+# a list of time/zone sources to use or NONE
+timesources = GPS,NTP
+zonesources = GSM
+
diff --git a/GTA02_Neo-FreeRunner/etc/frameworkd.conf b/GTA02_Neo-FreeRunner/etc/frameworkd.conf
index 796d4fb..55cfdec 100644
--- a/GTA02_Neo-FreeRunner/etc/frameworkd.conf
+++ b/GTA02_Neo-FreeRunner/etc/frameworkd.conf
@@ -1,48 +1,134 @@
[frameworkd]
+# 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
-log_to = syslog
+# the global log_destination. Uncomment to enable
+log_to = stderr
+#log_to = file
+#log_to = syslog
+# if logging to a file, specify the destination
+log_destination = /tmp/frameworkd.log
+# persistance format, one of "pickle", "yaml"
+persist_format = pickle
+rootdir = ../etc/freesmartphone:/etc/freesmartphone:/usr/etc/freesmartphone
+
+[odeviced]
+# set 1 to disable a module
+disable = 0
+
+[odeviced.kernel26]
+# set 1 to disable a module
+disable = 0
+# poll capacity once every 5 minutes
+# (usually, you do not have to change this)
+capacity_check_timeout = 300
+# set 0 to disable FB_BLANK ioctl to blank framebuffer
+# (if you have problems on Openmoko GTA02)
+fb_blank = 1
[odeviced.audio]
-# set default alsa scenario
-default_scenario = stereoout
-# set path to alsa scenario files
+# set 1 to disable a module
+disable = 0
+# 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]
+# set 1 to disable a module
+disable = 0
# don't read from accellerometers for GTA02
-ignoreinput=2,3
+ignoreinput = 2,3
+# configure timeouts (in seconds) here. A value of 0
+# means 'never fall into this state' (except programatically)
+idle = 10
+idle_dim = 20
+idle_prelock = 12
+lock = 2
+suspend = 0
[odeviced.input]
+# set 1 to disable a module
+disable = 0
# don't read from accellerometers for GTA02
-ignoreinput=2,3
-# keys
+ignoreinput = 2,3
+# 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
report3 = USB,key,356,0
report4 = HEADSET,switch,2,0
+[odeviced.powercontrol-neo]
+# set 1 to disable a module
+disable = 0
+
# disable accelerometer since it uses LOADS of CPU resources
[odeviced.accelerometer]
disable = 1
accelerometer_type = gta02
[ogsmd]
-# GTA02 has TI Calypso
+# set 1 to disable a module
+disable = 0
+# choose your modem type, available types are: ti_calypso, freescale_neptune, singleline, muxed4line, option, ...
modemtype = ti_calypso
-ti_calypso_deep_sleep = never
+# if you have a ti_calypso, you can choose the deep sleep mode. Valid values are: never, adaptive (default), always
+ti_calypso_deep_sleep = adaptive
+# if you have a ti_calypso, you can choose the dsp mode for audio enhancement. Valid values are:
+# "short-aec": Short Echo Cancellation (max)
+# "long-aec": Long Echo Cancellation (max)
+# "long-aec:6db": Long Echo Cancellation (-6db)
+# "long-aec:12db": Long Echo Cancellation (-12db)
+# "long-aec:18db": Long Echo Cancellation (-18db)
+# "nr": Noise Reduction (max)
+# "nr:6db": Noise Reduction (-6db)
+# "nr:12db": Noise Reduction (-12db)
+# "nr:18db": Noise Reduction (-18db)
+# "aec+nr": Long Echo Cancellation (max) plus Noise Reduction (max) [default]
+# "none": No audio processing.
+ti_calypso_dsp_mode = aec+nr
[ogpsd]
+# set 1 to disable a module
+disable = 0
+# 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
+[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]
+# set 1 to disable a module
+disable = 0
+log_level = DEBUG
rootdir = ../etc/freesmartphone/opreferences:/etc/freesmartphone/opreferences:/usr/etc/freesmartphone/opreferences
[oeventsd]
+# set 1 to disable a module
+disable = 0
+log_level = DEBUG
rules_file = ../etc/freesmartphone/oevents/rules.yaml:/etc/freesmartphone/oevents/rules.yaml:/usr/etc/freesmartphone/oevents/rules.yaml
[opimd]
+# set 1 to disable a module
disable = 1
+contacts_default_backend = CSV-Contacts
+messages_default_folder = Unfiled
+messages_trash_folder = Trash
+sim_messages_default_folder = SMS
+rootdir = ../etc/freesmartphone/opim:/etc/freesmartphone/opim:/usr/etc/freesmartphone/opim
+
+[otimed]
+# a list of time/zone sources to use or NONE
+timesources = GPS,NTP
+zonesources = GSM
--
openmoko-files-config, various files for the Openmoko devices
More information about the pkg-fso-commits
mailing list