Hi,
I was on the legacy kernel until recently with my bananaPi M1.
I switched to the vanilla kernel but since then, when I try to use the GPIO python library (for bananapi from LeMaker github), it works quite well except for functions
gpio.add_event_detect() or GPIO.wait_for_edge(channel, GPIO.RISING)
This usually disconnect my network and the event is never detected.
I have to reboot the PI to restore the state.
Also, a normal read/write state GPIO.input(PIN_NUM) works perfectly...
I assume it is due to the vanilla kernel but could not find any documentation on why this is happening...
Any answer/comments would be much appreciated!
Let me know if you need more info on my setup.
Thanks and regards,
Fabien