Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp5909885rwl; Tue, 11 Apr 2023 11:41:24 -0700 (PDT) X-Google-Smtp-Source: AKy350YbAdHo6GZKGk3+FhNGTn0SWyn4m9P/cSgizxfLlDBueZxNWF7/AZSCi4kij7AvlCxy66De X-Received: by 2002:a17:902:c94e:b0:1a6:67e1:4d2c with SMTP id i14-20020a170902c94e00b001a667e14d2cmr702981pla.6.1681238484386; Tue, 11 Apr 2023 11:41:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681238484; cv=none; d=google.com; s=arc-20160816; b=iM4M17rNCMMHw+EQ/WBZ4GEOOqcRXkALnvgZXpzEbIHsTXdZuB7Z2c2kbEwG1ncTvH To+BdEFh191fZPsYRMSCjVa34AHsWZ5hIUXC4RqQsNkCf7N4AsFByfMys+m//sGMYIqw ug+D29GMdapUCtqC2VD0aQ2K8KMSRLN2gj0Fh5LR/pwlHkTBZxhTbgJfUU8DxJSKJnuY ATKe+kpkr4tAOgM4deiMZhYfAPTMJFpFD/PmBFChUVQOu+/+SbXv5t2dLkUgdNmI6SDj mNOp4C9TA2u5qnnewpHJCEeAz0rE9Qtw+SVBqj9zD8E1wa+q73hZ6P4/dsUIWw4g50/A 2Ecg== 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; bh=3Nl9gDZnYgNKDlNA9+Rsj5OmXEU77zH5X62kuV6bDsQ=; b=Q5oNKlApiNjAgO3RRExMUhxhWeUa6iZAXuyUQDmv464mW6KgTCTj05Bsnh+S6Bb/jS dZVA01lowcWW4SxjfIz1949S6HMyeA6fnScZuqxH737TPaAInBP6o391+SLMvNce8L5s C4G5WsPxrrr3AfO5xT65KLfdHeq4/HVSEWt5dNknetgj62tCTTz5Qu+HCMCZetwKpOae tsnTIQPzbivoDvR5jvu54r6XOFrx8ciwljJbvC/g28EnNa5WWRRJCfMRvEfiOOIzB8m6 BeCctCTXpF4q8U1+qc3k8JE8iX7sreRx3DeHX5GW5w4dDnblnRYbl71eEPQkkbWS3zON zqNw== ARC-Authentication-Results: i=1; mx.google.com; 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 z2-20020a631902000000b0050f6aaf7f27si14394030pgl.331.2023.04.11.11.41.12; Tue, 11 Apr 2023 11:41:24 -0700 (PDT) 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; 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 S229690AbjDKScD (ORCPT + 99 others); Tue, 11 Apr 2023 14:32:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229450AbjDKScC (ORCPT ); Tue, 11 Apr 2023 14:32:02 -0400 Received: from mx3.molgen.mpg.de (mx3.molgen.mpg.de [141.14.17.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A7D3FEA; Tue, 11 Apr 2023 11:32:00 -0700 (PDT) Received: from ersatz.. (ip5f5aebef.dynamic.kabel-deutschland.de [95.90.235.239]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id 877BC61E4052B; Tue, 11 Apr 2023 20:31:57 +0200 (CEST) From: Paul Menzel To: "Rafael J. Wysocki" , Len Brown Cc: Paul Menzel , lore982@yahoo.com, Tamim Khan , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] ACPI: resource: Skip IRQ override on ASUS ExpertBook B1502CBA Date: Tue, 11 Apr 2023 20:31:44 +0200 Message-Id: <20230411183144.6932-1-pmenzel@molgen.mpg.de> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 Like the ASUS ExpertBook B2502CBA and various ASUS Vivobook laptops, the ASUS ExpertBook B1502CBA has an ACPI DSDT table that describes IRQ 1 as ActiveLow while the kernel overrides it to Edge_High. $ sudo dmesg | grep DMI DMI: ASUSTeK COMPUTER INC. ASUS EXPERTBOOK B1502CBA_B1502CBA/B1502CBA, BIOS B1502CBA.300 01/18/2023 $ grep -A 40 PS2K dsdt.dsl | grep IRQ -A 1 IRQ (Level, ActiveLow, Exclusive, ) {1} 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=217323 Cc: lore982@yahoo.com Cc: Tamim Khan Signed-off-by: Paul Menzel --- drivers/acpi/resource.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c index a222bda7e15b..cade3a9e38bb 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 B1502CBA", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), + DMI_MATCH(DMI_BOARD_NAME, "B1502CBA"), + }, + }, { .ident = "Asus ExpertBook B2402CBA", .matches = { -- 2.40.0