- 积分
- 49
贡献239
飞刀69 FD
注册时间2021-1-25
在线时间8 小时
扫一扫,手机访问本帖
|
系统gpio 下有如下文件:
root@localhost:~# cd /sys/class/gpio/
root@localhost:/sys/class/gpio# ls
export gpiochip448 gpiochip480 unexport
root@localhost:/sys/class/gpio#
gpiochip448 对应GPIO1
gpiochip480 对应GPIO2
gpiochip480 下有文件:
root@localhost:/sys/class/gpio# cd gpiochip480
root@localhost:/sys/class/gpio/gpiochip480# ls
base device label ngpio power subsystem uevent
root@localhost:/sys/class/gpio/gpiochip480#
root@localhost:/sys/class/gpio/gpiochip480# cat base
480
root@localhost:/sys/class/gpio/gpiochip480# cat label
2300000.gpio
root@localhost:/sys/class/gpio/gpiochip480# cat ngpio
32
root@localhost:/sys/class/gpio/gpiochip480#
没有value文件, 要修改设备树么 ?该怎么修改
|
|