You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
gpio-admin: failed to change group ownership of /sys/devices/virtual/gpio/gpio22/direction: No such file or directory #5
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.
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.
Reacted by Mahesh Sankhala, mzpolini and Sakib Alam
@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?
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
Activity
ritual89 commentedon Feb 12, 2015
Having the exact same problem! Hopefully we can sort that out.
ritual89 commentedon Feb 12, 2015
raspberrypi/linux#791
zmofei commentedon Feb 12, 2015
the path was change to another folder in new system?
lurch commentedon 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 commentedon Feb 23, 2015
Looks like there's a pull request to fix it #6
ts00617355 commentedon Mar 7, 2015
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 commentedon 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 commentedon May 16, 2015
@michaelderemer Does https://www.kernel.org/doc/Documentation/gpio/sysfs.txt help?
Alternatively, take a look at http://raspi.tv/rpi-gpio
knocte commentedon Oct 19, 2015
@aesopwolf there's a better fix here: #7
mvtcode commentedon 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