From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F4156CDB482 for ; Wed, 18 Oct 2023 14:15:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344980AbjJROP3 (ORCPT ); Wed, 18 Oct 2023 10:15:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40322 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345092AbjJROOz (ORCPT ); Wed, 18 Oct 2023 10:14:55 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE2841BEE; Wed, 18 Oct 2023 07:13:34 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4C6FCC43395; Wed, 18 Oct 2023 14:13:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697638414; bh=Eq+PPVSM2rBiAVjQk6U7aACJBqCPayr1FzMmHI5I8sg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=I/ZFeV9niTdSgxPpJBDFAnWbidjhLO6/MtSA4Y52YkzPGWyw/1o3q3A6RXDTS/UCC igaMtYs9DG7DYjL+CXrEXyzTipb138HYbzaCIOvQxxfiGLF6SlzgGwGJgUtpJgCO/F 7luhQQPR8nD36zxF0gxDnnSWsseNzZSWBQioSYLZ291NeZo8xT8sJnSVvVc85JrpDq oSndYirBxgA0m/KBXcfoFVasdpzNWv7skMNsxnuHc3GdSPsFSsH02/rbbFEYP6jG2B Ib1+AlO1SL8n3fakDRDRsoXiLubJ1dRP9WsSzkPdMzM2lHcK5G1oPnNL0OTl2KekI4 V8y+m9k/Jgxow== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Hans de Goede , "Rafael J . Wysocki" , Sasha Levin , rafael@kernel.org, linux-acpi@vger.kernel.org Subject: [PATCH AUTOSEL 6.1 04/19] ACPI: EC: Add quirk for the HP Pavilion Gaming 15-dk1xxx Date: Wed, 18 Oct 2023 10:13:06 -0400 Message-Id: <20231018141323.1334898-4-sashal@kernel.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231018141323.1334898-1-sashal@kernel.org> References: <20231018141323.1334898-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 6.1.58 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Hans de Goede [ Upstream commit cd4aece493f99f95d41edcce32927d70a5dde923 ] Added GPE quirk entry for the HP Pavilion Gaming 15-dk1xxx. There is a quirk entry for 2 15-c..... laptops, this is for a new version which has 15-dk1xxx as identifier. This fixes the LID switch and rfkill and brightness hotkeys not working. Closes: https://github.com/systemd/systemd/issues/28942 Signed-off-by: Hans de Goede Signed-off-by: Rafael J. Wysocki Signed-off-by: Sasha Levin --- drivers/acpi/ec.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c index ee4c812c8f6cc..8bb233d2d1e48 100644 --- a/drivers/acpi/ec.c +++ b/drivers/acpi/ec.c @@ -1886,6 +1886,17 @@ static const struct dmi_system_id ec_dmi_table[] __initconst = { DMI_MATCH(DMI_PRODUCT_NAME, "HP 15-cx0041ur"), }, }, + { + /* + * HP Pavilion Gaming Laptop 15-dk1xxx + * https://github.com/systemd/systemd/issues/28942 + */ + .callback = ec_honor_dsdt_gpe, + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "HP"), + DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion Gaming Laptop 15-dk1xxx"), + }, + }, { /* * Samsung hardware -- 2.40.1