diff options
author | Thomas Kunze <thommycheck@gmx.de> | 2008-02-28 12:58:30 +0000 |
---|---|---|
committer | Thomas Kunze <thommycheck@gmx.de> | 2008-02-28 12:58:30 +0000 |
commit | 451d60a2572fceff010ec887951c05548c7dcc1c (patch) | |
tree | d5276568e132df52d4d96e61868717ac51f44841 /packages/gsm | |
parent | 18a21d79505d162c24a404b865d03072430ec717 (diff) | |
parent | f66378d955987691415e8f4786f87f92f5303241 (diff) |
merge of '452ba8f483cc1f311d5139e2d406dd21e8edcce5'
and '524fc96258564567524a1295bfdf65c2a25da5d7'
Diffstat (limited to 'packages/gsm')
-rw-r--r-- | packages/gsm/files/default | 1 | ||||
-rw-r--r-- | packages/gsm/files/gsmd | 2 | ||||
-rw-r--r-- | packages/gsm/gsmd.inc | 2 |
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 \ |