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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2014-10-08 0:39 GMT-07:00 manty kuma <mantykuma@xxxxxxxxx>:
> 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, .. ??)

You can use netlink and  uevent to do this job.

But  just as Greg has pointed out, if your device notify  frequently,
your system will get slow down obviously.

>
> 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
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies@xxxxxxxxxxxxxxxxx
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux