summaryrefslogtreecommitdiff
path: root/io-tool
diff options
context:
space:
mode:
authorJesse Gilles <jgilles@multitech.com>2010-07-27 14:38:09 -0500
committerJesse Gilles <jgilles@multitech.com>2010-07-27 14:38:09 -0500
commitb3556e09b09136ac6b4435b2ccd1f57a13365535 (patch)
tree74a29854b11d1e0fa629250686e9adab221ac63f /io-tool
parenteee8f03b6f9a49fe072533d5aa4795d4df4ae539 (diff)
downloadmts-io-b3556e09b09136ac6b4435b2ccd1f57a13365535.tar.gz
mts-io-b3556e09b09136ac6b4435b2ccd1f57a13365535.tar.bz2
mts-io-b3556e09b09136ac6b4435b2ccd1f57a13365535.zip
add extserial-dtr
* Add ability to read DTR pin on external serial port
Diffstat (limited to 'io-tool')
-rwxr-xr-xio-tool/mts-io-sysfs1
-rwxr-xr-xio-tool/sysfs-tests8
2 files changed, 9 insertions, 0 deletions
diff --git a/io-tool/mts-io-sysfs b/io-tool/mts-io-sysfs
index de06bb9..911dce1 100755
--- a/io-tool/mts-io-sysfs
+++ b/io-tool/mts-io-sysfs
@@ -76,6 +76,7 @@ usage() {
printf " extserial-dcd |\n" >&${out}
printf " extserial-ri |\n" >&${out}
printf " extserial-dsr |\n" >&${out}
+ printf " extserial-dtr |\n" >&${out}
printf " led-cd |\n" >&${out}
printf " led-sdk-b |\n" >&${out}
printf " led-sig1 |\n" >&${out}
diff --git a/io-tool/sysfs-tests b/io-tool/sysfs-tests
index 3c55a3d..fb465b4 100755
--- a/io-tool/sysfs-tests
+++ b/io-tool/sysfs-tests
@@ -133,10 +133,18 @@ show_assert extserial-dcd 0
store_assert extserial-dcd 1
store_assert extserial-dcd 0
+show_assert extserial-dsr 0
+store_assert extserial-dsr 1
+store_assert extserial-dsr 0
+
show_assert extserial-ri 0
store_assert extserial-ri 1
store_assert extserial-ri 0
+show_assert extserial-dtr 0
+store extserial-dtr 1
+show_assert extserial-dtr 0
+
show_assert led-sig1 0
store_assert led-sig1 1
store_assert led-sig1 0