summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2008-02-26 17:06:14 +0000
committerGraeme Gregory <dp@xora.org.uk>2008-02-26 17:06:14 +0000
commitbda2ee570244a833a9fa5981b5ab936eb1f7fd26 (patch)
treed9606adfd2f574cda027423b06b2606b4ff36336
parent4b254d931ebdb10e9d874108d3c88bc52fc6f6f5 (diff)
gsmd : flip an extra bit on gta02 machines that stops hideous noise in
sound system
-rw-r--r--packages/gsm/files/default1
-rw-r--r--packages/gsm/files/gsmd2
-rw-r--r--packages/gsm/gsmd.inc2
3 files changed, 4 insertions, 1 deletions
diff --git a/packages/gsm/files/default b/packages/gsm/files/default
index 467bd339eb..cf36460fac 100644
--- a/packages/gsm/files/default
+++ b/packages/gsm/files/default
@@ -13,6 +13,7 @@ case `machine_id` in
GSM_RES="/sys/bus/platform/devices/neo1973-pm-gsm.0/reset"
fi
GSM_DEV="/dev/ttySAC0"
+ GSM_DL="/sys/devices/platform/neo1973-pm-gsm.0/download"
;;
"htc_apache"|"htc_blueangel"|"htc_universal")
GSMD_OPTS="-s 115200 -F"
diff --git a/packages/gsm/files/gsmd b/packages/gsm/files/gsmd
index 9257b901ad..72f66a17ad 100644
--- a/packages/gsm/files/gsmd
+++ b/packages/gsm/files/gsmd
@@ -13,6 +13,8 @@ PATH=/bin:/usr/bin:/sbin:/usr/sbin
case "$1" in
start)
+ [ -n "$GSM_DL" ] && echo "1" >$GSM_DL;
+
[ -n "$GSM_POW" ] && ( echo "0" >$GSM_POW; sleep 1 )
[ -n "$GSM_POW" ] && ( echo "1" >$GSM_POW; sleep 1 )
[ -n "$GSM_RES" ] && ( echo "1" >$GSM_RES; sleep 1 )
diff --git a/packages/gsm/gsmd.inc b/packages/gsm/gsmd.inc
index a6b6fb7a6a..5e47847d74 100644
--- a/packages/gsm/gsmd.inc
+++ b/packages/gsm/gsmd.inc
@@ -5,7 +5,7 @@ SECTION = "libs/gsm"
PROVIDES += "gsmd"
RPROVIDES_${PN} = "libgsmd0 libgsmd gsmd gsmd-devel"
PV = "0.1+svnr${SRCREV}"
-PR = "r41"
+PR = "r42"
SRC_URI = "svn://svn.openmoko.org/trunk/src/target;module=gsm;proto=http \
file://gsmd \