View: 18480|Reply: 9

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

4475

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
4475
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-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
Published in 2024-5-27 21:57:41 | Show all floors
I have been browsing on-line greater than three hours lately, yet I by no means found any attention-grabbing article like yours. It is beautiful worth enough for me. Personally, if all website owners and bloggers made just right content as you probably did, the web will be much more helpful than ever before.        https://vin777bb.com/
Published in 2024-5-30 15:27:52 | Show all floors
We are a bunch of volunteers and starting a new scheme in our community. Your web site provided us with valuable information to work on. You have done a formidable activity and our entire neighborhood will be thankful to you.        MarketSlot
Published in 2024-6-6 20:49:44 | Show all floors
I truly appreciate this post. I have been looking everywhere for this! Thank God I found it on Bing. You have made my day! Thanks again.        a course in miracles
Published in 2024-6-22 19:31:04 | Show all floors
I adore this theme. How hard is it to mess around with? Would you be able to write me an email? I would love to get this theme and use it on some of my sites. Thank you in advance!        https://bk8v3.com/
Published in 2024-6-24 17:37:50 | Show all floors
Fishing season is coming up! Love reading through all aspects of it Thanks for keeping us updated, fantastic study!        a course in miracles
Published in 2024-6-24 22:11:53 | Show all floors
Youre so cool! I dont suppose Ive read anything in this way before. So nice to discover somebody with a few original thoughts on this subject. realy appreciation for beginning this up. this web site is something that is required over the internet, a person with a little originality. useful job for bringing something new to the web!        a course in miracles
Published in 2024-6-27 23:57:09 | Show all floors
I enjoyed reading this a lot… I really hope to read more of your posts in the future, so I’ve bookmarked your blog. But I couldn’t just bookmark it, oh no.. When I see quality website’s like this one, I like to share it with others So I’ve created a backlink to your site (from …        RajaSlot
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list