please choosego to mobile | Continue to access the PC version
View: 11876|Reply: 23

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

4429

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
4429
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-2-28 17:55:11 | Show all floors
Excellent read, I just passed this onto a colleague who was doing some research on that. And he just bought me lunch since I found it for him smile So let me rephrase that: Thank you for lunch!        Códigos lucrativos
Published in 2024-3-4 15:47:02 | Show all floors
Hello, i believe that i saw you visited my web site so i came to “return the prefer”.I’m attempting to to find things to improve my web site!I guess its adequate to use a few of your ideas!!        먹튀검증업체
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-5 16:03:47 | Show all floors
Good day I am so glad I found your web site, I really found you by mistake, while I was looking on Aol for something else, Regardless I am here now and would just like to say thank you for a fantastic post and a all round enjoyable blog (I also love the theme/design), I don’t have time to browse it all at the moment but I have book-marked it and also added your RSS feeds, so when I have time I will be back to read a great deal more, Please do keep up the awesome work.        https://timesaverholdings.com/
Published in 2024-3-6 16:09:22 | Show all floors
Speedily this great site will certainly irrefutably always be renowned amid most writing a blog men and women, automobile careful content as well as testimonials.        OPINI PIX É GOLPE
Published in 2024-3-6 19:19:31 | Show all floors
The moment when i been given onto your web page while having factor in essence considerably touch submits. Gratifying strategy for impending, My business is bookmarking while doing so attain forms conclude springs up way up.        OPINA PIX
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/
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list