problem with orangepi PC 2 (GPIO)
Edited by Steven1995 at 2018-5-21 14:56Hi everyone.
I have some problems with the gpio of orangepi PC 2 ( H5) (i install ubuntu desktop ) .
I install the wiringpi library from https://github.com/kazukioishi/WiringOP.git -b h5 as said the manual.
After the installation of the library, i try the commands of gpio, such as gpio -v, gpio readall ecc....
But when i try to run gpio load i2c i achieve this error
modprobe:FATAL: module i2c-dev not found in directory /lib/modules/3.10.6
Unable to load i2c-sunxi
I spent the last week trying to undestard what part of the lib i had to change, or if had to add a new module, but i achieved nothing.
Thanks in advance to everyone that will try to help me.
(P.s. i'm new in this forum, so i don't know if i write this thread in the right place : correct me if i'm wrong, and i have to write this thread in another section )
i2c must work with armbian for PC2 but for wiringPi I am not sure.
igorpec replied at 2018-5-21 15:01
i2c must work with armbian for PC2 but for wiringPi I am not sure.
In conclusion, i have to leave ubuntu and install armbian?
In conclusion, i have to leave ubuntu and install armbian?
That would be recommended in any case, yes. Now you run outdated, unsupported and security critical Linux kernel. Ubuntu, Debian, Arch, Android, ... is just a userspace, a shell. It's good enough perhaps for Android. The kernel in Armbian (Ubuntu or Debian variant) is 4.14.y, 4.17-18 is in making. I2C, SPI, GPIO stuff is ready to use. Sure there are also troubles and problems and not everything is developed yet, but people are using it, things are actively fixed, ... igorpec replied at 2018-5-22 00:50
That would be recommended in any case, yes. Now you run outdated, unsupported and security critical ...
Thanks for the answer. Now i understad that the problem is the wiringpi, the gpio; in fact the program gpio.c uses the modprobe on i2c_dev, module that it isn't present in the /lib/modules/3.10.65. So ihave to correct the file gpio.c, replacing the wrong name of the module with the real module in the lib.The trouble is to get the real correspondences between the i2c_dev and the modules of orangepi.
I found so many interesting stuff in your blog especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here keep up the good work single head embroidery machine Thanks for every other informative site. The place else may just I get that kind of information written in such an ideal means? I have a venture that I’m just now operating on, and I have been on the look out for such information. prayer to st raphael for healing I would like to say that this blog really convinced me to do it! Thanks, very good post. dax69 This is my first time i visit here. I found so many interesting stuff in your blog especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here keep up the good work 베트남유흥 I think this is an informative post and it is very useful and knowledgeable. therefore, I would like to thank you for the efforts you have made in writing this article. hptoto link