]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
platform/x86: intel-hid: Add HP ProBook x360 440 G1 to button_array_table
authorNikolay Metchev <nikolaymetchev@gmail.com>
Tue, 9 Jun 2026 21:33:09 +0000 (22:33 +0100)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Wed, 10 Jun 2026 11:08:42 +0000 (14:08 +0300)
commitc39023ca9a447f09c072080efc84d6874c2275c9
tree0684311f104634d41cf7b48edf08ff986a5689c9
parentd29cce4dde5411b0844bfcd6f81f9a61777cdb35
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.

Signed-off-by: Nikolay Metchev <nikolaymetchev@gmail.com>
Reviewed-by: Hans de Goede <johannes.goede@oss.qualcomm.com>
Link: https://patch.msgid.link/20260609213309.445019-1-nikolaymetchev@gmail.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/intel/hid.c