AnotherPeople Posted December 25, 2017 Share Posted December 25, 2017 Hello community armbian :). I have a trouble on orange pi plus2e armbian mainline kernel. There is no reaction of the pins after the export. echo 11 > /sys/class/gpio/export echo "out" > /sys/class/gpio/gpio11/direction echo 1 > /sys/class/gpio/gpio11/value and physical pin not responding... keeping the voltage around 1.2v, when reading the same thing. I think that the physical and virtual numbering of contacts is different. And excuse me for my english... Link to comment Share on other sites More sharing options...
Igor Posted December 25, 2017 Share Posted December 25, 2017 http://linux-sunxi.org/GPIO#Accessing_the_GPIO_pins_through_sysfs_with_mainline_kernel Link to comment Share on other sites More sharing options...
martinayotte Posted December 25, 2017 Share Posted December 25, 2017 Be aware that pin numbering mentioned in Igor's link is important for all AllWinder SoC. This mean that the gpio11 you've tried is actually PA11, and beware also that pins can have multiple usages, and here PA11 could be TWI0_SCK if you have loaded I2C mainline overlay or having I2C enabled in legacy FEX. Link to comment Share on other sites More sharing options...
AnotherPeople Posted December 25, 2017 Author Share Posted December 25, 2017 Thank you very much. Link to comment Share on other sites More sharing options...
Recommended Posts