Re: WMI and Kernel:User interface

From: Darren Hart
Date: Wed May 10 2017 - 19:27:55 EST


On Wed, May 10, 2017 at 10:02:46PM +0000, Mario.Limonciello@xxxxxxxx wrote:
> This above discussion is confusing because it's referring specifically to "WMI events".
> related to brightness keypresses that don't make sense to go to userspace.

Let's elaborate on this point. Why are events not interesting to user space?

I don't think it would be too problematic to create a chardev for an Event GUID,
give platform drivers first chance to handle an event, and pass it up to
userspace for exported GUIDs if the kernel doesn't consume the event.

--
Darren Hart
VMware Open Source Technology Center