13 Replies Latest reply on May 5, 2015 2:38 PM by CMata_Intel

    running python script to access the gpio pins


      i want to work with GPIO of galileo using C++ from yocto linux image.i have been following the below link to understand things:



      here the first step is to edit this file etc/udev/rules.d/99-gpio.rules

      but i don't have the 'udev' folder inside the 'etc' folder. Kindly guide me whats missing here and how can i fix it.


      Also for the following two commands,

      sudo groupadd -f --system gpio

      sudo udevadm control --reload-rules


      I get an error 'sudo command not found'.

      I am logged in through telnet and the 'whoami' command showsme as root. I am working on Galileo G2 board.


      My goal is to convert this code into cpp code once its working.