From patchwork Wed Sep 2 22:10:34 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Drake X-Patchwork-Id: 7113541 Return-Path: X-Original-To: patchwork-platform-driver-x86@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id A2A39BEEC1 for ; Wed, 2 Sep 2015 22:10:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A94A52044C for ; Wed, 2 Sep 2015 22:10:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C32D420430 for ; Wed, 2 Sep 2015 22:10:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932130AbbIBWK5 (ORCPT ); Wed, 2 Sep 2015 18:10:57 -0400 Received: from mail-pa0-f53.google.com ([209.85.220.53]:36635 "EHLO mail-pa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932097AbbIBWK4 (ORCPT ); Wed, 2 Sep 2015 18:10:56 -0400 Received: by pacwi10 with SMTP id wi10so24160095pac.3 for ; Wed, 02 Sep 2015 15:10:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=j4qiHIbaD/rTKaZ/DgnNAhnBMZOgQIWdexIkW0xxMXg=; b=WUU/wBQZ1xa3twGT9bQQkhSnLA/TjBKdajTE1KXXFhw9NUqs9LBSH+DaYQGnHIvbUe /cie5dOEvZ90/Cmac3qQo3NorkldFTuaxIjxsB1vp8xMG55z+IobLCKruuHFYFqPwjN2 2RHWjl8Rj4MA44QvAmyx5Wf1rArRDZYJMJXwYpi9fQcuBdH4kgVLH8lPN6gLe/eiX+RR 4+r/XeDMHdy20oqN2/loKjUEujEMLaY/NxvU89Tqi2RpsViqTcA+UYyBcdznpG7zgAhQ gt7x2WgBecuTccluzG0XOD7bAzgiKE104Sxenor2x3n/hfsGvenS2Gam+ajNyhMkgTTf wfoQ== X-Gm-Message-State: ALoCoQmpMvmnd49exWOxsVr1+3h0vzhFUnBT+y4ESLpaLVFWEzJZ/Z6NuFpWiSBH5JURvPL0iC6L X-Received: by 10.68.98.5 with SMTP id ee5mr60436566pbb.95.1441231856322; Wed, 02 Sep 2015 15:10:56 -0700 (PDT) Received: from nuc.gallo.pinto ([190.181.158.38]) by smtp.gmail.com with ESMTPSA id q1sm13237623pdr.46.2015.09.02.15.10.53 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 02 Sep 2015 15:10:55 -0700 (PDT) From: Daniel Drake To: corentin.chary@gmail.com, dvhart@infradead.org Cc: acelan.kao@canonical.com, carlo@endlessm.com, acpi4asus-user@lists.sourceforge.net, platform-driver-x86@vger.kernel.org Subject: [PATCH] asus-nb-wmi: Add wapf=4 quirk for X456UA/X456UF Date: Wed, 2 Sep 2015 16:10:34 -0600 Message-Id: <1441231834-12873-1-git-send-email-drake@endlessm.com> X-Mailer: git-send-email 2.1.4 Sender: platform-driver-x86-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: platform-driver-x86@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP These laptops boot with wifi as hard-blocked, with no obvious way to enable it. Using a quirk to set wapf=4 solves the problem. Signed-off-by: Daniel Drake Acked-by: Corentin Chary --- drivers/platform/x86/asus-nb-wmi.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/drivers/platform/x86/asus-nb-wmi.c b/drivers/platform/x86/asus-nb-wmi.c index abdaed3..131fee2 100644 --- a/drivers/platform/x86/asus-nb-wmi.c +++ b/drivers/platform/x86/asus-nb-wmi.c @@ -128,6 +128,24 @@ static const struct dmi_system_id asus_quirks[] = { }, { .callback = dmi_matched, + .ident = "ASUSTeK COMPUTER INC. X456UA", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), + DMI_MATCH(DMI_PRODUCT_NAME, "X456UA"), + }, + .driver_data = &quirk_asus_wapf4, + }, + { + .callback = dmi_matched, + .ident = "ASUSTeK COMPUTER INC. X456UF", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), + DMI_MATCH(DMI_PRODUCT_NAME, "X456UF"), + }, + .driver_data = &quirk_asus_wapf4, + }, + { + .callback = dmi_matched, .ident = "ASUSTeK COMPUTER INC. X501U", .matches = { DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),