aboutsummaryrefslogtreecommitdiffstats
path: root/docs/frameworkd.conf.sample
blob: 9bc8859ccd51abc658613add611298aaa36f53ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
[frameworkd]
version = 1
# Log level: DEBUG, INFO (default), WARNING, ERROR
# Override via environment as FSO_LOG_LEVEL
log_level = DEBUG
# Where to log to: none (default), stderr, file, syslog
# Override via environment as FSO_LOG_TO
log_to = stderr
# Log Destination (valid only for log_to = file)
# Override via environment as FSO_LOG_DESTINATION
log_destination = /tmp/frameworkd.log

########################################################################################
#                 F R E E   S M A R T P H O N E   O R G      -2-
########################################################################################
#
# NOTE: This configuration file is for distribution integrators, not users!
#
# To enable a subsystem, create an empty group for it, e.g. [fsodevice]
# To enable a plugin, create an empty group for it, e.g. [fsodevice.alsa_audio]
# log_level and friends belong in the daemon configuration, e.g. [fsodeviced]
# (note the additional 'd')
# Note that plugins are loaded in the order of declaration! Do NOT reorder lightheartedly.
#

[cornucopia]
# Can use this to inject another sysfs root, e.g. for development
#sysfs_root = /mnt/neo/sys

[libfsotransport]
log_level = INFO
log_to = stderr:colors

[libfsoframework]
log_level = DEBUG
log_to = stderr:colors

[fsodeviced]
log_level = DEBUG
log_to = stderr:colors


########################################################################################
# FSO Usage Daemon
########################################################################################

[fsousage]
# Which low level suspend/resume variant to use: none (default), kernel26, openmoko
#lowlevel_type = kernel26
lowlevel_type = openmoko
# FOR DEBUGGING ONLY: Do not suspend, but instead sleep a couple of seconds
debug_do_not_suspend = 1
# FOR DEBUGGING ONLY: Enable every registered resource on startup
debug_enable_on_startup = 1
# FOR DEBUGGING ONLY: Whether resource activation should be synchronized with the registration lifecycle: always (default), startup, shutdown, never
sync_resources_with_lifecycle=never

[fsousage.lowlevel_kernel26]
[fsousage.lowlevel_openmoko]
[fsousage.dbus_service]

#######################################################################################
# FSO Device Daemon
########################################################################################

[fsodevice]
# no settings yet

[fsodevice.accelerometer]
# Which accelerometer variant plugin to use: none (default), lis302
device_type = lis302

[fsodevice.accelerometer_lis302]
# Which input node to read from
inputnode = /input/event2
# How many samples to process, when in use
sample_rate = 100
# Threshhold to program, when in use
threshold = 100
# Scale to program, when in use
full_scale = 2.3

[fsodevice.player_alsa]
# No settings yet

[fsodevice.player_canberra]
# No settings yet

[fsodevice.alsa_audio]
# Which Audio Player variant plugin to use: none (default), canberra, alsa
player_type = canberra

[fsodevice.kernel26_display]
# No settings yet

[fsodevice.kernel26_leds]
# No settings yet

[fsodevice.kernel26_powersupply]
# No settings yet

[fsodevice.kernel26_rtc]
# No settings yet

[fsodevice.kernel_info]
# No settings yet

[fsodevice.kernel_input]
# Which input objects to ignore (by product id substring)
#ignore_by_id = Microsoft;Macintosh
# Which input objects to ignore (by physical path substring)
#ignore_by_path = usb
# Which buttons/switches to report.
# Format: <name>,<type>,<keycode>,<report hold events as well>
#report1 = AUX,key,169,1
#report4 = HEADSET,switch,2,0

[fsodevice.kernel_idle]
# Which input objects to ignore (by product id substring)
#ignore_by_id = Microsoft;Macintosh
# Which input objects to ignore (by physical path substring)
#ignore_by_path = usb

# Enable this on openmoko devices
#[fsodevice.powercontrol_openmoko]

# Enable this on thinkpad devices
#[fsodevice.powercontrol.thinkpad]

########################################################################################
# FSO Network Daemon
########################################################################################

[fsonetworkd]
log_level = DEBUG
log_to = stderr:colors

[fsonetwork]
# No settings yet

[fsonetwork.sharing]
# No settings yet


########################################################################################
# FSO Time Daemon
########################################################################################

[fsotimed]
log_level = DEBUG
log_to = stderr:colors

[fsotime]
# No settings yet

[fsotime.alarm]
# No settings yet

[fsotime.source_gsm]
# No settings yet

[fsotime.source_gps]
# No settings yet

[fsotime.source_ntp]
# Which server to use; default is 'pool.ntp.org'
server = pool.ntp.org

[fsotime.sync_time]
# Which sources to use; what is available depends on the loaded modules
sources = ntp;gsm;gps
# Which current timezone file to use; default is /etc/timezone
timezone_file = /etc/timezone
# Path to zoneinfo files
zoneinfo_dir = /usr/share/zoneinfo

########################################################################################
# FSO GSM Daemon
########################################################################################

[fsogsmd]
log_level = DEBUG
log_to = stderr:colors

[fsogsm]
# Which modem to use: singleline, ti_calypso, freescale_neptune, cinterion_mc75, qualcomm_msm
modem_type = singleline
# Which transport channel: serial, pty
modem_transport = serial
# Which port to communicate with: <serial port> or <filename>
modem_port = /dev/ttyUSB0
# Which speed to use for the transport/port
modem_speed = 115200

# Modem init strings to send; note that it is modem-specific whether these settings are used or not
modem_init = E0V1;+CMEE=1;+CRC=1;+CSCS="UCS2"
# Channel init string to send (per channel)
channel_init_main = +CSNS=0;+CMGF=0;+CLIP=1
# Channel unlock string to send (per channel)
channel_unlocked_main = +SIM_NOW_UNLOCKED;+CSDH=1;+COLP=1;+CCWA=1;+CNMI=2,1,2,2,1
# Channel registered string to send (per channel)
channel_registered_main = +NET_NOW_REGISTERED
# Channel suspend string to send (per channel)
channel_suspend_main = +PREPARE_FOR_SUSPEND
# Channel resume string to send (per channel)
channel_resume_main = +RECOVER_AFTER_RESUME

# Where to store SMS: <path> (default=/tmp/fsogsmd/sms/)
sms_storage_dir = /tmp/fsogsmd/sms/

[fsogsm.modem_singleline]
# No settings yet

[fsogsm.modem_cinterion_mc75]
# No settings yet

[fsogsm.modem_ti_calypso]
# No settings yet

[fsogsm.dbus_service]
# No settings yet

########################################################################################
# FSO GPS Daemon
########################################################################################

[fsogpsd]
log_level = DEBUG
log_to = stderr:colors

[fsogps]
# Which receiver to use: nmea
receiver_type = nmea
# Which transport channel: serial, pty, socket
receiver_transport = serial
# Which port to communicate with: <serial port> or <filename>
receiver_port = /dev/rfcomm0
# Which speed to use for the transport/port
receiver_speed = 115200

[fsogps.dbus_service]

[fsogps.receiver_nmea]