User space <==> kernel space for device wakeups.

Greg KH greg at kroah.com
Wed Oct 8 09:29:41 EDT 2014


On Wed, Oct 08, 2014 at 04:39:17PM +0900, manty kuma wrote:
> Hi,
> I want a user process to be notified on device wakeup so that I can print some
> related information.

Really?  My device can "wakeup" thousands of times a second, what are
you going to do with that type of 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?

What problem are you trying to solve here?

thanks,

greg k-h



More information about the Kernelnewbies mailing list