Jump to content

gpio readall (wiringPiSetup: Unknown model)


arturito

Recommended Posts

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#

 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines