platform/x86: intel-hid: Add HP ProBook x360 440 G1 to button_array_table
Subsystems (2)
PATCH 1/1 platform/x86: intel-hid: Add HP ProBook x360 440 G1 to button_array_table
The HP ProBook x360 440 G1 convertible sends
5-button-array event codes
(0xc4/0xc5 volume-up, 0xc6/0xc7 volume-down for the side volume rocker)
to the intel-hid ACPI device (INT33D5), but it does not advertise the
array through the HEBC capability method. As a result button_array_present() returns false, the "Intel HID 5 button array"
input device is never created, and the rocker events are dropped in
notify_handler() with "intel-hid INT33D5:00: unknown event 0xc4".
Add the machine to button_array_table so the 5 button array input
device is set up, which makes the side volume rocker emit
KEY_VOLUMEUP / KEY_VOLUMEDOWN as expected.
Tested on an HP ProBook x360 440 G1: with
enable_5_button_array=1
(same code path as this quirk) the kernel logs
"platform supports 5
button array" and the rocker generates native
KEY_VOLUMEUP /
KEY_VOLUMEDOWN events.
Signed-off-by: Nikolay Metchev
<[email protected]>
From 0d3c907430f3b36e1ce17ae7a786fff78ff2d2f9 Mon Sep 17 00:00:00 2001
From: Nikolay Metchev <[email protected]>
Date: Tue, 2 Jun 2026 14:25:49 +0100
Subject: [PATCH] platform/x86: intel-hid: Add HP ProBook x360 440 G1 to
button_array_table
The HP ProBook x360 440 G1 convertible sends 5-button-array event codes (0xc4/0xc5 volume-up, 0xc6/0xc7 volume-down for the side volume rocker) to the intel-hid ACPI device (INT33D5), but it does not advertise the array through the HEBC capability method. As a result button_array_present() returns false, the "Intel HID 5 button array" input device is never created, and the rocker events are dropped in notify_handler() with "intel-hid INT33D5:00: unknown event 0xc4".
Add the machine to button_array_table so the 5 button array input device is set up, which makes the side volume rocker emit KEY_VOLUMEUP / KEY_VOLUMEDOWN as expected.
Tested on an HP ProBook x360 440 G1: with enable_5_button_array=1 (same code path as this quirk) the kernel logs "platform supports 5 button array" and the rocker generates native KEY_VOLUMEUP / KEY_VOLUMEDOWN events.
--- drivers/platform/x86/intel/hid.c | 7 +++++++ 1 file changed, 7 insertions(+)
drivers/platform/x86/intel/hid.c +7 -0
@@ -156,6 +156,13 @@ static const struct dmi_system_id button_array_table[] = { DMI_MATCH(DMI_PRODUCT_NAME, "Surface Go 4"), }, }, + { + .ident = "HP ProBook x360 440 G1", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "HP"), + DMI_MATCH(DMI_PRODUCT_NAME, "HP ProBook x360 440 G1"), + }, + }, { } };
Signature · 1 line
2.54.0
Ilpo Järvinen
maintainerQuoted 28 lines · Nikolay Metchev
The HP ProBook x360 440 G1 convertible sends
5-button-array event codes
(0xc4/0xc5 volume-up, 0xc6/0xc7 volume-down for the side volume rocker)
to the intel-hid ACPI device (INT33D5), but it does not advertise the
array through the HEBC capability method. As a resultbutton_array_present()returns false, the "Intel HID 5 button array"
input device is never created, and the rocker events are dropped in
notify_handler()with "intel-hid INT33D5:00: unknown event0xc4".Add the machine to
button_array_tableso the 5 button array input
device is set up, which makes the side volume rocker emit
KEY_VOLUMEUP/KEY_VOLUMEDOWNas expected.Tested on an HP ProBook x360 440 G1: with
enable_5_button_array=1
(same code path as this quirk) the kernel logs
"platform supports 5
button array" and the rocker generates native
KEY_VOLUMEUP/
KEY_VOLUMEDOWNevents.
Quoted 2 lines
Signed-off-by: Nikolay Metchev
<[email protected]>
Please send the patch inline, not as an attachment.
Signature · 1 line
i.
PATCH v2 1/1 platform/x86: intel-hid: Add HP ProBook x360 440 G1 to button_array_table
The volume rocker buttons on the HP ProBook x360 440 G1 convertible emit events 0xc4-0xc7 via the intel-hid ACPI device (INT33D5). These codes are only present in intel_array_keymap, which is used when the "5 button array" input device exists. On this machine button_array_present() returns false because the firmware does not advertise the array through the HEBC method, so notify_handler() routes the events to a NULL priv->array and they are dropped as "unknown event 0xc4". As a result the side volume keys do nothing.
Add the machine to button_array_table so the array device is created and the volume rocker emits KEY_VOLUMEUP / KEY_VOLUMEDOWN. This is equivalent to booting with the enable_5_button_array=1 module parameter, which was used to confirm the fix on the affected hardware.
---
Changes since v1:
- Resend the patch inline instead of as an attachment, as requested.
- No code changes.
drivers/platform/x86/intel/hid.c | 7 +++++++ 1 file changed, 7 insertions(+)
drivers/platform/x86/intel/hid.c +7 -0
@@ -156,6 +156,13 @@ static const struct dmi_system_id button_array_table[] = { DMI_MATCH(DMI_PRODUCT_NAME, "Surface Go 4"), }, }, + { + .ident = "HP ProBook x360 440 G1", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "HP"), + DMI_MATCH(DMI_PRODUCT_NAME, "HP ProBook x360 440 G1"), + }, + }, { } };
Signature · 1 line
2.54.0
Hi,
Quoted 9 lines · Nikolay Metchev
The volume rocker buttons on the HP ProBook x360 440 G1 convertible emit events 0xc4-0xc7 via the intel-hid ACPI device (INT33D5). These codes are only present in
intel_array_keymap, which is used when the "5 button array" input device exists. On this machinebutton_array_present()returns false because the firmware does not advertise the array through the HEBC method, sonotify_handler()routes the events to a NULLpriv->arrayand they are dropped as "unknown event0xc4". As a result the side volume keys do nothing.
Quoted 6 lines
Add the machine to
button_array_tableso the array device is created and the volume rocker emitsKEY_VOLUMEUP/KEY_VOLUMEDOWN. This is equivalent to booting with the enable_5_button_array=1 module parameter, which was used to confirm the fix on the affected hardware.Signed-off-by Nikolay Metchev <[email protected]>
Thanks, patch looks good to me:
Regards,
Hans
Quoted 26 lines
---
Changes since v1:
- Resend the patch inline instead of as an attachment, as requested.
- No code changes.drivers/platform/x86/intel/hid.c | 7 +++++++ 1 file changed, 7 insertions(+)drivers/platform/x86/intel/hid.c +7
-0@@ -156,6 +156,13 @@ static const struct dmi_system_id button_array_table[] = { DMI_MATCH(DMI_PRODUCT_NAME, "Surface Go 4"), }, }, + { + .ident = "HP ProBook x360 440 G1", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "HP"), + DMI_MATCH(DMI_PRODUCT_NAME, "HP ProBook x360 440 G1"), + }, + }, { } };
Ilpo Järvinen
maintainerQuoted 10 lines · Nikolay Metchev
The volume rocker buttons on the HP ProBook x360 440 G1 convertible emit events 0xc4-0xc7 via the intel-hid ACPI device (INT33D5). These codes are only present in
intel_array_keymap, which is used when the "5 button array" input device exists. On this machinebutton_array_present()returns false because the firmware does not advertise the array through the HEBC method, sonotify_handler()routes the events to a NULLpriv->arrayand they are dropped as "unknown event0xc4". As a result the side volume keys do nothing.[...]
Thank you for your contribution, it has been applied to my local review-ilpo-next branch. Note it will show up in the public platform-drivers-x86/review-ilpo-next branch only once I've pushed my local branch there, which might take a while.
The list of commits applied:
[1/1] platform/x86: intel-hid: Add HP ProBook x360 440 G1 to button_array_table
commit: c39023ca9a447f09c072080efc84d6874c2275c9
--
i.