2 2
lsmod

WiringPi can't work for H5 CPU (OrangePi PC 2)

Recommended Posts

Good day!!!!! Forgive me for my bad english.
I really need your help. I have orangepi PC2.
For a very long time I have been searching the Internet for a working version of WiringPi or WiringOP, but unfortunately I can’t find a working version.
I tried many installation examples, but the result is not very pleasant. I also have Orangepi one, everything works well on this device. On the OrangePi PC2 device,
I just can’t overcome the problem of working with GPIO. When installing, Wiring PI or WiringOp constantly pops up errors. ((((Some examples work in half, 
there is no GPIO> PIN ..... I find it very difficult for you to properly explain what is wrong with the device. In other words, I can't use full
I tried many installation examples, but the result is not very pleasant. I also have Orangepi one, everything works well on this device.
On the OrangePi PC2 device, I just can’t overcome the problem of working with GPIO. When installing, Wiring PI or WiringOp constantly pops up errors. ((((
Some examples work in half, there is no GPIO> PIN ..... I find it very difficult for you to properly explain what is wrong with the device. In other words, I can't use full GPIO. In all versions one and the same error, I can not use all GPIO, some of them do not work at all.
At the command: sudo gpio readall the system shows me a table, in theory everything should work. and turn off the light bulb), and some do not even respond, and do not Appearing in / sys / bus / gpio / devices. Judging by the tests, I can only use wPi: 1,3,4,5,7,11. Some people write: undefined. Some simply do not respond. I could use much more on OrangePi One GPIO (PIN), such as (wPi): 21,22,23,24,25,3,7,1,4,5,11,27,28,29. (((((((((Very I ask to help me solve this problem. I’m new to this all, it’s very difficult to figure it out, but I don’t speak much English. I would be very grateful for any help in solving this problem.


The system is installed:

Spoiler

Distributor ID: Ubuntu
Description: Ubuntu 04.04.1 LTS
Release: 18.04
Codename: bionic

BOARD = orangepipc2
BOARD_NAME = "Orange Pi PC2"
BOARDFAMILY = sun50iw2
VERSION = 5.69
LINUXFAMILY = sunxi64
BRANCH = next
ARCH = arm64
IMAGE_TYPE = stable
BOARD_TYPE = conf
INITRD_ARCH = arm64
KERNEL_IMAGE_TYPE = Image
IMAGE_UUID = a5ba05b8-4b9f-4f67-8b71-ee3c9a5899d1
# PLEASE DO NOT EDIT THIS FILE
BOARD = orangepipc2
BOARD_NAME = "Orange Pi PC2"
BOARDFAMILY = sun50iw2
VERSION = 5.73
LINUXFAMILY = sunxi64
BRANCH = next
ARCH = arm64
IMAGE_TYPE = stable
BOARD_TYPE = conf
INITRD_ARCH = arm64
KERNEL_IMAGE_TYPE = Image
DISTRIB_ID = Ubuntu
DISTRIB_RELEASE = 18.04
DISTRIB_CODENAME = bionic
DISTRIB_DESCRIPTION = "Ubuntu 18.04.1 LTS"
NAME = "Ubuntu"
VERSION = "04/18/1 LTS (Bionic Beaver)"
Id = ubuntu
ID_LIKE = debian
PRETTY_NAME = "Ubuntu 04/18/1 LTS"
VERSION_ID = "18.04"
HOME_URL = "https://www.ubuntu.com/"
SUPPORT_URL = "https://help.ubuntu.com/"
BUG_REPORT_URL = "https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL = "https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME = bionic
UBUNTU_CODENAME = bionic

 


 

Edited by Tido
added spoiler.. shorted quote - please add a spoiler nexttime yourself, thx

Share this post


Link to post
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...
2 2