From d13974119e39de08b0b2da9d4971dc9f3a289368 Mon Sep 17 00:00:00 2001 From: Michael 'Mickey' Lauer Date: Fri, 20 Mar 2009 20:27:27 +0100 Subject: frameworkd: bump to current HEAD; add configuration for htc-msm7 MACHINE_CLASS and motorola-ezx MACHINE_CLAS --- .../freesmartphone/frameworkd/a780/frameworkd.conf | 22 --- .../frameworkd/htc-msm7/frameworkd.conf | 152 +++++++++++++++++++++ .../frameworkd/motorola-ezx/frameworkd.conf | 22 +++ recipes/freesmartphone/frameworkd_git.bb | 2 +- recipes/freesmartphone/fsodeviced_git.bb | 4 +- 5 files changed, 176 insertions(+), 26 deletions(-) delete mode 100644 recipes/freesmartphone/frameworkd/a780/frameworkd.conf create mode 100644 recipes/freesmartphone/frameworkd/htc-msm7/frameworkd.conf create mode 100644 recipes/freesmartphone/frameworkd/motorola-ezx/frameworkd.conf (limited to 'recipes') diff --git a/recipes/freesmartphone/frameworkd/a780/frameworkd.conf b/recipes/freesmartphone/frameworkd/a780/frameworkd.conf deleted file mode 100644 index 36359a9f34..0000000000 --- a/recipes/freesmartphone/frameworkd/a780/frameworkd.conf +++ /dev/null @@ -1,22 +0,0 @@ -[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/htc-msm7/frameworkd.conf b/recipes/freesmartphone/frameworkd/htc-msm7/frameworkd.conf new file mode 100644 index 0000000000..a50172c7f5 --- /dev/null +++ b/recipes/freesmartphone/frameworkd/htc-msm7/frameworkd.conf @@ -0,0 +1,152 @@ +[frameworkd] +# indicates this configuration version, do not change +version = 1 +# the default log_level, if not specified per module +log_level = INFO +# 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 +# specify how subsystems scan for their plugins, +# either "auto" (via filesystem scan) or "config" (via config section check) +# the default is "auto" (slow). +scantype = auto + +# +# Subsystem configuration for oeventsd +# +[odeviced] +# set log level for a subsystem or for an individual module +# available log levels are: DEBUG, INFO, WARNING, ERROR, CRITICAL +log_level = INFO + +[odeviced.accelerometer] +disable = 1 + +[odeviced.audio] +# 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] +# 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 = 2 + +[odeviced.input] +# format is ,,, +report1 = AUX,key,169,1 +report2 = POWER,key,116,1 +report3 = CHARGER,key,356,0 +report4 = HEADSET,switch,2,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.powercontrol_ibm] +disable = 1 + +[odeviced.powercontrol_neo] +disable = 1 + +# +# Subsystem configuration for oeventsd +# +[oeventsd] +log_level = DEBUG +disable = 0 + +[oeventsd.oevents] + +# +# Subsystem configuration for ogspd +# +[ogpsd] +# 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 +log_level = INFO + +[ogpsd.factory] + +# +# Subsystem configuration for ogsmd +# +[ogsmd] +disable = 0 +modemtype = qualcomm_msm + +# +# Subsystem configuration for onetworkd +# +[onetworkd] + +[onetworkd.network] + +# +# Subsystem configuration for ophoned +# +[ophoned] + +[ophoned.ophoned] + +# +# Subsystem configuration for opimd +# +[opimd] +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 + +[opimd.opimd] + +# +# Subsystem configuration for opreferencesd +# +[opreferencesd] +log_level = DEBUG +disable = 0 +# log_level = DEBUG + +[opreferencesd.opreferences] + +# +# Subsystem configuration for otimed +# +[otimed] +# a list of time/zone sources to use or NONE +timesources = GPS,NTP +zonesources = GSM + +[otimed.otimed] + +# +# Subsystem configuration for ousaged +# +[ousaged] +# choose whether resources should be disabled at startup, at shutdown, always (default), or never. +sync_resources_with_lifecycle = always + +[ousaged.generic] diff --git a/recipes/freesmartphone/frameworkd/motorola-ezx/frameworkd.conf b/recipes/freesmartphone/frameworkd/motorola-ezx/frameworkd.conf new file mode 100644 index 0000000000..36359a9f34 --- /dev/null +++ b/recipes/freesmartphone/frameworkd/motorola-ezx/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_git.bb b/recipes/freesmartphone/frameworkd_git.bb index 14aa183d94..d658fd092a 100644 --- a/recipes/freesmartphone/frameworkd_git.bb +++ b/recipes/freesmartphone/frameworkd_git.bb @@ -4,7 +4,7 @@ AUTHOR = "FreeSmartphone.Org Development Team" SECTION = "console/network" DEPENDS = "python-cython-native python-pyrex-native" LICENSE = "GPL" -PV = "0.8.5.1+gitr${SRCREV}" +PV = "0.8.5.2+gitr${SRCREV}" PR = "r0" inherit distutils update-rc.d diff --git a/recipes/freesmartphone/fsodeviced_git.bb b/recipes/freesmartphone/fsodeviced_git.bb index e8a77fd617..4cb61c7c29 100644 --- a/recipes/freesmartphone/fsodeviced_git.bb +++ b/recipes/freesmartphone/fsodeviced_git.bb @@ -10,6 +10,4 @@ SRC_URI = "\ " S = "${WORKDIR}/git/fsodeviced" -inherit autotools - -FILES_${PN} += "${datadir}" +inherit autotools fso-plugin vala -- cgit v1.2.3