orangepi-xunlong/wiringOP

Oops: Unable to determine board revision...

elsabz opened this issue · 2 comments

elsabz commented

I don't know why, I think after doing "sudo apt update/upgrade" (but I'm not sure), the wiringOP library on "orange pi 5" with Armbian 23.02.2 doesn't work anymore. If I run the command "sudo gpio readall" I get the following output:

Oops: Unable to determine board revision from /proc/device-tree/system/linux,revision
or from /proc/cpuinfo
-> No "Hardware" line
-> You'd best google the error to find out why.

Can anyone help me solve this problem?

elsabz commented

I managed to solve the problem by myself! I found that I had a number of libwiringPi files inside the /usr folder, they are probably left over from previous attempts to install the wiringpi library. I removed these files manually and then proceeded to install this library. After this gpio readall started working again

elsabz commented

Problem is solved was my mistake!