Jump to content

WiringOP-Next Oops: Unable to determine board revision...


elsabz

Recommended Posts

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?

Link to comment
Share on other sites

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

After this gpio readall started working again

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines