summaryrefslogtreecommitdiff
path: root/io-tool/mts-io-sysfs
diff options
context:
space:
mode:
authorJames Maki <jmaki@multitech.com>2010-09-13 13:02:35 -0500
committerJames Maki <jmaki@multitech.com>2010-09-13 13:02:35 -0500
commit2c42aa01873002e3ab20d2b7d8bb091c326d0219 (patch)
treeb09247a5c9308323a7031dc8631980f2cf219f34 /io-tool/mts-io-sysfs
parentd431c42f22a503971e5ca3c851b029ecf421afa0 (diff)
downloadmts-io-2c42aa01873002e3ab20d2b7d8bb091c326d0219.tar.gz
mts-io-2c42aa01873002e3ab20d2b7d8bb091c326d0219.tar.bz2
mts-io-2c42aa01873002e3ab20d2b7d8bb091c326d0219.zip
add dout, din, adc, led-dtr to help display
Diffstat (limited to 'io-tool/mts-io-sysfs')
-rwxr-xr-xio-tool/mts-io-sysfs30
1 files changed, 19 insertions, 11 deletions
diff --git a/io-tool/mts-io-sysfs b/io-tool/mts-io-sysfs
index 911dce1..4afdcb1 100755
--- a/io-tool/mts-io-sysfs
+++ b/io-tool/mts-io-sysfs
@@ -66,17 +66,22 @@ usage() {
printf "Usage: ${PROGRAM} [ OPTIONS ] OBJECT [--] [ ARGUMENTS ]\n" >&${out}
printf "where OBJECT := {\n" >&${out}
printf " show SHOW-NAME |\n" >&${out}
- printf " store STORE-NAME { value } |\n" >&${out}
+ printf " store STORE-NAME |\n" >&${out}
printf " reset-monitor-trap [short-cmd cmd signame] [long-cmd cmd signame]\n" >&${out}
printf " }\n" >&${out}
printf "\n" >&${out}
printf " SHOW-NAME := {\n" >&${out}
printf " board-temperature |\n" >&${out}
+ printf " radio-reset |\n" >&${out}
printf " eth0-enabled |\n" >&${out}
printf " extserial-dcd |\n" >&${out}
printf " extserial-ri |\n" >&${out}
printf " extserial-dsr |\n" >&${out}
printf " extserial-dtr |\n" >&${out}
+if [ "${MTS_IO_CONTROLS_STATUS_LED}" = "true" ]; then
+ printf " led-status |\n" >&${out}
+ printf " led-sdk-a |\n" >&${out}
+fi
printf " led-cd |\n" >&${out}
printf " led-sdk-b |\n" >&${out}
printf " led-sig1 |\n" >&${out}
@@ -85,23 +90,28 @@ usage() {
printf " led-sdk-d |\n" >&${out}
printf " led-sig3 |\n" >&${out}
printf " led-sdk-e |\n" >&${out}
-if [ "${MTS_IO_CONTROLS_STATUS_LED}" = "true" ]; then
- printf " led-status |\n" >&${out}
- printf " led-sdk-a |\n" >&${out}
-fi
+ printf " led-dtr |\n" >&${out}
+ printf " led-sdk-f |\n" >&${out}
if [ "${MTS_IO_CONTROLS_LS_LED}" = "true" ]; then
printf " led-ls |\n" >&${out}
fi
- printf " radio-reset |\n" >&${out}
+ printf " din{0-7} |\n" >&${out}
+ printf " dout{0-7} |\n" >&${out}
+ printf " adc{0-3} |\n" >&${out}
printf " reset |\n" >&${out}
printf " reset-monitor\n" >&${out}
printf " }\n" >&${out}
printf "\n" >&${out}
printf " STORE-NAME := {\n" >&${out}
+ printf " radio-reset { 0 } |\n" >&${out}
printf " eth0-enabled BOOLEAN |\n" >&${out}
printf " extserial-dcd BOOLEAN |\n" >&${out}
printf " extserial-ri BOOLEAN |\n" >&${out}
printf " extserial-dsr BOOLEAN |\n" >&${out}
+if [ "${MTS_IO_CONTROLS_STATUS_LED}" = "true" ]; then
+ printf " led-status LED-VALUE |\n" >&${out}
+ printf " led-sdk-a LED-VALUE |\n" >&${out}
+fi
printf " led-cd BOOLEAN |\n" >&${out}
printf " led-sdk-b BOOLEAN |\n" >&${out}
printf " led-sig1 BOOLEAN |\n" >&${out}
@@ -110,14 +120,12 @@ fi
printf " led-sdk-d BOOLEAN |\n" >&${out}
printf " led-sig3 BOOLEAN |\n" >&${out}
printf " led-sdk-e BOOLEAN |\n" >&${out}
-if [ "${MTS_IO_CONTROLS_STATUS_LED}" = "true" ]; then
- printf " led-status LED-VALUE |\n" >&${out}
- printf " led-sdk-a LED-VALUE |\n" >&${out}
-fi
+ printf " led-dtr BOOLEAN |\n" >&${out}
+ printf " led-sdk-f BOOLEAN |\n" >&${out}
if [ "${MTS_IO_CONTROLS_LS_LED}" = "true" ]; then
printf " led-ls BOOLEAN |\n" >&${out}
fi
- printf " radio-reset { 0 } |\n" >&${out}
+ printf " dout{0-7} BOOLEAN |\n" >&${out}
printf " reset-monitor { pid short-signal long-signal }\n" >&${out}
printf " }\n" >&${out}
printf "\n" >&${out}