Hi Anish,
My intention is just to detect interrupt in the user space and read the device id without using udev.
I don't want to create a new driver in kernel (assume I can't modify linux kernel sources), which is the first reason to go for uio generic platform driver.
If I register a gpio interrupt (level triggered) using a kernel module, I can get the interrupt detected
Which means you are able to do insmod, so you can very well write a kernel module and send some event to user space.
when device is inserted/removed. But I would like to detect device presence completely from user space without modifying linux kernel.
Thanks & Regards, Rajasekhar
|
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies