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.

gpio readall (wiringPiSetup: Unknown model)

Featured Replies

hello everyone, I am new in this forum, I am from Chile nd recently bought a nanopi m4 and installed Armbian 64 bits,

here is my problem: 

my board nanopi m4 

OS: latest armbian (64-bits)

Installed following all instructions  and sequence shown in https://github.com/Pavelectric/WiringPi_M4

all steps of the installation were successful ...

but gpio readall (and other gpio functions) returns wiringPiSetup: Unknown model

beside that I have no issues with this board (currently outperform my RPI 4B) and

all my apps (32 and 64 bits) except wiringpi

any clues to solve this issue? 

greetings

Arturo

 

example:

cat /proc/cpuinfo

.....

processor    : 5
BogoMIPS    : 48.00
Features    : fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer    : 0x41
CPU architecture: 8
CPU variant    : 0x0
CPU part    : 0xd08
CPU revision    : 2

Serial        : 9844f9cc95eb99f8
root@nanopim4:/home/arturo/software/WiringPi_M4-master# uname -a 
Linux nanopim4 4.4.188-rk3399 #13 SMP Thu Aug 8 15:50:19 CEST 2019 aarch64 GNU/Linux
root@nanopim4:/home/arturo/software/WiringPi_M4-master# gpio readall
wiringPiSetup: Unknown model
root@nanopim4:/home/arturo/software/WiringPi_M4-master#

 

  • Author

solved, deinstalled prior packages, did it all again and it worked !

the problem was I did the first installation as sudo su and then dpkg -i wiringpi-v2.44-friendlyelec-rk3399.deb

instead of sudo dpkg -i wiringpi-v2.44-friendlyelec-rk3399.deb

so It seems this thread is over

greetings

Arturo

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.