summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1d1d9e4)
raw | patch | inline | side by side (parent: 1d1d9e4)
author | Nikhil Devshatwar <nikhil.nd@ti.com> | |
Tue, 28 Jul 2020 10:01:54 +0000 (15:31 +0530) | ||
committer | Nikhil Devshatwar <nikhil.nd@ti.com> | |
Tue, 28 Jul 2020 10:03:15 +0000 (15:33 +0530) |
Most common method for toggling power for the board is to
use a Phidget USB relay. Add the libraries and binaries
for controlling these devices from Linux machines.
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
use a Phidget USB relay. Add the libraries and binaries
for controlling these devices from Linux machines.
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
k3-bootswitch/phidget/install.sh | [new file with mode: 0755] | patch | blob |
k3-bootswitch/phidget/usr/bin/phidget-switch | [new file with mode: 0755] | patch | blob |
k3-bootswitch/phidget/usr/lib/libphidget21.so | [new file with mode: 0644] | patch | blob |
k3-bootswitch/phidget/usr/lib/libphidget21.so.0 | [new symlink] | patch | blob |
k3-bootswitch/phidget/usr/lib/libphidget21.so.0.0.0 | [new file with mode: 0644] | patch | blob |
diff --git a/k3-bootswitch/phidget/install.sh b/k3-bootswitch/phidget/install.sh
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/bash -e
+topdir=`git rev-parse --show-toplevel`
+sudo cp -r $topdir/phidget/* /
diff --git a/k3-bootswitch/phidget/usr/bin/phidget-switch b/k3-bootswitch/phidget/usr/bin/phidget-switch
new file mode 100755 (executable)
index 0000000..239d700
Binary files /dev/null and b/k3-bootswitch/phidget/usr/bin/phidget-switch differ
index 0000000..239d700
Binary files /dev/null and b/k3-bootswitch/phidget/usr/bin/phidget-switch differ
diff --git a/k3-bootswitch/phidget/usr/lib/libphidget21.so b/k3-bootswitch/phidget/usr/lib/libphidget21.so
new file mode 100644 (file)
index 0000000..b519a6c
Binary files /dev/null and b/k3-bootswitch/phidget/usr/lib/libphidget21.so differ
index 0000000..b519a6c
Binary files /dev/null and b/k3-bootswitch/phidget/usr/lib/libphidget21.so differ
diff --git a/k3-bootswitch/phidget/usr/lib/libphidget21.so.0 b/k3-bootswitch/phidget/usr/lib/libphidget21.so.0
--- /dev/null
@@ -0,0 +1 @@
+libphidget21.so.0.0.0
\ No newline at end of file
diff --git a/k3-bootswitch/phidget/usr/lib/libphidget21.so.0.0.0 b/k3-bootswitch/phidget/usr/lib/libphidget21.so.0.0.0
new file mode 100644 (file)
index 0000000..b519a6c
Binary files /dev/null and b/k3-bootswitch/phidget/usr/lib/libphidget21.so.0.0.0 differ
index 0000000..b519a6c
Binary files /dev/null and b/k3-bootswitch/phidget/usr/lib/libphidget21.so.0.0.0 differ