On Wednesday 01 July 2015 10:32:01 Michał Kępień wrote: > > Are you able to detect if Windows receive keypress via WMI or keyboard > > controller or from other driver? > > I believe it's done via WMI. In the first message in this thread, I > wrote: > > "While in Windows, I copied a sample VBScript from MSDN for receiving > event notifications via WMI, set proper namespace ("root\wmi") and > notification query ("SELECT * FROM BIOSEvent") and it worked." > Ok, I do not know all these windows internals, but it would be cool to check if WMI event is really received with correct mask in that NEVT method. No idea if this is possible to debug/test on windows... > > Also what you can try is to dump EC registers and DSDT table from > > Windows and compare it with Linux. > > Well, here's the catch: there is no PNP0C09 device in the DSDT and thus > the EC driver isn't even loaded in Linux and I can't dump EC registers. > Yet Windows tools seem to be able to do it, using ports 0x66/0x62. I'm > confused. > Hm... could be this reason? And windows read pressed hotkeys from EC registers? Can you ask acpi guys what could *not* work if acpi ec driver is not loaded? > DSDT tables dumped from Windows and Linux are identical. > Ok, then we should be able to do it also from Linux. -- Pali Rohár pali.rohar@xxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html