From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 844EE3446CA; Wed, 8 Apr 2026 18:07:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775671659; cv=none; b=go2M7gKgf6bMTmDkgDbs3y6dbY7Ao8dB7PWjGOOZ+0gDbuEe5e2nrPru0M1aY6uXyvtJQ31WZjnMfboYlRmUJy21U1dm/4jnNgSmvqSiK5n3JJcwMO316627I3Hc5uzjUSnfA0a6I3l1BLFJbA7TsCMr+g3ZQJuskMTUevv1MNk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775671659; c=relaxed/simple; bh=UMJUUietXxvwjO3vnPJLLzxq3ORvFePF+OymWLACZlw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=QQzPaqgQnWJ2IeDIqXojmo+UPsIaPwJK7SKxCuZGDHA//J7t1xNfqLNOau9QhY1jEoB1cdPdEVSyCpmC6rthIYGcInBppbFw192H8RCuUSGrDquntewm+Eue0wPFddXqgBnUgRK0Auq4p8YR4SOaf1K9y/GNT9qq7K+BcPk6Mlk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=hs6hNovb; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="hs6hNovb" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E6AF1C19421; Wed, 8 Apr 2026 18:07:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1775671659; bh=UMJUUietXxvwjO3vnPJLLzxq3ORvFePF+OymWLACZlw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hs6hNovbd8Bxz0+AQfU+asdE/x4qOflUjpoSFzOFoYSIzNi5QAbAu8o5ADSnt6qAO rK1NRJRwTnekoBmRdlaDd5OXMpoYID5wFqJWBasKFgmfJc82N7m9gFmsS45vN4q3fO 01JWRj5ZrsXgHkSD9bM3wZRsw7wgHYXwa9tRp2DY= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Leif Skunberg , Hans de Goede , =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= , Sasha Levin Subject: [PATCH 6.1 007/312] platform/x86: intel-hid: Enable 5-button array on ThinkPad X1 Fold 16 Gen 1 Date: Wed, 8 Apr 2026 19:58:44 +0200 Message-ID: <20260408175933.999038350@linuxfoundation.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260408175933.715315542@linuxfoundation.org> References: <20260408175933.715315542@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 6.1-stable review patch. If anyone has any objections, please let me know. ------------------ From: Leif Skunberg [ Upstream commit b38d478dad79e61e8a65931021bdfd7a71741212 ] The Lenovo ThinkPad X1 Fold 16 Gen 1 has physical volume up/down buttons that are handled through the intel-hid 5-button array interface. The firmware does not advertise 5-button array support via HEBC, so the driver relies on a DMI allowlist to enable it. Add the ThinkPad X1 Fold 16 Gen 1 to the button_array_table so the volume buttons work out of the box. Signed-off-by: Leif Skunberg Reviewed-by: Hans de Goede Link: https://patch.msgid.link/20260210085625.34380-1-diamondback@cohunt.app Reviewed-by: Ilpo Järvinen Signed-off-by: Ilpo Järvinen Signed-off-by: Sasha Levin --- drivers/platform/x86/intel/hid.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/platform/x86/intel/hid.c b/drivers/platform/x86/intel/hid.c index 6e991cfa90c15..761d88929ef97 100644 --- a/drivers/platform/x86/intel/hid.c +++ b/drivers/platform/x86/intel/hid.c @@ -102,6 +102,13 @@ static const struct dmi_system_id button_array_table[] = { DMI_MATCH(DMI_PRODUCT_FAMILY, "ThinkPad X1 Tablet Gen 2"), }, }, + { + .ident = "Lenovo ThinkPad X1 Fold 16 Gen 1", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), + DMI_MATCH(DMI_PRODUCT_FAMILY, "ThinkPad X1 Fold 16 Gen 1"), + }, + }, { .ident = "Microsoft Surface Go 3", .matches = { -- 2.51.0