From 709c4d66e0b107ca606941b988bad717c0b45d9b Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 17 Mar 2009 14:32:59 -0400 Subject: rename packages/ to recipes/ per earlier agreement See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko Acked-by: Mike Westerhof Acked-by: Philip Balister Acked-by: Khem Raj Acked-by: Marcin Juszkiewicz Acked-by: Koen Kooi Acked-by: Frans Meulenbroeks --- .../freesmartphone/frameworkd/a780/frameworkd.conf | 22 ++++++++++ .../frameworkd/eten-m800/frameworkd.conf | 38 +++++++++++++++++ recipes/freesmartphone/frameworkd/frameworkd | 40 ++++++++++++++++++ recipes/freesmartphone/frameworkd/frameworkd.conf | 27 ++++++++++++ .../frameworkd/magician/frameworkd.conf | 24 +++++++++++ .../frameworkd/om-3d7k/frameworkd.conf | 30 ++++++++++++++ .../frameworkd/om-gta01/frameworkd.conf | 33 +++++++++++++++ .../frameworkd/om-gta02/frameworkd.conf | 48 ++++++++++++++++++++++ 8 files changed, 262 insertions(+) create mode 100644 recipes/freesmartphone/frameworkd/a780/frameworkd.conf create mode 100644 recipes/freesmartphone/frameworkd/eten-m800/frameworkd.conf create mode 100644 recipes/freesmartphone/frameworkd/frameworkd create mode 100644 recipes/freesmartphone/frameworkd/frameworkd.conf create mode 100644 recipes/freesmartphone/frameworkd/magician/frameworkd.conf create mode 100644 recipes/freesmartphone/frameworkd/om-3d7k/frameworkd.conf create mode 100644 recipes/freesmartphone/frameworkd/om-gta01/frameworkd.conf create mode 100644 recipes/freesmartphone/frameworkd/om-gta02/frameworkd.conf (limited to 'recipes/freesmartphone/frameworkd') diff --git a/recipes/freesmartphone/frameworkd/a780/frameworkd.conf b/recipes/freesmartphone/frameworkd/a780/frameworkd.conf new file mode 100644 index 0000000000..36359a9f34 --- /dev/null +++ b/recipes/freesmartphone/frameworkd/a780/frameworkd.conf @@ -0,0 +1,22 @@ +[frameworkd] +version = 1 +log_level = DEBUG +log_to = syslog + +[input] +# keys (copied from Openmoko, need to adjust) +report1 = AUX,key,169,1 +report2 = POWER,key,116,1 +report3 = USB,key,356,0 +report4 = HEADSET,switch,2,0 + +[ogsmd] +# A780 has Freescale Neptune LTE +modemtype = freescale_neptune + +[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 + diff --git a/recipes/freesmartphone/frameworkd/eten-m800/frameworkd.conf b/recipes/freesmartphone/frameworkd/eten-m800/frameworkd.conf new file mode 100644 index 0000000000..3581064245 --- /dev/null +++ b/recipes/freesmartphone/frameworkd/eten-m800/frameworkd.conf @@ -0,0 +1,38 @@ +[frameworkd] +version = 1 +log_level = DEBUG +log_to = syslog + +[odeviced.kernel26] +# set 1 to disable the module +disable = 0 + +[odeviced.idlenotifier] +# set 1 to disable the module +disable = 1 +# add input nodes to ignore for idle activity +ignoreinput = 2,3,4 + +[odeviced.powercontrol-neo] +disable = 1 + +[ogsmd] +disable = 1 +# specify your modemtype here + +[ogpsd] +device = EtenDevice +channel = SerialChannel +path = /dev/ttySAC2 + +[ogpsd.serialchannel] +baudrate = 57600 + +[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 diff --git a/recipes/freesmartphone/frameworkd/frameworkd b/recipes/freesmartphone/frameworkd/frameworkd new file mode 100644 index 0000000000..08b782e402 --- /dev/null +++ b/recipes/freesmartphone/frameworkd/frameworkd @@ -0,0 +1,40 @@ +#! /bin/sh +# +# frameworkd -- This shell script starts and stops the freemsmartphone.org framework daemon. +# +# chkconfig: 345 90 20 +# description: frameworkd is the freesmartphone.org framework daemon +# processname: python + +PATH=/bin:/usr/bin:/sbin:/usr/sbin +NAME=frameworkd + +[ -f /etc/default/rcS ] && . /etc/default/rcS + +case "$1" in + start) + echo -n "Starting freesmartphone.org framework daemon: " + start-stop-daemon --start --pidfile /var/run/${NAME}.pid --make-pidfile --background -x /usr/bin/frameworkd + if [ $? = 0 ]; then + echo "(ok)" + else + echo "(failed)" + fi + ;; + stop) + echo -n "Stopping freesmartphone.org framework daemon: " + start-stop-daemon --stop --pidfile /var/run/${NAME}.pid --oknodo + rm -f /var/run/${NAME}.pid + echo "(done)" + ;; + restart|force-reload) + $0 stop + $0 start + ;; + *) + echo "Usage: /etc/init.d/odeviced {start|stop|restart|force-reload}" + exit 1 + ;; +esac + +exit 0 diff --git a/recipes/freesmartphone/frameworkd/frameworkd.conf b/recipes/freesmartphone/frameworkd/frameworkd.conf new file mode 100644 index 0000000000..39e60d632b --- /dev/null +++ b/recipes/freesmartphone/frameworkd/frameworkd.conf @@ -0,0 +1,27 @@ +[frameworkd] +version = 1 +log_level = DEBUG +log_to = syslog + +[odeviced.kernel26] +# set 1 to disable the module +disable = 0 + +[odeviced.idlenotifier] +# set 1 to disable the module +disable = 0 +# add input nodes to ignore for idle activity +ignoreinput = 2,3,4 + +[odeviced.powercontrol-neo] +disable = 1 + +[ogsmd] +# specify your modemtype here +modemtype = ti_calypso + +[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 diff --git a/recipes/freesmartphone/frameworkd/magician/frameworkd.conf b/recipes/freesmartphone/frameworkd/magician/frameworkd.conf new file mode 100644 index 0000000000..eb22030550 --- /dev/null +++ b/recipes/freesmartphone/frameworkd/magician/frameworkd.conf @@ -0,0 +1,24 @@ +[frameworkd] +version = 1 +log_level = DEBUG +log_to = syslog + +[odeviced.input] +# magician doesn't have AUX, use the CAMERA key for now +# (it's in about the same place as AUX on gta01/02) +report1 = AUX,key,212,1 +report2 = POWER,key,116,1 +# magician doesn't use KEY_POWER2 for the charger, need to fix +report3 = USB,key,356,0 +report4 = HEADSET,switch,2,0 + +[ogsmd] +# Magician has TI Calypso +modemtype = ti_calypso + +[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 + diff --git a/recipes/freesmartphone/frameworkd/om-3d7k/frameworkd.conf b/recipes/freesmartphone/frameworkd/om-3d7k/frameworkd.conf new file mode 100644 index 0000000000..d48bc0815c --- /dev/null +++ b/recipes/freesmartphone/frameworkd/om-3d7k/frameworkd.conf @@ -0,0 +1,30 @@ +[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.input] +# Keys +report1 = AUX,key,169,1 +report2 = POWER,key,116,1 +report3 = USB,key,356,0 +report4 = HEADSET,switch,2,0 + +[ogsmd] +# GTA03 has a Cinterion MC75i +modemtype = cinterion_mc75 + +[ogpsd] +disable = 1 + +[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 diff --git a/recipes/freesmartphone/frameworkd/om-gta01/frameworkd.conf b/recipes/freesmartphone/frameworkd/om-gta01/frameworkd.conf new file mode 100644 index 0000000000..b2a817aa66 --- /dev/null +++ b/recipes/freesmartphone/frameworkd/om-gta01/frameworkd.conf @@ -0,0 +1,33 @@ +[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.input] +# Keys +report1 = AUX,key,169,1 +report2 = POWER,key,116,1 +report3 = USB,key,356,0 +report4 = HEADSET,switch,2,0 + +[ogsmd] +# GTA01 has TI Calypso +modemtype = ti_calypso +ti_calypso_deep_sleep = never + +[ogpsd] +device = NMEADevice +channel = GllinChannel +path = /etc/init.d/gllin + +[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 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 + -- cgit v1.2.3