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.

Need help for GPIO with BananaPro Armbian Mainline

Featured Replies

Hello,

actually i have "Bananian" with the kernel "3.4.113-bananian", and I would like to switch to the Armbian mainline kernel!

 

My problem / question is how does it work with the GPIO in the mainline kernel?

 

I use these commands under the legacy kernel... (I use the modified WiringPI from LeMaker)

echo "17" > /sys/class/gpio/export
echo "out" > /sys/class/gpio/gpio17/direction
echo "1" > /sys/class/gpio17/value

But these unfortunately no longer work under the mainline kernel!

 

I don't understand how i calculate now the right GPIO Pin. (http://linux-sunxi.org/GPIO#Accessing_the_GPIO_pins_through_sysfs_with_mainline_kernel)

 

I look forward to your help!

 

Greeting,

Marcel

Hi Marcelm,  try your calculation again ..  I think you may find it works out to 275.

 

I hope this sorts the problem for you.

 

8 x 32 plus 19

Hi Marcelm, glad to be of help.

 

I found sorting GPIO pins / inputs / outputs quite a challenge to start with as Odroid, Pine and Raspi etc all had / have different values.

 

All very confusing ....

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.