GPIO using `gpioctl` on OpenWrt 22.03
- 
					
					
					
					
 I installed gpioctl-sysfsbut it did not work.root@OpenWrt:~# gpioctl dirin 11 Using gpio pin 11. gpio_request: Invalid argument root@OpenWrt:~#How can I make gpioctlworking properly?
 And is there a way to useomega2-ctrlcommand on OpenWrt 22.03?
 
- 
					
					
					
					
 @DumTux Can you execute the command: echo 11 >/sys/class/gpio/export Then check /sys/class/gpio/export/gpio11 is created If it is then you can set to input mode using the command: echo in >/sys/class/gpio/gpio11/direction 
 
- 
					
					
					
					
 Yes, it worked. Thank you. 
 I had to use different pin numbering as @luz explained in this answer for my CAN bus question.
 
