gthifb 这个脚本不行,驱动层面已经加载占用gpiochip2 2了,不能再通过/sys/class/gpio来控制,提示write error: Device or resource busy
,在/sys/class/leds/red:network下控制没有错误信息,就是不亮。另外把所有已定义的chip管脚都设置成1,red:network也不亮,green:network和green:ir则正常。
gpiochip2 - 8 lines:
line 0: unnamed unused input active-high
line 1: unnamed unused input active-high
line 2: unnamed "red:network" output active-high [used]
root@hi3798mv100:/sys/class/gpio# echo 530 > export
-bash: echo: write error: Device or resource busy