Have you turned off GPIO options in kernel settings?

This is the TI official guide (assuming you are running Linux):
http://processors.wiki.ti.com/index.php/Linux_PSP_GPIO_Driver_Guide

On Sat, Nov 3, 2018 at 6:48 PM not you <[email protected]> wrote:

> I keep running into this error when running a code after booting up.  The
> code write to certain GPIO under /sys/class/gpio.  It complains:
>
> No such file or directory
>
> I reset the BBB and run `ls` inside /sys/class/gpio.  Apparently, the
> selected GPIO's are not there.  After the aforementioned code is executed
> (and the same errors are thrown), I run `ls` again.  This time, the
> required GPIO's are there.  Could someone explain to me why they do not
> initially exist, and what makes them show up afterwards?  Thank you in
> advance.
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/aa24f687-2c91-40c6-a1b2-023660306104%40googlegroups.com
> <https://groups.google.com/d/msgid/beagleboard/aa24f687-2c91-40c6-a1b2-023660306104%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Yiling Cao
http://umine.io/ <http://umie.io/>
http://ariaboard.com/
http://shanghainovotech.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAMMUdpJCOGuZvk4vNdtwMykjSS8knzsxNcaSnJAZtZ15SrKFYA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to