I am in the process of porting my embedded application from Raspberry Pi over to Le Potato and I cannot seem to get GPIOX_16 to accept gpiod_line_request_bulk_falling_edge_events() it returns -1 ENODEV. I contacted the author of the library and we confirmed that the underlying ioctl code seems to be correct.
Is this line unsuitable for an IRQ? What are my options? Do I need to pick another GPIO line? I am using the overlays spicc-cs1 and spicc-cs1-spidev. GPIOX-16 does show up under gpioinfo and gpiofind.
After installing the kernel and rebooting I issued the command gpiomon gpiochip1 95 which resulted in gpiomon: error waiting for events: Invalid argument. Note that gpioinfo reports line 95: “7j1 Header Pin32” unused input active-high
It appears that we are a step closer. What should I do now?