aboutsummaryrefslogtreecommitdiff
path: root/scripts/dgpu_off.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/dgpu_off.sh')
-rwxr-xr-xscripts/dgpu_off.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/dgpu_off.sh b/scripts/dgpu_off.sh
new file mode 100755
index 0000000..194d683
--- /dev/null
+++ b/scripts/dgpu_off.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/../" && pwd )"
+
+sudo $DIR/pmh7tool -c 0x50 7
+sleep 0.001
+sudo $DIR/pmh7tool -c 0x50 3