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