From 220405a05589222ff56d8e09d61c75055d262b40 Mon Sep 17 00:00:00 2001 From: Klaus Kurzmann Date: Fri, 8 Jan 2010 23:33:13 +0100 Subject: fsousaged: add a general config file and one for om-gta02 machine Signed-off-by: Klaus Kurzmann --- recipes/freesmartphone/fsousaged/fsousaged.conf | 32 ++++++++++++++++++++++ .../fsousaged/om-gta02/fsousaged.conf | 32 ++++++++++++++++++++++ recipes/freesmartphone/fsousaged_git.bb | 11 +++++++- 3 files changed, 74 insertions(+), 1 deletion(-) create mode 100644 recipes/freesmartphone/fsousaged/fsousaged.conf create mode 100644 recipes/freesmartphone/fsousaged/om-gta02/fsousaged.conf (limited to 'recipes/freesmartphone') diff --git a/recipes/freesmartphone/fsousaged/fsousaged.conf b/recipes/freesmartphone/fsousaged/fsousaged.conf new file mode 100644 index 0000000000..542bc7562f --- /dev/null +++ b/recipes/freesmartphone/fsousaged/fsousaged.conf @@ -0,0 +1,32 @@ +####################################################################################### +# FSO Usage Daemon Configuration File -- for SYSTEM INTEGRATORS only +######################################################################################## +[logging] +# Log level: DEBUG, INFO (default), WARNING, ERROR +# Override via environment as FSO_LOG_LEVEL +log_level = INFO +# Where to log to: none (default), stderr, stderr:colors, file, syslog +# Override via environment as FSO_LOG_TO +log_to = file +# Log Destination (valid only for log_to = file) +# Override via environment as FSO_LOG_DESTINATION +log_destination = /var/log/fsousaged.log + +[fsousage] +# Which low level suspend/resume variant to use: none (default), kernel26, openmoko +lowlevel_type = kernel26 +# FOR DEBUGGING ONLY: Do not suspend, but instead sleep a couple of seconds +debug_do_not_suspend = 0 +# FOR DEBUGGING ONLY: Enable every registered resource on startup +debug_enable_on_startup = 0 +# FOR DEBUGGING ONLY: Whether resource activation should be synchronized with the registration lifecycle: always (default), startup, shutdown, never +sync_resources_with_lifecycle = always + +[fsousage.lowlevel_kernel26] +# No settings yet + +[fsousage.lowlevel_openmoko] +# No settings yet + +[fsousage.dbus_service] +# No settings yet diff --git a/recipes/freesmartphone/fsousaged/om-gta02/fsousaged.conf b/recipes/freesmartphone/fsousaged/om-gta02/fsousaged.conf new file mode 100644 index 0000000000..1e5761330e --- /dev/null +++ b/recipes/freesmartphone/fsousaged/om-gta02/fsousaged.conf @@ -0,0 +1,32 @@ +####################################################################################### +# FSO Usage Daemon Configuration File -- for SYSTEM INTEGRATORS only +######################################################################################## +[logging] +# Log level: DEBUG, INFO (default), WARNING, ERROR +# Override via environment as FSO_LOG_LEVEL +log_level = INFO +# Where to log to: none (default), stderr, stderr:colors, file, syslog +# Override via environment as FSO_LOG_TO +log_to = file +# Log Destination (valid only for log_to = file) +# Override via environment as FSO_LOG_DESTINATION +log_destination = /var/log/fsousaged.log + +[fsousage] +# Which low level suspend/resume variant to use: none (default), kernel26, openmoko +lowlevel_type = openmoko +# FOR DEBUGGING ONLY: Do not suspend, but instead sleep a couple of seconds +debug_do_not_suspend = 0 +# FOR DEBUGGING ONLY: Enable every registered resource on startup +debug_enable_on_startup = 0 +# FOR DEBUGGING ONLY: Whether resource activation should be synchronized with the registration lifecycle: always (default), startup, shutdown, never +sync_resources_with_lifecycle = always + +[fsousage.lowlevel_kernel26] +# No settings yet + +[fsousage.lowlevel_openmoko] +# No settings yet + +[fsousage.dbus_service] +# No settings yet diff --git a/recipes/freesmartphone/fsousaged_git.bb b/recipes/freesmartphone/fsousaged_git.bb index a7e4a1c0ee..0157df5b77 100644 --- a/recipes/freesmartphone/fsousaged_git.bb +++ b/recipes/freesmartphone/fsousaged_git.bb @@ -1,4 +1,13 @@ require cornucopia.inc inherit fso-plugin PV = "0.9.0.1+gitr${SRCREV}" -PR = "${INC_PR}.0" +PR = "${INC_PR}.1" + +SRC_URI += "file://fsousaged.conf" + +do_install_append() { + install -d ${D}${sysconfdir}/freesmartphone/ + install -m 0644 ${WORKDIR}/fsousaged.conf ${D}${sysconfdir}/freesmartphone/ +} + +FILES_${PN} += "${sysconfdir}/freesmartphone/fsousaged.conf" -- cgit v1.2.3