Hi All,
Thank you for the replies. I understand that I can use netlink sockets. Also, i have gone through various other possible ways :
http://people.ee.ethz.ch/~arkeller/linux/kernel_user_space_howto.htmlI am looking for a simpler solution which uses existing information of sys entries. That is, I am looking for a sys entry which is incremented for every device wakeup or some other sys entry that I can use to get notified on wakeup.
Greg,
>>
Really? My device can "wakeup" thousands of times a second, what are
you going to do with that type of information?
I am talking of device as a whole not individual devices in the device. In kernel log, we can see a print stating