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