Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp6062300rwj; Wed, 21 Dec 2022 10:13:52 -0800 (PST) X-Google-Smtp-Source: AMrXdXsVgL7e5DFhZi3qj3MtWlNcgRSPIBM3un9O3PlhuqdeJ4ZlmyrcwulmQ5PJofGQTfJBHrtJ X-Received: by 2002:aa7:c30b:0:b0:47b:a6e:6ba5 with SMTP id l11-20020aa7c30b000000b0047b0a6e6ba5mr2304890edq.12.1671646432585; Wed, 21 Dec 2022 10:13:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671646432; cv=none; d=google.com; s=arc-20160816; b=Lu5KlGb0yB0eWfaDrPmijeV6tvwB2TkVSCmoN688Tq3JZDkE8rNU7OoqOCClAp21mZ /0VJnKpfaE4rYGAtTxn2U/W1bXOxpoQfYZmeD92DgnSnd7gkqNlVhS7K7BPM1h3qCMRt hDjy25luKKVPiQFIFpizfqgRcstaGtRl6oP76Ofkhivt/rzGLyNWVAAXEsDhF+ciBmRI HkvfGu5rK1tBAVjBSrKyA1w3w0EnU5KYz/7YXpCuvt+a/ZfcFDtymLLmbDAoPqtRjhu/ +6SHfK3kP/if0VbZUxCl28XKK/+JQJ3nTxxz0Dr19hoYVtpTwz4QDqdehvuvFCGbrPDS cpUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:dkim-signature :from; bh=mmDcz6KnSitfI2O2+ZDY3HzWlcBG3BCRTt/fZzYDlYM=; b=cC/aJvbHuPOw+bjZDqhkBt4leBTPxQ+8yy4EUMKrg9mVTSv2yxTsJVGD8+hmtoH5Am 4quqn3Yb4xnFnFc7TbvdGGN5cAa1zPpMMJWEA7+wbRV4zBOCNOVpM1irjcT1g7SmHzAN BUJg5/tbsdfErCLC+gpM7MeG2EpswFINy5eJG5R1kAREU39Gx56CIppDuDl62w0U9s9l qHDi+ugplku0zRQrMMMLGc9bSI1GIy72lrBQc/cmQ4yNJvWpTQmNRrWl4fI++Yqp4aZ+ FufNqBXuCg8Yi/6jblM79SU1GdGTEke1+6XoVHjPzA7nYNm4C835kz3co+ujKKrx3B1E DvwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@weissschuh.net header.s=mail header.b=Iqs1b+RI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v6-20020a056402348600b004627d582888si15257204edc.24.2022.12.21.10.13.36; Wed, 21 Dec 2022 10:13:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@weissschuh.net header.s=mail header.b=Iqs1b+RI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234565AbiLUSAL (ORCPT + 68 others); Wed, 21 Dec 2022 13:00:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230103AbiLUSAC (ORCPT ); Wed, 21 Dec 2022 13:00:02 -0500 Received: from todd.t-8ch.de (todd.t-8ch.de [IPv6:2a01:4f8:c010:41de::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 546F624BC5; Wed, 21 Dec 2022 10:00:01 -0800 (PST) From: Thomas =?utf-8?q?Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=weissschuh.net; s=mail; t=1671645598; bh=BKyn4L5rGVDIx0LQ1r4Z4c57jvx4ixuqMWSoYecKAck=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=Iqs1b+RIkAYD5w6CkJJkyw5HM+R3zTa0Nwk/7A2kjt8qDlCGnR4XB2Df1ry2/fuk4 jMR+IemR5T5gveJPq3ts40EI/+Be5Vi6tfYatI9Hop/hLi+QXgoXkXWOyGItrxtu1D TRDQE2nMqPpuarOlcFOAL4WCWRMuQGw2Laoqv1bo= Date: Wed, 21 Dec 2022 17:59:50 +0000 Subject: [PATCH 2/3] platform/x86: asus-wmi: Ignore fan on E410MA MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-Id: <20221221-asus-fan-v1-2-e07f3949725b@weissschuh.net> References: <20221221-asus-fan-v1-0-e07f3949725b@weissschuh.net> In-Reply-To: <20221221-asus-fan-v1-0-e07f3949725b@weissschuh.net> To: Corentin Chary , Hans de Goede , Mark Gross , "Luke D. Jones" Cc: acpi4asus-user@lists.sourceforge.net, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, Thomas =?utf-8?q?Wei=C3=9Fschuh?= X-Mailer: b4 0.11.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1671645591; l=1274; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=BKyn4L5rGVDIx0LQ1r4Z4c57jvx4ixuqMWSoYecKAck=; b=TPX3qg+3FekqQNnjfwWv+uM4mOthddidtLw5lc+cg3Jcs0H/Je0MNbvnWonrttIzLrzaO9GrQTLF 8ciGd5SqBEKhoGzgy/N+rGq1y3ycecsNPU3Auwhz78rQOh1bv1z/ X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The ASUS VivoBook has a fan device described in its ACPI tables but does not actually contain any physical fan. Use the quirk to inhibit fan handling. Signed-off-by: Thomas Weißschuh --- drivers/platform/x86/asus-nb-wmi.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/drivers/platform/x86/asus-nb-wmi.c b/drivers/platform/x86/asus-nb-wmi.c index c685a705b73d..5b603c686c8a 100644 --- a/drivers/platform/x86/asus-nb-wmi.c +++ b/drivers/platform/x86/asus-nb-wmi.c @@ -121,6 +121,10 @@ static struct quirk_entry quirk_asus_tablet_mode = { .tablet_switch_mode = asus_wmi_lid_flip_rog_devid, }; +static struct quirk_entry quirk_asus_ignore_fan = { + .wmi_ignore_fan = true, +}; + static int dmi_matched(const struct dmi_system_id *dmi) { pr_info("Identified laptop model '%s'\n", dmi->ident); @@ -473,6 +477,15 @@ static const struct dmi_system_id asus_quirks[] = { }, .driver_data = &quirk_asus_tablet_mode, }, + { + .callback = dmi_matched, + .ident = "ASUS VivoBook E410MA", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), + DMI_MATCH(DMI_PRODUCT_NAME, "E410MA"), + }, + .driver_data = &quirk_asus_ignore_fan, + }, {}, }; -- 2.39.0