diff options
author | Matthias Hentges <oe@hentges.net> | 2007-03-30 22:46:54 +0000 |
---|---|---|
committer | Matthias Hentges <oe@hentges.net> | 2007-03-30 22:46:54 +0000 |
commit | 25b8780a6fdda41cdd6a409e64daff512a8d00a5 (patch) | |
tree | 69f9eba988f4f0613a6f09294a49691e26f0750f /packages/gsm | |
parent | 39886a956b7f240f604b2f71cfaea294276f40b9 (diff) | |
parent | 5ed24bd44de3235edcb3ef2704d70de610fc1878 (diff) |
merge of '302d6092c09d8a1b6e5ada2cf66d444d001796b5'
and '5075b3f69144c8ca977abda48869d41f724d1334'
Diffstat (limited to 'packages/gsm')
-rw-r--r-- | packages/gsm/files/gsmd | 22 | ||||
-rw-r--r-- | packages/gsm/files/magician/default | 4 | ||||
-rw-r--r-- | packages/gsm/libgsmd_svn.bb | 2 |
3 files changed, 14 insertions, 14 deletions
diff --git a/packages/gsm/files/gsmd b/packages/gsm/files/gsmd index 4b8db5d5a5..5c78e8178a 100644 --- a/packages/gsm/files/gsmd +++ b/packages/gsm/files/gsmd @@ -16,21 +16,21 @@ RETVAL=0 prog="gsmd" start() { - # FIXME add check whether GSM_POW is set at all, otherwise don't try to power on - # Power on GSM device - # Hack for broken uboot and/or kernel on the neo1973 dmesg -n1 - if [ -e "${GSM_POW}" ] + if [ -n "${GSM_POW}" ] then - echo -n "Powering up GSM device..." - echo "1" > ${GSM_POW} - sleep 1 - echo "done" - else - echo "GSM device not found. Aborting startup" - return false + if [ -e "${GSM_POW}" ] + then + echo -n "Powering up GSM device..." + echo "1" > ${GSM_POW} + sleep 1 + echo "done" + else + echo "GSM device not found. Aborting startup" + return false + fi fi # Start daemons. echo -n "Starting $prog: " diff --git a/packages/gsm/files/magician/default b/packages/gsm/files/magician/default index fb19d46fd5..a9c3b94b1d 100644 --- a/packages/gsm/files/magician/default +++ b/packages/gsm/files/magician/default @@ -1,7 +1,7 @@ # gsmd This shell script configures for the gsmd init script. -# If you must specify special options, uncomment and modify the next line -GSMD_OPTS="-s 115200 -F" +# Set line Discipline 17 (N_TIHTC), needs ldisc.patch-ed gsmd +GSMD_OPTS="-s 115200 -F -D 17" # If your GSM device needs to be powered up, uncomment and modify the next line #GSM_POW="/sys/bus/platform/devices/gta01-pm-gsm.0/power_on" diff --git a/packages/gsm/libgsmd_svn.bb b/packages/gsm/libgsmd_svn.bb index 910fa26d4d..0b3a29e931 100644 --- a/packages/gsm/libgsmd_svn.bb +++ b/packages/gsm/libgsmd_svn.bb @@ -4,7 +4,7 @@ LICENSE = "GPL" SECTION = "libs/gsm" PROVIDES += "gsmd" PV = "0.0+svn${SRCDATE}" -PR = "r7" +PR = "r8" SRC_URI = "svn://svn.openmoko.org/trunk/src/target;module=gsm;proto=http \ file://gsmd \ |