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

gpio-admin: failed to change group ownership of /sys/devices/virtual/gpio/gpio22/direction: No such file or directory #5

Closed
zmofei opened this issue Feb 11, 2015 · 10 comments

Comments

@zmofei
Copy link

zmofei commented Feb 11, 2015

after install I can't find folder gpio in /sys/devices/virtual/

@greggpeacock
Copy link

Having the exact same problem! Hopefully we can sort that out.

@greggpeacock
Copy link

raspberrypi/linux#791

@zmofei
Copy link
Author

zmofei commented Feb 12, 2015

the path was change to another folder in new system?

@lurch
Copy link

lurch commented Feb 12, 2015

Don't mean to sound rude, but not sure why you're still relying on any of the quick2wire code, given that none of it has been touched in almost 2 years?
See also https://groups.google.com/forum/#!topic/quick2wire-users/OjJY9yweAws

If you do have to rely on such "frozen" code, then you should treat all the other software on your Pi as "frozen" too and not be doing software upgrades, because something is bound to break sooner or later... All IMHO of course.

@aesopwolf
Copy link

Looks like there's a pull request to fix it #6

@ts00617355
Copy link

wow, #6 work for me, thx a lot.

note that if someone is using pi-gpio:
After changing the path and reinstalling gpio-admin, you need to change the path variable to ( sysFsPath = "/sys/class/gpio") in pi-gpio.js: line7 in node_modules/pi-gpio folder.

@rogue45
Copy link

rogue45 commented May 15, 2015

@ts00617355 I am using nodejs pi-gpio and can now successfully read pin 16, but i can't read any other pins. in my /sys/class/gpio/ i only have gpio23 -> ../ ../devices/soc/3df20000
How do i access other pins? It seems like they would each need their own directory. I'm not sure how i got gpio23's there. Any ideas?

@lurch
Copy link

lurch commented May 16, 2015

@knocte
Copy link

knocte commented Oct 19, 2015

@aesopwolf there's a better fix here: #7

@mvtcode
Copy link

mvtcode commented Jan 6, 2016

help me:
Error when trying to open pin 16
gpio-admin: failed to change group ownership of /sys/devices/virtual/gpio/gpio23/direction: No such file or directory

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

8 participants