From: Alex Hung <alex.hung@canonical.com>
To: Alex Hung <alex.hung@canonical.com>
Cc: corentincj@iksaif.net, mjg@redhat.com,
acpi4asus-user@lists.sourceforge.net,
platform-driver-x86@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] asus-wmi: use ASUS_WMI_METHODID_DSTS2 as default DSTS ID.
Date: Wed, 20 Jun 2012 11:50:32 +0800 [thread overview]
Message-ID: <4FE14888.30606@canonical.com> (raw)
In-Reply-To: <1340164055-1062-1-git-send-email-alex.hung@canonical.com>
[-- Attachment #1: Type: text/plain, Size: 1462 bytes --]
Hi All,
The attached is acpi and dmi dumps and dmesg logs of before and after
applying the patch for references.
Best Regards,
Alex Hung
On 06/20/2012 11:47 AM, Alex Hung wrote:
> According to responses from the BIOS team, ASUS_WMI_METHODID_DSTS2
> (0x53545344) will be used as future DSTS ID. In addition, calling
> asus_wmi_evaluate_method(ASUS_WMI_METHODID_DSTS2, 0, 0, NULL) returns
> ASUS_WMI_UNSUPPORTED_METHOD in new ASUS laptop PCs. This patch fixes
> no DSTS ID will be assigned in this case.
>
> Signed-off-by: Alex Hung<alex.hung@canonical.com>
> ---
> drivers/platform/x86/asus-wmi.c | 7 +------
> 1 files changed, 1 insertions(+), 6 deletions(-)
>
> diff --git a/drivers/platform/x86/asus-wmi.c b/drivers/platform/x86/asus-wmi.c
> index 25e3093..0f69a97 100644
> --- a/drivers/platform/x86/asus-wmi.c
> +++ b/drivers/platform/x86/asus-wmi.c
> @@ -1461,14 +1461,9 @@ static int asus_wmi_platform_init(struct asus_wmi *asus)
> */
> if (!asus_wmi_evaluate_method(ASUS_WMI_METHODID_DSTS, 0, 0, NULL))
> asus->dsts_id = ASUS_WMI_METHODID_DSTS;
> - else if (!asus_wmi_evaluate_method(ASUS_WMI_METHODID_DSTS2, 0, 0, NULL))
> + else
> asus->dsts_id = ASUS_WMI_METHODID_DSTS2;
>
> - if (!asus->dsts_id) {
> - pr_err("Can't find DSTS");
> - return -ENODEV;
> - }
> -
> /* CWAP allow to define the behavior of the Fn+F2 key,
> * this method doesn't seems to be present on Eee PCs */
> if (asus->driver->quirks->wapf>= 0)
[-- Attachment #2: asus-wmi-dump.tar --]
[-- Type: application/x-tar, Size: 136990 bytes --]
next prev parent reply other threads:[~2012-06-20 3:50 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-20 3:47 [PATCH] asus-wmi: use ASUS_WMI_METHODID_DSTS2 as default DSTS ID Alex Hung
2012-06-20 3:50 ` Alex Hung [this message]
2012-06-26 21:39 ` Jonathan Nieder
2012-06-26 21:58 ` Carsten Otto
2012-06-27 7:53 ` Alex Hung
2012-06-27 22:17 ` Jonathan Nieder
2012-06-28 8:18 ` Carsten Otto
2012-09-18 10:21 ` Carsten Otto
2012-09-18 20:54 ` Corentin Chary
2012-06-29 12:21 ` Corentin Chary
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=4FE14888.30606@canonical.com \
--to=alex.hung@canonical.com \
--cc=acpi4asus-user@lists.sourceforge.net \
--cc=corentincj@iksaif.net \
--cc=linux-kernel@vger.kernel.org \
--cc=mjg@redhat.com \
--cc=platform-driver-x86@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).