william@beaglebone:~$ ls /sys/class/gpio/gpio3 active_low device direction *edge* power subsystem uevent value
Set the "edge" file to "rising", "falling:, or "both". You can then perform a blocking read on the value file. Using poll(), select(), etc. This is about as close as it gets for interrupts in user space. On Mon, Nov 7, 2016 at 7:22 AM, Patrick Schmelzer < [email protected]> wrote: > Hi there > > I want to use a GPIO interrupt wakeup for my BBB, unfortunately (and also > in contrary what some people postet) i dont have the wakeup folder when i > export pins. > I know that only the first pin bank GPIO0_x is usable for the wakeup. > > Does anyone know what to initialize it and what to change in the kernel > code? > The controller omap is definetly loaded because i can check the values of > the pin and also change them. > > Regards, > > -- > 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/b6cb8a48-627d-41f7-b9ae-d39825fd922b%40googlegroups.com > <https://groups.google.com/d/msgid/beagleboard/b6cb8a48-627d-41f7-b9ae-d39825fd922b%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CALHSORrQdZv%2BLRf3AutT3AjFUDec9gOHSNsDhb_ycX9FHr-Dgg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
