summaryrefslogtreecommitdiff
path: root/init_3.4.sh
diff options
context:
space:
mode:
authorroot <root@vecchiofono.home.trueelena.org>2015-06-21 17:16:54 +0100
committerroot <root@vecchiofono.home.trueelena.org>2015-06-21 17:16:54 +0100
commit3850058aa07df5bb542822eac24d50c961fdacec (patch)
treec27ed110e18a0c79157af00dfc1fbacebfe2bb15 /init_3.4.sh
Initial version
Diffstat (limited to 'init_3.4.sh')
-rwxr-xr-xinit_3.4.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/init_3.4.sh b/init_3.4.sh
new file mode 100755
index 0000000..9852ddf
--- /dev/null
+++ b/init_3.4.sh
@@ -0,0 +1,5 @@
+modprobe gpio-sunxi
+
+echo 15 > /sys/class/gpio/export
+echo in > /sys/class/gpio/gpio15_pb2/direction
+echo rising > /sys/class/gpio/gpio15_pb2/edge