But then I cannot export the "irq" pin which is the only GPIO that supports interrupts ( poll() ) according to the comments, "enabled poll based irq gpio pin AD6".
echo 667 > /sys/class/gpio/export # 664 is the base for me, IRQ pin is the 4th after base
bash: echo: write error: Device or resource busy
Loading the driver with irqpoll=0, the pin does get exported.
Here's the dmesg comparison with irqpoll=1 (left) and without. Any ideas?
Also, there's a buffer overflow because GPIO_irqNumber = 152. I had to make this change, but it doesn't influence this issue.
fix_buffer_overflow.patch
I'm loading the module like this
insmod ft232h-intf.ko bind232h=1 irqpoll=1
But then I cannot export the "irq" pin which is the only GPIO that supports interrupts ( poll() ) according to the comments, "enabled poll based irq gpio pin AD6".
echo 667 > /sys/class/gpio/export # 664 is the base for me, IRQ pin is the 4th after base bash: echo: write error: Device or resource busy
Loading the driver with irqpoll=0, the pin does get exported. Here's the dmesg comparison with irqpoll=1 (left) and without. Any ideas?
dmesg_compare_irqpoll.zip
Also, there's a buffer overflow because GPIO_irqNumber = 152. I had to make this change, but it doesn't influence this issue. fix_buffer_overflow.patch