Jump to content
  • 0

Difficulty accessing gpio via sysfs interface


AnotherPeople
 Share

Question

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

3 answers to this question

Recommended Posts

Armbian is a community driven open source project. Do you like to contribute your code?

  • 0

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

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...