Hi,
I want a user process to be notified on device wakeup so that I can print some related information.

Which framework to use for this?(events, .. ??)

One idea I get is to log the info into <debugfs> and poll(implement my poll) on it for data. This is my last option.

Are there any better ways?

Best Regards,
Manty