From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: Linus Torvalds <torvalds@linux-foundation.org>,
Kui Zhang <kuizhang@gmail.com>
Cc: Darren Hart <dvhart@linux.intel.com>,
Andrew Morton <akpm@linux-foundation.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: WMI driver no longer load after switching to generic UUID library
Date: Mon, 30 May 2016 10:58:01 +0300 [thread overview]
Message-ID: <1464595081.27624.48.camel@linux.intel.com> (raw)
In-Reply-To: <CA+55aFx72kwnogZDqJnBXdmjWsOzprJtyZxKFvpC4PT+RaAojQ@mail.gmail.com>
On Sun, 2016-05-29 at 13:22 -0700, Linus Torvalds wrote:
> Andy?
>
> Looking at that commit, it does look like what wmi_parse_guid +
> wmi_swap_bytes did was to implement a LE uuid. So the conversion looks
> correct, but the fact that it breaks something obviously means that
> there's something missing. What's going on?
I proposed to add print to the loops to see what's going on there.
>
> And dammit, how I hate uuid's and the idiotic byte ordering issue.
> It's possibly the only idiotic standard that is even worse than xml.
T'so seems has the same opinion http://www.spinics.net/lists/kernel/msg2
263333.html
>
> Linus
>
> On Sun, May 29, 2016 at 11:35 AM, Kui Zhang <kuizhang@gmail.com>
> wrote:
> > Hello,
> >
> > After commit 538d7eb86d58 ("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
--
Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Intel Finland Oy
next prev parent reply other threads:[~2016-05-30 7:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAKx2Y1n0e+ggDcaqr8KD=3XLngzxQDRFDKdj=JPrqK0aiMxCpA@mail.gmail.com>
2016-05-29 18:37 ` Fwd: WMI driver no longer load after switching to generic UUID library Kui Zhang
2016-05-29 20:22 ` Linus Torvalds
2016-05-30 7:58 ` Andy Shevchenko [this message]
2016-05-30 10:52 ` Bjørn Mork
2016-05-30 14:40 ` Andy Shevchenko
2016-05-31 4:18 ` Kui Zhang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1464595081.27624.48.camel@linux.intel.com \
--to=andriy.shevchenko@linux.intel.com \
--cc=akpm@linux-foundation.org \
--cc=dvhart@linux.intel.com \
--cc=kuizhang@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.