Skip to content

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

Closed

Description

@zmofei

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

Activity

  1. ritual89 commented on Feb 12, 2015

    @ritual89

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

  2. ritual89 commented on Feb 12, 2015

    @ritual89
  3. zmofei commented on Feb 12, 2015

    @zmofei
    Author

    the path was change to another folder in new system?

  4. lurch commented on Feb 12, 2015

    @lurch

    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.

  5. aesopwolf commented on Feb 23, 2015

    @aesopwolf

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

  6. ts00617355 commented on Mar 7, 2015

    @ts00617355

    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.

  7. rogue45 commented on May 15, 2015

    @rogue45

    @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?

  8. lurch commented on May 16, 2015

    @lurch
  9. knocte commented on Oct 19, 2015

    @knocte

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

  10. mvtcode commented on Jan 6, 2016

    @mvtcode

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions