summaryrefslogtreecommitdiff
path: root/recipes/freesmartphone/frameworkd/om-gta02/frameworkd.conf
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/freesmartphone/frameworkd/om-gta02/frameworkd.conf')
-rw-r--r--recipes/freesmartphone/frameworkd/om-gta02/frameworkd.conf48
1 files changed, 48 insertions, 0 deletions
diff --git a/recipes/freesmartphone/frameworkd/om-gta02/frameworkd.conf b/recipes/freesmartphone/frameworkd/om-gta02/frameworkd.conf
new file mode 100644
index 0000000000..796d4fb88a
--- /dev/null
+++ b/recipes/freesmartphone/frameworkd/om-gta02/frameworkd.conf
@@ -0,0 +1,48 @@
+[frameworkd]
+version = 1
+log_level = INFO
+log_to = syslog
+
+[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 = USB,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
+ti_calypso_deep_sleep = never
+
+[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
+
+[opimd]
+disable = 1
+