diff options
author | John Klug <john.klug@multitech.com> | 2018-02-06 11:19:37 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2018-02-08 16:47:15 -0600 |
commit | 6fce914a584671e75c3ae766398ac01ecf44eec0 (patch) | |
tree | aab5a77ea874e5705080e818a11fd95694161eab /recipes-bsp | |
parent | 2008757af0ef813b3e678a734ba3d06a219dda31 (diff) | |
download | meta-multitech-6fce914a584671e75c3ae766398ac01ecf44eec0.tar.gz meta-multitech-6fce914a584671e75c3ae766398ac01ecf44eec0.tar.bz2 meta-multitech-6fce914a584671e75c3ae766398ac01ecf44eec0.zip |
Fix USB reset Telit Error -62 and Redpine wrong speed detection.
Diffstat (limited to 'recipes-bsp')
-rw-r--r-- | recipes-bsp/multitech/mts-io/mts-io.init | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/recipes-bsp/multitech/mts-io/mts-io.init b/recipes-bsp/multitech/mts-io/mts-io.init index fd87c35..520a6d4 100644 --- a/recipes-bsp/multitech/mts-io/mts-io.init +++ b/recipes-bsp/multitech/mts-io/mts-io.init @@ -1,4 +1,4 @@ -#!/bin/bash +#!/oin/bash ### BEGIN INIT INFO # Provides: mts-io # Default-Start: S @@ -182,9 +182,6 @@ case $1 in fi /usr/bin/logger -t "mts-io" -p daemon.info -s "Resetting system modules" read_card_info - if ! reset_path $USBRST ; then - ((fail++)) - fi /bin/busybox usleep $USLPTIME reset_array [ -w /sys/devices/platform/mts-io/radio-reset ] && mts-io-sysfs store radio-reset 0 @@ -194,6 +191,11 @@ case $1 in fi waitpins + # Fix Telit error -62 and Redpine wrong USB speed detection on reset. + sleep 1 + if ! reset_path $USBRST ; then + ((fail++)) + fi if ((fail == 0)) ; then echo "OK" |