linux kernel 工程师
全部博文(99)
分类: LINUX
2014-03-21 14:33:16
# cd /sys/class/gpio/
#
# ls
export gpiochip4 unexport
#
# echo 8 > export
#
# ls
export gpio8 gpiochip4 unexport
#
# ls gpio8
active_low edge subsystem value
direction power uevent
# echo out > gpio8/direction
#
# echo 0 > gpio8/value
#