diff options
author | Paul Sokolovsky <pmiscml@gmail.com> | 2007-03-30 15:46:43 +0000 |
---|---|---|
committer | Paul Sokolovsky <pmiscml@gmail.com> | 2007-03-30 15:46:43 +0000 |
commit | f673b8d213609a6b90b2f923b2cc96e6c0c820a2 (patch) | |
tree | 66ed165ef14b03ca15fa7bf488f4e4aa67ede648 /packages/gsm/files | |
parent | a31229ef8c96e6ad6dbe5c7b9c78639354b73ec0 (diff) | |
parent | c5747068f49e45234934ba5ab067e0a4ee589c2a (diff) |
merge of '1161b24f978165b889f1fc52b8f6168a4d0ce9dc'
and '7922bd128efa4e3b482c762de566056c93ec064e'
Diffstat (limited to 'packages/gsm/files')
-rw-r--r-- | packages/gsm/files/gsmd | 22 | ||||
-rw-r--r-- | packages/gsm/files/magician/default | 4 |
2 files changed, 13 insertions, 13 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" |