Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/sys/devices/virtual/gpio doesn't exist #10

Open
aramperez opened this issue Jun 17, 2015 · 6 comments
Open

/sys/devices/virtual/gpio doesn't exist #10

aramperez opened this issue Jun 17, 2015 · 6 comments

Comments

@aramperez
Copy link

I'm using 2015-05-05-raspbian-wheezy on a Raspberry Pi 2 and when I run gpio-admin, I get the following error: "gpio-admin: failed to change group ownership of /sys/devices/virtual/gpio/gpio22/direction: No such file or directory". Does the program have to use the "/sys/devices/virtual/gpio..." folders or can it use the "sys/class/gpio..." folders?

@pvgennip
Copy link

I have the same problem. It seems that the path to gpio has changed from /sys/devices/virtual/gpio to /sys/class/gpio. Using this in stead should solve your problem.

@aramperez
Copy link
Author

Hi Pvgennip, thanks for the info, I ended up using wiringPi.

@knocte
Copy link

knocte commented Oct 19, 2015

There's a fix for this: #7

@bkbonner
Copy link

+quickwire Is there any reason #7 hasn't been merged yet?

@leakingtapan
Copy link

@pvgennip could you give more inputs on how to change to use the new path? Thanks

@pvgennip
Copy link

pvgennip commented Jun 4, 2016

@leakingtapan check the changed file in #7, you can see how to use the correct path. Good luck!
https://github.com/quick2wire/quick2wire-gpio-admin/pull/7/files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants