Fwd: WMI driver no longer load after switching to generic UUID library

From: Kui Zhang
Date: Sun May 29 2016 - 14:37:36 EST


oops, forgot the list.


---------- Forwarded message ----------
From: Kui Zhang <kuizhang@xxxxxxxxx>
Date: Sun, May 29, 2016 at 11:35 AM
Subject: WMI driver no longer load after switching to generic UUID library
To: andriy.shevchenko@xxxxxxxxxxxxxxx, dvhart@xxxxxxxxxxxxxxx,
akpm@xxxxxxxxxxxxxxxxxxxx, torvalds@xxxxxxxxxxxxxxxxxxxx


Hello,

After this:

commit 538d7eb86d58b3d7d73f3bb3ff960c4bdf411c1a
drivers/platform/x86/wmi.c: use generic UUID library


some keyboard functions stopped working:

clevo-wmi - git://git.code.sf.net/p/clevo-wmi/code
[ 83.877887] Clevo Get GUID not found


/*
#define CLWMI_GET_GUID "ABBC0F6D-8EA1-11d1-00A0-C90629100000"

...

if(!wmi_has_guid(CLWMI_GET_GUID)) {
pr_err("Clevo Get GUID not found\n");
return -ENODEV;
}


*/



clevo-xsm-wmi - https://bitbucket.org/lynthium/clevo-xsm-wmi.git
insmod: ERROR: could not insert module clevo-xsm-wmi.ko: No such device

/*

#define CLEVO_GET_GUID "ABBC0F6D-8EA1-11D1-00A0-C90629100000"

...

if (!wmi_has_guid(CLEVO_GET_GUID)) {
CLEVO_XSM_INFO("No known WMI control method GUID found\n");
return -ENODEV;
}

*/


thanks
Kui.Z