On Sat, Jul 9, 2022 at 1:39 PM Hans de Goede <hdegoede@xxxxxxxxxx> wrote: > On 7/9/22 03:33, Armin Wolf wrote: > > 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. https://lore.kernel.org/all/1512786861-1014-1-git-send-email-mario.limonciello@xxxxxxxx/ This way it's easier to handle with `b4` b4 am -s https://lore.kernel.org/all/1512786861-1014-1-git-send-email-mario.limonciello@xxxxxxxx/ -- With Best Regards, Andy Shevchenko