From nobody Sat Apr 18 06:54:51 2026 Received: from mail-05.mail-europe.com (mail-05.mail-europe.com [85.9.206.169]) (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 0A0C433CEA2 for ; Tue, 10 Feb 2026 08:25:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=85.9.206.169 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770711908; cv=none; b=skihza0Iaao7hvNXYoTOz5fQV4dn1eccp1S90oeZ+b+e6xq46ZYbfdVqYaFLoh/tV4vznc2J0l7E8DkQakNkrrB6OXpz2KDgCjMs59cglf0YCXC8p7ip7hDdPS5mPy1f/xZdC67AMR6yLez5Mqrw7TxeNZ0HRw4FDM/EHVXbb/I= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770711908; c=relaxed/simple; bh=ivJ5+UsFGsqT0C/3r/DKn+KMqeA79eDBfsZLUJBfcgA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=RAeJgwoDIjwOifwWExAdWI+IMObGwRLEruTkEkrEIXE+87ygXwmkQgWYMwsuu8xi/pTAb63++TnUb01rbsyhALDTIavFCag7JlhbjKWaLWhfjKYKAyBD8lD3+UsghBW31gaaxPHjImMTMYI92V6AGMPsKl7rSkmiaaexxUhlpI4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=cohunt.app; spf=fail smtp.mailfrom=cohunt.app; dkim=pass (2048-bit key) header.d=cohunt.app header.i=@cohunt.app header.b=RhGTz0Yx; arc=none smtp.client-ip=85.9.206.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=cohunt.app Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=cohunt.app Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=cohunt.app header.i=@cohunt.app header.b="RhGTz0Yx" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cohunt.app; s=protonmail2; t=1770711896; x=1770971096; bh=JaoEVFCwEd4HXaq+2z5SaJdP0sEWBAPL/8mv4fSCrZA=; h=From:To:Cc:Subject:Date:Message-ID:From:To:Cc:Date:Subject: Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=RhGTz0Yxwc1xiXdrZAewwL/bcL8AGaf+ndBd12S3avH2tzcjwzQLaYjVuvJS4OGLv Y9C/0C1j2z5cuGd1jcg95eldiT5mIDYKFUwR++qhI8KBn7wdLmGGPRqqdYTffF8GZi 4MHXRkzavubAKwrn7Ie5bDizJXrsfQCShugAsCEHKq0Gysx9fnAwjB458y2VsJOb4+ i4Ao4OKYpiM8bTo9OqrcrtBLGZ1NJd27XxXyBwKpw48x/vduZfP1pfpSOki0s/i809 lQeyZUkN0iXam3RomAYMXu5hA8lm/2cZrmOJfKDFNqT+O9N6cpbPdSVwgnv59vo+UV e0aOTlOv7M9VA== X-Pm-Submission-Id: 4f9F3n6yCGz2Sd4c From: Leif Skunberg To: hdegoede@redhat.com Cc: platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, Leif Skunberg Subject: [PATCH] platform/x86: intel-hid: Enable 5-button array on ThinkPad X1 Fold 16 Gen 1 Date: Tue, 10 Feb 2026 09:24:48 +0100 Message-ID: <20260210082448.30335-1-diamondback@cohunt.app> X-Mailer: git-send-email 2.53.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 --- 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 560cc0631..6f059740f 100644 --- a/drivers/platform/x86/intel/hid.c +++ b/drivers/platform/x86/intel/hid.c @@ -135,6 +135,13 @@ static const struct dmi_system_id button_array_table[]= =3D { DMI_MATCH(DMI_PRODUCT_FAMILY, "ThinkPad X1 Tablet Gen 2"), }, }, + { + .ident =3D "Lenovo ThinkPad X1 Fold 16 Gen 1", + .matches =3D { + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), + DMI_MATCH(DMI_PRODUCT_FAMILY, "ThinkPad X1 Fold 16 Gen 1"), + }, + }, { .ident =3D "Microsoft Surface Go 3", .matches =3D { --=20 2.53.0