From patchwork Tue Mar 18 16:09:02 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Paul Menzel X-Patchwork-Id: 14021205 X-Patchwork-Delegate: rjw@sisk.pl Received: from mx3.molgen.mpg.de (mx3.molgen.mpg.de [141.14.17.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 79DBF1E8334; Tue, 18 Mar 2025 16:09:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=141.14.17.11 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742314171; cv=none; b=poDOpKs6eWLGDEoiMk9kcxaAr4AsUl8k4U9dSqNTKVzQh8CerUFeUDeFSzl9uuStMSJwzISu3WfECbjczHHId0wvo04hKZMnCpiB/Sl8JDQnJCh2drnc2GewLyRwu99j6heN8mzsgNptK7OZL/WjzTQn8ALsiEuMbRGlpGa4hRk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742314171; c=relaxed/simple; bh=xyy1nidpm2NckiLYGWHxIMTkjl1fascaNCIbAZgR9NI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=BukvHcSqTOG6gSKSnbA+DpcKfB2v48KqefB+3aKK7ILKtMFYRrKYil1WGadDychX30WyA/vDTVH3bkgqWgK5inMMGFOUGjmo6FYqHMbuGoKHNCDRzKYh1Aqlvc58BTZM27d2V75pG94pBI1Q/I12s19c6lSY0254FBokJDdvTLI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=molgen.mpg.de; spf=pass smtp.mailfrom=molgen.mpg.de; arc=none smtp.client-ip=141.14.17.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=molgen.mpg.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=molgen.mpg.de Received: from abreu.molgen.mpg.de (g43.guest.molgen.mpg.de [141.14.220.43]) (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 55D0A61CCD8A3; Tue, 18 Mar 2025 17:09:13 +0100 (CET) From: Paul Menzel To: "Rafael J. Wysocki" , Len Brown Cc: Paul Menzel , Anton Shyndin , Hans de Goede , All applicable , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] ACPI: resource: Skip IRQ override on ASUS Vivobook 14 X1404VAP Date: Tue, 18 Mar 2025 17:09:02 +0100 Message-ID: <20250318160903.77107-1-pmenzel@molgen.mpg.de> X-Mailer: git-send-email 2.49.0 Precedence: bulk X-Mailing-List: linux-acpi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Like the ASUS Vivobook X1504VAP and Vivobook X1704VAP, the ASUS Vivobook 14 X1404VAP has its keyboard IRQ (1) described as ActiveLow in the DSDT, which the kernel overrides to EdgeHigh breaking the keyboard. $ sudo dmidecode […] System Information Manufacturer: ASUSTeK COMPUTER INC. Product Name: ASUS Vivobook 14 X1404VAP_X1404VA […] $ grep -A 30 PS2K dsdt.dsl | grep IRQ -A 1 IRQ (Level, ActiveLow, Exclusive, ) {1} Add the X1404VAP to the irq1_level_low_skip_override[] quirk table to fix this. Closes: https://bugzilla.kernel.org/show_bug.cgi?id=219224 Cc: Anton Shyndin Cc: Hans de Goede Cc: All applicable Signed-off-by: Paul Menzel Reviewed-by: Hans de Goede Tested-by: Anton Shyndin --- drivers/acpi/resource.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c index b4cd14e7fa76..14c7bac4100b 100644 --- a/drivers/acpi/resource.c +++ b/drivers/acpi/resource.c @@ -440,6 +440,13 @@ static const struct dmi_system_id irq1_level_low_skip_override[] = { DMI_MATCH(DMI_BOARD_NAME, "S5602ZA"), }, }, + { + /* Asus Vivobook X1404VAP */ + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), + DMI_MATCH(DMI_BOARD_NAME, "X1404VAP"), + }, + }, { /* Asus Vivobook X1504VAP */ .matches = {