[PATCH v5 13/13] HID: haptic: Add quirk flag for Logitech MX Master 4
From: Rong Zhang
Date: Sun Nov 29 2026 - 12:59:33 EST
The Logitech MX Master 4 is a mouse with haptic feedback. Its report
descriptor mimics the example in [1], and thus declares Repeat Count and
Retrigger Period usages.
However, its retriggering functionality is completely broken. When
filling Repeat Count with a non-zero value, it simply ignores the report
and plays nothing.
Add HID_HAPTIC_QUIRK_NO_RETRIGGER for Logitech MX Master 4 to prevent
the said field from breaking the FF device.
Note that the Logitech Bolt receiver is also matched, as no other
Logitech device supports HID haptic.
Link: https://learn.microsoft.com/en-us/windows-hardware/design/component-guidelines/input-haptics-implementation-guide [1]
Signed-off-by: Rong Zhang <i@xxxxxxxx>
---
drivers/hid/hid-haptic.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/drivers/hid/hid-haptic.c b/drivers/hid/hid-haptic.c
index a8762799249c..9f2eb9caa9b6 100644
--- a/drivers/hid/hid-haptic.c
+++ b/drivers/hid/hid-haptic.c
@@ -15,8 +15,15 @@
#include <linux/types.h>
#include "hid-haptic.h"
+#include "hid-ids.h"
static const struct hid_device_id hid_haptic_quirks[] = {
+ /* Logitech MX Master 4 over Logitech Bolt receiver */
+ { HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_BOLT_RECEIVER),
+ .driver_data = HID_HAPTIC_QUIRK_NO_RETRIGGER },
+ /* Logitech MX Master 4 over Bluetooth */
+ { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb042),
+ .driver_data = HID_HAPTIC_QUIRK_NO_RETRIGGER },
{ }
};
--
2.55.0