How to enable kernel IRQ?

Hi Robert,

I have two questions:

  1. under /sys/kernel/irq, there are many numbers exported. For example, 20
    I tried to enable wakeup, I got permission denied:

image

  1. For GPIO_20, is that related to /sys/kernel/irq/20? But under ./irq/20, the hwirq number is 12.
    If there is a relationship between them, how are they associated with between the numbers?

Thank You,

David

In Linux, IRQ’s are dynamically allocated… Use /proc/interrupts to map number to peripheral…

Regards,

Thank you.
David