please choosego to mobile | Continue to access the PC version
View: 8578|Reply: 5

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

4396

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
4396
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?

0

threads

721

posts

1738

credits

Gold member

Rank: 6Rank: 6

credits
1738
Published in 2024-2-11 22:21:51 | Show all floors
Can I say what a relief to discover someone that really knows what theyre preaching about on the net. You actually realize how to bring a concern to light and produce it crucial. The best way to need to check this out and fully grasp this side of the story. I cant believe youre no more popular since you also undoubtedly contain the gift.        산본출장마사지
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 5 daybefore | 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 halfhourbefore | 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!!        먹튀검증업체
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list