Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Difficulty accessing gpio via sysfs interface

Featured Replies

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...

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.

 

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.