elsabz Posted July 7, 2023 Share Posted July 7, 2023 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? 0 Quote Link to comment Share on other sites More sharing options...
elsabz Posted July 7, 2023 Author Share Posted July 7, 2023 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 the correct library Quote https://github.com/orangepi-xunlong/wiringOP/tree/next After this gpio readall started working again 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.