Re: WMI driver duplicate UUID

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

 



Hi Armin,

On 7/9/22 03:33, Armin Wolf wrote:
> Hello,
> 
> while trying to write my own WMI driver, i noticed that the WMI bus driver complained
> about duplicated WMI UUIDs. After doing some research, i think i found the reason for
> these messages:
> 
> Apparently, the ACPI WMI specification by Microsoft treats the _UID of the WMI PnP-device
> like a namespace, which means that duplicate UUIDs are llegal if they do not share the same
> namespace (= PnP-device).
> 
> In my case, only one wmi-bmof device is used, the rest is filtered out despite laying in
> a different namespace since they have the same UUID.
> 
> Could it be theoretically possible to fix this issue with the WMI bus?

Yes this has been a known issue for quite a while now, there
is a bugzilla for this here:

https://bugzilla.kernel.org/show_bug.cgi?id=201885

As pointed out there, patches fixing this have been posted
a few years ago already, but they did not get merged.

The patches are here:

https://lkml.org/lkml/2017/12/8/912
https://lkml.org/lkml/2017/12/8/914

There is one review comment which needs to be addressed:

https://lkml.org/lkml/2017/12/9/165

If you can pick these patches up, address the review
comment, test them and then submit a version 2 upstream
I would be happy to merge this into the platform-drivers-x86
tree.

Regards,

Hans




[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux