|
你好,我们按照技术支持给的说明吧SDHC1的设置GPIO口,现在想通过程序修改值
有几个疑问想咨询下:
1、系统里面查询到 gpiochip448 gpiochip480 ,这个是gpiochip448 对应GPIO_1组,gpiochip480对应GPIO_2组的意思嘛?
2、目前按照gpiochip448 对应GPIO_1组的设置的,发现一个问题,写入无效
root@localhost:/sys/class/gpio/gpio464# ls
active_low device direction edge power subsystem uevent value
root@localhost:/sys/class/gpio/gpio464# cat value
0
root@localhost:/sys/class/gpio/gpio464# echo 1 >value
-bash: echo: write error: Operation not permitted
root@localhost:/sys/class/gpio/gpio464# echo out >direction
root@localhost:/sys/class/gpio/gpio464#
root@localhost:/sys/class/gpio/gpio464#
root@localhost:/sys/class/gpio/gpio464# cat value
0
root@localhost:/sys/class/gpio/gpio464# echo 1 >value
root@localhost:/sys/class/gpio/gpio464# cat value
0
|
|