diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2010-05-25 13:11:51 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2010-06-25 13:57:08 +0200 |
commit | bc83bea24c8de96864f4243ac2b6c174600b6118 (patch) | |
tree | 15a90b349bc45f90b2e7fe527a3e2450dd109193 /recipes/freesmartphone | |
parent | 9707d105fafd44a399fd19aa99d8ccf733fb3454 (diff) |
frameworkd: add patches for 2.6.31+ on om-gta02
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes/freesmartphone')
3 files changed, 58 insertions, 0 deletions
diff --git a/recipes/freesmartphone/frameworkd/0001-ogpsd-update-sysfs-node-for-2.6.32-kernels-on-freeru.patch b/recipes/freesmartphone/frameworkd/0001-ogpsd-update-sysfs-node-for-2.6.32-kernels-on-freeru.patch new file mode 100644 index 0000000000..6db2eb84ea --- /dev/null +++ b/recipes/freesmartphone/frameworkd/0001-ogpsd-update-sysfs-node-for-2.6.32-kernels-on-freeru.patch @@ -0,0 +1,26 @@ +From b44f024e80fa8d33d4809b6eaeabc5b46357ca4f Mon Sep 17 00:00:00 2001 +From: Martin Jansa <Martin.Jansa@gmail.com> +Date: Tue, 25 May 2010 13:03:43 +0200 +Subject: [PATCH 1/2] ogpsd: update sysfs node for 2.6.32+ kernels on freerunner + +Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> +--- + framework/subsystems/ogpsd/om.py | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/framework/subsystems/ogpsd/om.py b/framework/subsystems/ogpsd/om.py +index c5ec10d..19ceb5c 100644 +--- a/framework/subsystems/ogpsd/om.py ++++ b/framework/subsystems/ogpsd/om.py +@@ -13,7 +13,7 @@ __version__ = "0.9.9.4" + MODULE_NAME = "ogpsd" + + DEVICE_POWER_PATH_OLD = "/sys/bus/platform/devices/neo1973-pm-gps.0/pwron" +-DEVICE_POWER_PATH_NEW = "/sys/bus/platform/devices/neo1973-pm-gps.0/power_on" ++DEVICE_POWER_PATH_NEW = "/sys/bus/platform/devices/gta02-pm-gps.0/power_on" + + from ubx import UBXDevice + from ubx import CLIDPAIR +-- +1.7.1 + diff --git a/recipes/freesmartphone/frameworkd/0002-ogsmd-ti_calipsy-update-sysfs-node-for-2.6.32-kernel.patch b/recipes/freesmartphone/frameworkd/0002-ogsmd-ti_calipsy-update-sysfs-node-for-2.6.32-kernel.patch new file mode 100644 index 0000000000..48413f88b6 --- /dev/null +++ b/recipes/freesmartphone/frameworkd/0002-ogsmd-ti_calipsy-update-sysfs-node-for-2.6.32-kernel.patch @@ -0,0 +1,30 @@ +From 11fad6cb429cb98a16de5f7f0bd676dff576716d Mon Sep 17 00:00:00 2001 +From: Martin Jansa <Martin.Jansa@gmail.com> +Date: Tue, 25 May 2010 13:04:14 +0200 +Subject: [PATCH 2/2] ogsmd ti_calipsy: update sysfs node for 2.6.32+ kernels on freerunner + +Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> +--- + .../subsystems/ogsmd/modems/ti_calypso/modem.py | 6 +++--- + 1 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/framework/subsystems/ogsmd/modems/ti_calypso/modem.py b/framework/subsystems/ogsmd/modems/ti_calypso/modem.py +index c7a5b6f..bc48052 100644 +--- a/framework/subsystems/ogsmd/modems/ti_calypso/modem.py ++++ b/framework/subsystems/ogsmd/modems/ti_calypso/modem.py +@@ -15,9 +15,9 @@ __version__ = "0.9.9.10" + MODULE_NAME = "ogsmd.modems.ti_calypso" + + DEVICE_CALYPSO_PATH = "/dev/ttySAC0" +-SYSFS_CALYPSO_POWER_PATH = "/sys/bus/platform/devices/neo1973-pm-gsm.0/power_on" +-SYSFS_CALYPSO_RESET_PATH = "/sys/bus/platform/devices/neo1973-pm-gsm.0/reset" +-SYSFS_CALYPSO_FLOW_CONTROL_PATH = "/sys/bus/platform/devices/neo1973-pm-gsm.0/flowcontrolled" ++SYSFS_CALYPSO_POWER_PATH = "/sys/bus/platform/devices/gta02-pm-gsm.0/power_on" ++SYSFS_CALYPSO_RESET_PATH = "/sys/bus/platform/devices/gta02-pm-gsm.0/reset" ++SYSFS_CALYPSO_FLOW_CONTROL_PATH = "/sys/bus/platform/devices/gta02-pm-gsm.0/flowcontrolled" + + import mediator + +-- +1.7.1 + diff --git a/recipes/freesmartphone/frameworkd_git.bb b/recipes/freesmartphone/frameworkd_git.bb index c1516d0f32..dea799351f 100644 --- a/recipes/freesmartphone/frameworkd_git.bb +++ b/recipes/freesmartphone/frameworkd_git.bb @@ -15,6 +15,8 @@ INITSCRIPT_NAME = "frameworkd" INITSCRIPT_PARAMS = "defaults 29" SRC_URI = "${FREESMARTPHONE_GIT}/framework.git;protocol=git;branch=master \ + file://0001-ogpsd-update-sysfs-node-for-2.6.32-kernels-on-freeru.patch \ + file://0002-ogsmd-ti_calipsy-update-sysfs-node-for-2.6.32-kernel.patch \ file://frameworkd \ file://frameworkd.conf \ " |