aboutsummaryrefslogtreecommitdiffstats
path: root/packages/freesmartphone/frameworkd/om-gta02/frameworkd.conf
blob: 45bb12f6a8b047827affdf44ac84fef31f8018e0 (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
[frameworkd]
version = 1

[odeviced.audio]
# set default alsa scenario
default_scenario = stereoout
# set path to alsa scenario files
scenario_dir = /usr/share/openmoko/scenarios

[odeviced.idlenotifier]
# don't read from accellerometers for GTA02
ignoreinput=2,3

[odeviced.input]
# don't read from accellerometers for GTA02
ignoreinput=2,3
# keys
report1 = AUX,key,169,1
report2 = POWER,key,116,1
report3 = CHARGER,key,356,0
report4 = HEADSET,switch,2,0

# disable accelerometer since it uses LOADS of CPU resources
[odeviced.accelerometer]
disable = 1
accelerometer_type = gta02

[ogsmd]
# GTA02 has TI Calypso
modemtype = ti_calypso

[ogpsd]
device = GTA02Device
channel = SerialChannel
path = /dev/ttySAC1

[opreferencesd]
rootdir = ../etc/freesmartphone/opreferences:/etc/freesmartphone/opreferences:/usr/etc/freesmartphone/opreferences

[oeventsd]
rules_file = ../etc/freesmartphone/oevents/rules.yaml:/etc/freesmartphone/oevents/rules.yaml:/usr/etc/freesmartphone/oevents/rules.yaml