Closed mjsir911 closed 6 months ago
Hi!
I don't really know much about hardware interrupts, but I'm comparing this project to: https://github.com/UncleGrumpy/spi-ch341-usb.git
with the above fork, this works:
$ gpioinfo gpiochip31 - 3 lines: line 0: "dio_irq" unused input active-high line 1: "dio_busy" unused input active-high line 2: "dio_reset" unused input active-high $ gpiomon /dev/gpiochip31 0 ^C $ gpiomon /dev/gpiochip31 1 ^C $ gpiomon /dev/gpiochip31 2 ^C
With your version, I can't watch any of the pins:
$ gpiomon /dev/gpiochip32 10 gpiomon: error waiting for events: Invalid argument
Something to note is that I can't get any reads working with the unclegrumpy fork
This works and is the only valid configuration:
gpiomon --rising-edge /dev/gpiochip12 10
Hi!
I don't really know much about hardware interrupts, but I'm comparing this project to: https://github.com/UncleGrumpy/spi-ch341-usb.git
with the above fork, this works:
With your version, I can't watch any of the pins: