This is a note to let you know that I've just added the patch titled HID: sensor-hub: Enable hid core report processing for all devices to the 6.7-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: hid-sensor-hub-enable-hid-core-report-processing-for-all-devices.patch and it can be found in the queue-6.7 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From 8e2f79f41a5d1b1a4a53ec524eb7609ca89f3c65 Mon Sep 17 00:00:00 2001 From: Yauhen Kharuzhy <jekhor@xxxxxxxxx> Date: Wed, 20 Dec 2023 01:15:03 +0200 Subject: HID: sensor-hub: Enable hid core report processing for all devices From: Yauhen Kharuzhy <jekhor@xxxxxxxxx> commit 8e2f79f41a5d1b1a4a53ec524eb7609ca89f3c65 upstream. After the commit 666cf30a589a ("HID: sensor-hub: Allow multi-function sensor devices") hub devices are claimed by hidraw driver in hid_connect(). This causes stoppping of processing HID reports by hid core due to optimization. In such case, the hid-sensor-custom driver cannot match a known custom sensor in hid_sensor_custom_get_known() because it try to check custom properties which weren't filled from the report because hid core didn't parsed it. As result, custom sensors like hinge angle sensor and LISS sensors don't work. Mark the sensor hub devices claimed by some driver to avoid hidraw-related optimizations. Fixes: 666cf30a589a ("HID: sensor-hub: Allow multi-function sensor devices") Cc: stable@xxxxxxxxxxxxxxx Signed-off-by: Yauhen Kharuzhy <jekhor@xxxxxxxxx> Tested-by: Daniel Thompson <daniel.thompson@xxxxxxxxxx> Acked-by: Srinivas Pandruvada <srinivas.pandruvada@xxxxxxxxxxxxxxx> Link: https://lore.kernel.org/r/20231219231503.1506801-1-jekhor@xxxxxxxxx Signed-off-by: Benjamin Tissoires <bentiss@xxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/hid/hid-sensor-hub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/hid/hid-sensor-hub.c +++ b/drivers/hid/hid-sensor-hub.c @@ -632,7 +632,7 @@ static int sensor_hub_probe(struct hid_d } INIT_LIST_HEAD(&hdev->inputs); - ret = hid_hw_start(hdev, HID_CONNECT_DEFAULT); + ret = hid_hw_start(hdev, HID_CONNECT_DEFAULT | HID_CONNECT_DRIVER); if (ret) { hid_err(hdev, "hw start failed\n"); return ret; Patches currently in stable-queue which might be from jekhor@xxxxxxxxx are queue-6.7/hid-sensor-hub-enable-hid-core-report-processing-for-all-devices.patch