Message ID | 20221230055839.80885-1-tamim@fusetak.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp2747494wrt; Thu, 29 Dec 2022 22:06:12 -0800 (PST) X-Google-Smtp-Source: AMrXdXtINhQ24/Br8Ez11h2jmb25cgze9Nf4X8ub+n9X9iY00o5WUAFGdTPey5BNjMu3IWX2GdtH X-Received: by 2002:a50:fd10:0:b0:46c:97c2:8d75 with SMTP id i16-20020a50fd10000000b0046c97c28d75mr26702826eds.21.1672380372035; Thu, 29 Dec 2022 22:06:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672380372; cv=none; d=google.com; s=arc-20160816; b=kSwWBqTOfPLvca5Uwj53pCWKhqkAuZm9ha9RG4qy3ld09WefpxgDXE0aEmw+akhyP1 D95ilITScO5g3W2WjsLEYhnYzWwEFkWfEYddpFe1LwIgpzNeaSPkfyNXIA36/GBcZa1i 2grnl0VcMa1gSwTemWyf8vsftCeUjcgHaqyKb+rGc3Ut9kbspWILnhe7eptjlG4T+3FA DMKra+BXqDlffCqqfc08+Pmeb9kkjhRHALvFv9iS4F3ZBvSZoQKh4HzaqJ6g2IlouwkT vt+uMWXi5/vKFL+1fm0WuYtTItdDNvcbfi4+EcQ6un5LsVZnQSBc9w4eCptB6SB1Nn8v nSSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=+yI8IXYC+g9VQSXXRePDAV8T9sfECoiHVCxWFbYMy90=; b=U/rrXRSC7CxLGYdz4Ul2LrKQ+iJ4JdgqbORmhpxejiVSRS9pM0cBjmj+TkAi5+Ofcj PTGG+hz407UHb+gz1NitYg3HVOCadotQLu3SgvKWY0KXVehKA6iwGyD3f9ZPULBiGWgJ vr3W2aaTmtRh+UcbvJMiht0VHwp/zOFVnP7h1RtDWRTnOhxJd1al7Y+cavGUaBBkNimM amEO+Mk+ODag2uHsMstP9deiukaTsDvZdmK6b6XlXJ2CdPtN6ZVZRcUXHS32E6Lh1Zcd 1dhNqBkFjTGJR8uQCsZBQebMfQVIJ0aO01jfoj3GN0nMfOUdT5n7T/Dl9kAEUPRBZ3am hlug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fusetak.com header.s=google header.b=L8FlM01Q; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v1-20020a056402348100b004511d552be3si18975695edc.4.2022.12.29.22.05.47; Thu, 29 Dec 2022 22:06:11 -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=pass header.i=@fusetak.com header.s=google header.b=L8FlM01Q; 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 S234495AbiL3F7l (ORCPT <rfc822;cscallsign@gmail.com> + 99 others); Fri, 30 Dec 2022 00:59:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229557AbiL3F7k (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 30 Dec 2022 00:59:40 -0500 Received: from mail-io1-xd30.google.com (mail-io1-xd30.google.com [IPv6:2607:f8b0:4864:20::d30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0636BDA6 for <linux-kernel@vger.kernel.org>; Thu, 29 Dec 2022 21:59:38 -0800 (PST) Received: by mail-io1-xd30.google.com with SMTP id r72so10691669iod.5 for <linux-kernel@vger.kernel.org>; Thu, 29 Dec 2022 21:59:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fusetak.com; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=+yI8IXYC+g9VQSXXRePDAV8T9sfECoiHVCxWFbYMy90=; b=L8FlM01Qw+KPRAq4TQYCzNv9OqjVHphSzOsoBQTg8uYqT5Al8JvAZ63zYrQ3vm8FkG iDt8wlJygbG85G5Zheyj2p9VAy0VBe/zmzMIMZiLbSBneeCXrBLEvloTaNJxur6awAwT 3dwBbgn+ro659MhTRaJLNktDJEQFkLYTCqLRdyEj8TmlpfB7Wruh1kS6QEe1iB34UFwI 9d4WzBD4+7hdFBPKzEQQDCnnQCS6UxnGmklE91wF4rEY9+PE/hh9rVIzSsvB8QsB+Wry bPEAhUdfTDczcwOwTfE2ILpr72aiYxm1/0/Mox8e2ff3xOhCYix0h1HsFXl+mVAkbrJt WUgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=+yI8IXYC+g9VQSXXRePDAV8T9sfECoiHVCxWFbYMy90=; b=xXuSrsCKq3eCUFKbOyRHDJQnylpI7ZMwkHw9oaNtRW0WKI8fV4eaN5D6rW8Ik3jIkx rQupwCcPS5rQoldVijzXlKuZyq6tk65tT1VyWISQm1vA+iIqhRxj52UtJKSBtkdJQXCo eurkNWoFdsIpkU1SfZ3YiizJRuJdpAOb/LYjW0pg6lqKUDXMJUxq9gRxPZEUnY72fCS6 WzRrrV0+noGBoorh0aZk39kh66rhYmyoyD0Fktfz+Bmi6ZO/SthJoBPkigC3uvBEHx9n ZlQZOXJkWW4Bf4Xa8PO1rh/fBjFgUnhByBOKsa9FYedjh+xYpBzogGENEbZn935NndG2 zHFg== X-Gm-Message-State: AFqh2koxrw3d/cNwZAiH6qp0qRFaNAppdI5vA5FgvZ6h0SlO8FiXLeD0 Q2XlCnXbUubGVkhzAYgCfk/KOA== X-Received: by 2002:a6b:6310:0:b0:6d6:4daf:623f with SMTP id p16-20020a6b6310000000b006d64daf623fmr19420602iog.6.1672379978278; Thu, 29 Dec 2022 21:59:38 -0800 (PST) Received: from fusetakDesktop.internal.fusetak.net ([99.247.2.235]) by smtp.gmail.com with ESMTPSA id u4-20020a02cb84000000b003762308fe54sm6558942jap.93.2022.12.29.21.59.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Dec 2022 21:59:37 -0800 (PST) From: Tamim Khan <tamim@fusetak.com> To: linux-acpi@vger.kernel.org Cc: rafael@kernel.org, lenb@kernel.org, linux-kernel@vger.kernel.org, Tamim Khan <tamim@fusetak.com>, zelenat <zelenat@gmail.com> Subject: [PATCH] ACPI: resource: Skip IRQ override on Asus Expertbook B2402CBA Date: Fri, 30 Dec 2022 00:58:39 -0500 Message-Id: <20221230055839.80885-1-tamim@fusetak.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1753617921175733903?= X-GMAIL-MSGID: =?utf-8?q?1753617921175733903?= |
Series |
ACPI: resource: Skip IRQ override on Asus Expertbook B2402CBA
|
|
Commit Message
Tamim Khan
Dec. 30, 2022, 5:58 a.m. UTC
Like the Asus Expertbook B2502CBA and various Asus Vivobook laptops, the Asus Expertbook B2402CBA has an ACPI DSDT table that describes IRQ 1 as ActiveLow while the kernel overrides it to Edge_High. This prevents the keyboard from working. To fix this issue, add this laptop to the skip_override_table so that the kernel does not override IRQ 1. Link: https://bugzilla.kernel.org/show_bug.cgi?id=216864 Tested-by: zelenat <zelenat@gmail.com> Signed-off-by: Tamim Khan <tamim@fusetak.com> --- This patch is very similar to 7203481fd12b1257938519efb2460ea02b9236ee (ACPI: resource: Add Asus ExpertBook B2502 to Asus quirks) and just adds another ExpertBook that has the same IRQ override problem to the quirks list. drivers/acpi/resource.c | 7 +++++++ 1 file changed, 7 insertions(+)
Comments
On Fri, Dec 30, 2022 at 6:59 AM Tamim Khan <tamim@fusetak.com> wrote: > > Like the Asus Expertbook B2502CBA and various Asus Vivobook laptops, > the Asus Expertbook B2402CBA has an ACPI DSDT table that describes IRQ 1 > as ActiveLow while the kernel overrides it to Edge_High. This prevents the > keyboard from working. To fix this issue, add this laptop to the > skip_override_table so that the kernel does not override IRQ 1. > > Link: https://bugzilla.kernel.org/show_bug.cgi?id=216864 > Tested-by: zelenat <zelenat@gmail.com> > Signed-off-by: Tamim Khan <tamim@fusetak.com> > --- > This patch is very similar to 7203481fd12b1257938519efb2460ea02b9236ee > (ACPI: resource: Add Asus ExpertBook B2502 to Asus quirks) and just adds > another ExpertBook that has the same IRQ override problem to the quirks list. > > drivers/acpi/resource.c | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c > index 16dcd31d124f..153e3f8b446f 100644 > --- a/drivers/acpi/resource.c > +++ b/drivers/acpi/resource.c > @@ -432,6 +432,13 @@ static const struct dmi_system_id asus_laptop[] = { > DMI_MATCH(DMI_BOARD_NAME, "S5602ZA"), > }, > }, > + { > + .ident = "Asus ExpertBook B2402CBA", > + .matches = { > + DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), > + DMI_MATCH(DMI_BOARD_NAME, "B2402CBA"), > + }, > + }, > { > .ident = "Asus ExpertBook B2502", > .matches = { > -- Applied as 6.2-rc material, thanks!
diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c index 16dcd31d124f..153e3f8b446f 100644 --- a/drivers/acpi/resource.c +++ b/drivers/acpi/resource.c @@ -432,6 +432,13 @@ static const struct dmi_system_id asus_laptop[] = { DMI_MATCH(DMI_BOARD_NAME, "S5602ZA"), }, }, + { + .ident = "Asus ExpertBook B2402CBA", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), + DMI_MATCH(DMI_BOARD_NAME, "B2402CBA"), + }, + }, { .ident = "Asus ExpertBook B2502", .matches = {