https://en.wikipedia.org/wiki/Netlink https://stackoverflow.com/questions/12899055/how-kernel-notify-a-user-space-program-an-interrupt-occurrs There is a similar question asked here: Notify gpio interrupt to user space from a kernel module Please che…