View: 17521|Reply: 16

Orange Pi Zero Plus using Ubuntu: problem with GPIO

[Copy link]

1

threads

1

posts

18

credits

Novice

Rank: 1

credits
18
Published in 2018-6-28 20:36:55 | Show all floors |Read mode
Edited by py5bk at 2018-6-28 20:38

Hello friends!

I'm using on my Orange Pi Zero + board the Oficial Ubuntu image of Orange Pi. At first it's perfect. I made the package installations perfectly.
But I'm having trouble working with the gpio pins. I used Armbian before, but I'm having trouble with the analog audio card when I use Armbian, which is not the case with Ubuntu.
My problem when using the Ubuntu image in my Orange Pi Zero + is that the gpio is different. Its path is /sys/class/gpio_sw instead of /sys/class/gpio ..
I would like to know if it is possible to change this system from gpio to the one I can work like armbian ..
I usually command the ghosts as follows:

  1. echo 14 > /sys/class/gpio/export
  2. echo out > /sys/class/gpio/gpio14/direction
  3. echo 0 > /sys/class/gpio/gpio14/value
  4. echo 1 > /sys/class/gpio/gpio14/value
Copy code


Can someone help me with this?

From now on I am very grateful for the attention!                                
Ricardo A Seco
http://www.py5bk.net

9

threads

634

posts

4467

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
4467
Published in 2018-6-29 00:16:07 | Show all floors
but I'm having trouble with the analog audio card


What kind of troubles?
Published in 2024-2-24 20:21:59 | Show all floors
I am typically to blogging we actually appreciate your site content. This article has truly peaks my interest. I am about to bookmark your site and keep checking for brand spanking new information.        jun88.bike
Published in 2024-3-5 01:58:45 | Show all floors
Quickly this particular site may undoubtedly gain popularity in between just about all running a blog as well as site-building people, because of its painstaking articles or maybe evaluations.        https://do-it.org/cara-mudah-main-mega888-ios/
Published in 2024-3-8 02:03:32 | Show all floors
Loving the  information on this website  , you have done  outstanding job on the  content .        https://khomuc88.live/
Published in 2024-3-8 22:51:59 | Show all floors
Valuable info. Lucky me I discovered your web site accidentally, and I am surprised why this coincidence did not happened in advance! I bookmarked it.        y340m
Published in 2024-3-11 21:23:30 | Show all floors
Hmm it appears like your site ate my first comment (it was super long) so I guess I’ll just sum it up what I submitted and say, I’m thoroughly enjoying your blog. I as well am an aspiring blog blogger but I’m still new to the whole thing. Do you have any recommendations for novice blog writers? I’d certainly appreciate it.        Tải app 79sodo
Published in 2024-3-23 23:53:34 | Show all floors
Hey! I just would like to give an enormous thumbs up for the nice information you have got right here on this post. I will probably be coming again to your blog for more soon.        https://7mcn.today/
Published in 2024-3-24 10:14:02 | Show all floors
You made some decent points there. I looked on-line for the issue and located most people should go along with along with your internet site.        https://daga3.tv/
Published in 2024-5-25 18:34:40 | Show all floors
I discovered your blog site on the internet and appearance a few of your early posts. Keep in the excellent operate. I just now extra your Rss to my MSN News Reader. Seeking toward reading a lot more from you at a later time!…        https://kiu.ac.ug
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list