[oe-commits] org.oe.dev /etc/init.d/gsmd: Disable echo before powering on the gta01 GSM modem so that
mwester commit
openembedded-commits at lists.openembedded.org
Mon Sep 24 18:17:19 UTC 2007
/etc/init.d/gsmd: Disable echo before powering on the gta01 GSM modem so that
the modem doesn't talk to itself during startup - fixes gsmd startup problem.
Also re-order disable of HW flowcontrol on shutdown to eliminate a crash window.
Author: mwester at openembedded.org
Branch: org.openembedded.dev
Revision: ed5684c63385a1d70797d40a37bcc3fb35cfa3ab
ViewMTN: http://monotone.openembedded.org/revision/info/ed5684c63385a1d70797d40a37bcc3fb35cfa3ab
Files:
1
packages/gsm/files/fic-gta01/gsmd
packages/gsm/libgsmd_svn.bb
Diffs:
#
# mt diff -re5dff19979339de106303ea254af2f56aaf06b76 -red5684c63385a1d70797d40a37bcc3fb35cfa3ab
#
#
#
# patch "packages/gsm/files/fic-gta01/gsmd"
# from [4b34b4d0ea3c93fd4db2389a4f1ebd9a7e8c4e22]
# to [2e8eb40ba7250a248968a35a8112d2316b312fa4]
#
# patch "packages/gsm/libgsmd_svn.bb"
# from [8fae0d7334ab46af3afa0e6fadd8b9b7e7441a06]
# to [467cf52fff09287893fef7a8fc4938715b6e969b]
#
============================================================
--- packages/gsm/files/fic-gta01/gsmd 4b34b4d0ea3c93fd4db2389a4f1ebd9a7e8c4e22
+++ packages/gsm/files/fic-gta01/gsmd 2e8eb40ba7250a248968a35a8112d2316b312fa4
@@ -1,4 +1,4 @@
-##!/bin/sh
+#!/bin/sh
#
# gsmd This shell script starts and stops gsmd.
#
@@ -15,6 +15,7 @@ case "$1" in
start)
stty -F "$GSM_DEV" -crtscts
[ -n "$GSM_POW" ] && ( echo "0" >$GSM_POW; sleep 1 )
+ stty -F "$GSM_DEV" -echo
[ -n "$GSM_POW" ] && ( echo "1" >$GSM_POW; sleep 1 )
[ -n "$GSM_RES" ] && ( echo "1" >$GSM_RES; sleep 1 )
[ -n "$GSM_RES" ] && ( echo "0" >$GSM_RES; sleep 2 )
@@ -29,23 +30,20 @@ case "$1" in
fi
;;
stop)
- [ -n "$GSM_POW" ] && echo "0" >$GSM_POW
-
echo -n "Stopping GSM daemon: "
start-stop-daemon -K -x /usr/sbin/gsmd
stty -F "$GSM_DEV" -crtscts
+ [ -n "$GSM_POW" ] && echo "0" >$GSM_POW
echo "gsmd."
;;
restart|force-reload)
$0 stop
$0 start
- exit
;;
*)
- echo "Usage: /etc/init.d/apmd {start|stop|restart|force-reload}"
+ echo "Usage: /etc/init.d/gsmd {start|stop|restart|force-reload}"
exit 1
;;
esac
exit 0
-
============================================================
--- packages/gsm/libgsmd_svn.bb 8fae0d7334ab46af3afa0e6fadd8b9b7e7441a06
+++ packages/gsm/libgsmd_svn.bb 467cf52fff09287893fef7a8fc4938715b6e969b
@@ -1,10 +1,10 @@ PV = "0.1+svnr${SRCREV}"
DESCRIPTION = "GSM libraries and daemons implementing the 07.10 specification"
HOMEPAGE = "http://www.openmoko.org"
LICENSE = "GPL LGPL"
SECTION = "libs/gsm"
PROVIDES += "gsmd"
PV = "0.1+svnr${SRCREV}"
-PR = "r29"
+PR = "r30"
SRC_URI = "svn://svn.openmoko.org/trunk/src/target;module=gsm;proto=http \
file://024_sms-text-in-bracket.patch;patch=1;minrev=2957 \
More information about the Openembedded-commits
mailing list