Siarhei Vishniakou
2deb4543e9
HID: microsoft: Add rumble support to latest xbox controllers
...
commit f5554725f30475b05b5178b998366f11ecb50c7f upstream.
Currently, rumble is only supported via bluetooth on a single xbox
controller, called 'model 1708'. On the back of the device, it's named
'wireless controller for xbox one'. However, in 2021, Microsoft released
a firmware update for this controller. As part of this update, the HID
descriptor of the device changed. The product ID was also changed from
0x02fd to 0x0b20. On this controller, rumble was supported via
hid-microsoft, which matched against the old product id (0x02fd). As a
result, the firmware update broke rumble support on this controller.
See:
https://news.xbox.com/en-us/2021/09/08/xbox-controller-firmware-update-rolling-out-to-insiders-starting-today/
The hid-microsoft driver actually supports rumble on the new firmware,
as well. So simply adding new product id is sufficient to bring back
this support.
After discussing further with the xbox team, it was pointed out that
another xbox controller, xbox elite series 2, can be supported in a
similar way.
Add rumble support for all of these devices in this patch. Two of the
devices have received firmware updates that caused their product id's to
change. Both old and new firmware versions of these devices were tested.
The tested controllers are:
1. 'wireless controller for xbox one', model 1708
2. 'xbox wireless controller', model 1914. This is also sometimes
referred to as 'xbox series S|X'.
3. 'elite series 2', model 1797.
The tested configurations are:
1. model 1708, pid 0x02fd (old firmware)
2. model 1708, pid 0x0b20 (new firmware)
3. model 1914, pid 0x0b13
4. model 1797, pid 0x0b05 (old firmware)
5. model 1797, pid 0x0b22 (new firmware)
I verified rumble support on both bluetooth and usb.
Reviewed-by: Bastien Nocera <[email protected] >
Signed-off-by: Siarhei Vishniakou <[email protected] >
Signed-off-by: Jiri Kosina <[email protected] >
Signed-off-by: Greg Kroah-Hartman <[email protected] >
2024-09-04 13:15:01 +02:00
..
i2c-hid
HID: i2c-hid: remove I2C_HID_READ_PENDING flag to prevent lock-up
2024-05-02 16:18:37 +02:00
intel-ish-hid
HID: intel-ish-hid: ipc: Add check for pci_alloc_irq_vectors
2024-06-16 13:28:36 +02:00
usbhid
hid-a4tech.c
hid-accutouch.c
hid-alps.c
HID: alps: Declare U1_UNICORN_LEGACY support
2022-08-25 11:17:57 +02:00
hid-apple.c
HID: apple: Add 2021 magic keyboard FN key mapping
2024-02-23 08:25:05 +01:00
hid-appleir.c
hid-asus.c
HID: hid-asus: add const to read-only outgoing usb buffer
2023-12-20 15:41:23 +01:00
hid-aureal.c
hid-axff.c
hid-belkin.c
hid-betopff.c
HID: betop: check shape of output reports
2023-02-06 07:52:39 +01:00
hid-bigbenff.c
hid: bigben_probe(): validate report count
2023-03-11 16:43:49 +01:00
hid-cherry.c
hid-chicony.c
HID: check for valid USB device for many HID drivers
2021-12-14 14:48:59 +01:00
hid-cmedia.c
hid-core.c
HID: core: remove unnecessary WARN_ON() in implement()
2024-07-05 09:08:16 +02:00
hid-corsair.c
HID: check for valid USB device for many HID drivers
2021-12-14 14:48:59 +01:00
hid-cougar.c
hid-cp2112.c
hid: cp2112: Fix duplicate workqueue initialization
2023-11-20 10:30:12 +01:00
hid-creative-sb0540.c
hid-cypress.c
hid-debug.c
HID: fix HID device resource race between HID core and debugging support
2023-12-08 08:44:23 +01:00
hid-dr.c
hid-elan.c
HID: elan: Fix potential double free in elan_input_configured
2022-06-14 18:11:33 +02:00
hid-elecom.c
hid-elo.c
HID: check for valid USB device for many HID drivers
2021-12-14 14:48:59 +01:00
hid-emsff.c
hid-ezkey.c
hid-gaff.c
hid-gembird.c
hid-generic.c
hid-gfrm.c
hid-google-hammer.c
HID: google: add jewel USB id
2023-06-09 10:28:59 +02:00
hid-gt683r.c
hid-gyration.c
hid-holtek-kbd.c
HID: holtek: fix slab-out-of-bounds Write in holtek_kbd_input_event
2023-10-25 11:53:23 +02:00
hid-holtek-mouse.c
HID: holtek: fix mouse probing
2021-12-29 12:23:33 +01:00
hid-holtekff.c
hid-hyperv.c
HID: hyperv: fix possible memory leak in mousevsc_probe()
2022-11-25 17:42:04 +01:00
hid-icade.c
hid-ids.h
HID: microsoft: Add rumble support to latest xbox controllers
2024-09-04 13:15:01 +02:00
hid-input.c
HID: Add Mapping for System Microphone Mute
2023-03-11 16:43:56 +01:00
hid-ite.c
HID: ite: Enable QUIRK_TOUCHPAD_ON_OFF_REPORT on Acer Aspire Switch V 10
2023-01-18 11:40:48 +01:00
hid-jabra.c
hid-kensington.c
hid-keytouch.c
hid-kye.c
hid-lcpower.c
hid-led.c
HID: hid-led: fix maximum brightness for Dream Cheeky
2022-06-14 18:11:33 +02:00
hid-lenovo.c
hid-lg.c
HID: check for valid USB device for many HID drivers
2021-12-14 14:48:59 +01:00
hid-lg.h
hid-lg2ff.c
hid-lg3ff.c
hid-lg4ff.c
HID: hid-lg4ff: Add check for empty lbuf
2022-12-14 11:30:43 +01:00
hid-lg4ff.h
hid-lgff.c
hid-logitech-dj.c
HID: logitech-dj: Fix memory leak in logi_dj_recv_switch_to_dj_mode()
2024-07-05 09:08:16 +02:00
hid-logitech-hidpp.c
HID: logitech-hidpp: Fix kernel crash on receiver USB disconnect
2023-10-25 11:53:17 +02:00
hid-macally.c
hid-magicmouse.c
HID: magicmouse: Do not set BTN_MOUSE on double report
2022-10-29 10:20:35 +02:00
hid-maltron.c
hid-mf.c
hid-microsoft.c
HID: microsoft: Add rumble support to latest xbox controllers
2024-09-04 13:15:01 +02:00
hid-monterey.c
hid-multitouch.c
HID: multitouch: Add required quirk for Synaptics 0xcddc device
2024-03-26 18:22:12 -04:00
hid-nti.c
hid-ntrig.c
hid-ortek.c
hid-penmount.c
hid-petalynx.c
hid-picolcd.h
hid-picolcd_backlight.c
hid-picolcd_cir.c
hid-picolcd_core.c
hid-picolcd_debugfs.c
hid-picolcd_fb.c
hid-picolcd_lcd.c
hid-picolcd_leds.c
hid-pl.c
hid-plantronics.c
HID: plantronics: Additional PIDs for double volume key presses quirk
2023-01-18 11:41:43 +01:00
hid-primax.c
hid-prodikeys.c
HID: check for valid USB device for many HID drivers
2021-12-14 14:48:59 +01:00
hid-quirks.c
HID: apple: Add support for the 2021 Magic Keyboard
2024-02-23 08:25:05 +01:00
hid-redragon.c
hid-retrode.c
hid-rmi.c
hid-roccat-arvo.c
HID: check for valid USB device for many HID drivers
2021-12-14 14:48:59 +01:00
hid-roccat-arvo.h
hid-roccat-common.c
hid-roccat-common.h
hid-roccat-isku.c
HID: check for valid USB device for many HID drivers
2021-12-14 14:48:59 +01:00
hid-roccat-isku.h
hid-roccat-kone.c
HID: check for valid USB device for many HID drivers
2021-12-14 14:48:59 +01:00
hid-roccat-kone.h
hid-roccat-koneplus.c
HID: check for valid USB device for many HID drivers
2021-12-14 14:48:59 +01:00
hid-roccat-koneplus.h
hid-roccat-konepure.c
HID: check for valid USB device for many HID drivers
2021-12-14 14:48:59 +01:00
hid-roccat-kovaplus.c
HID: check for valid USB device for many HID drivers
2021-12-14 14:48:59 +01:00
hid-roccat-kovaplus.h
hid-roccat-lua.c
HID: check for valid USB device for many HID drivers
2021-12-14 14:48:59 +01:00
hid-roccat-lua.h
hid-roccat-pyra.c
HID: check for valid USB device for many HID drivers
2021-12-14 14:48:59 +01:00
hid-roccat-pyra.h
hid-roccat-ryos.c
HID: check for valid USB device for many HID drivers
2021-12-14 14:48:59 +01:00
hid-roccat-savu.c
HID: check for valid USB device for many HID drivers
2021-12-14 14:48:59 +01:00
hid-roccat-savu.h
hid-roccat.c
HID: roccat: Fix use-after-free in roccat_read()
2022-10-26 13:22:57 +02:00
hid-saitek.c
HID: saitek: add madcatz variant of MMO7 mouse device ID
2022-11-10 17:57:53 +01:00
hid-samsung.c
HID: check for valid USB device for many HID drivers
2021-12-14 14:48:59 +01:00
hid-sensor-custom.c
HID: hid-sensor-custom: set fixed size for custom attributes
2023-01-18 11:41:04 +01:00
hid-sensor-hub.c
hid-sjoy.c
hid-sony.c
hid-speedlink.c
hid-steam.c
HID: steam: Prevent NULL pointer dereference in steam_{recv,send}_report
2022-09-05 10:27:45 +02:00
hid-steelseries.c
hid-sunplus.c
hid-tivo.c
hid-tmff.c
hid-topseed.c
hid-twinhan.c
hid-u2fzero.c
HID: add hid_is_usb() function to make it simpler for USB detection
2021-12-14 14:48:58 +01:00
hid-uclogic-core.c
HID: uclogic: Add HID_QUIRK_HIDINPUT_FORCE quirk
2023-01-18 11:40:48 +01:00
hid-uclogic-params.c
HID: hid-uclogic-params: Invalid parameter check in uclogic_params_frame_init_v1_buttonpad
2022-01-27 09:19:36 +01:00
hid-uclogic-params.h
hid-uclogic-rdesc.c
hid-uclogic-rdesc.h
hid-udraw-ps3.c
hid-viewsonic.c
hid-waltop.c
hid-wiimote-core.c
hid-wiimote-debug.c
hid-wiimote-modules.c
hid-wiimote.h
hid-xinmo.c
hid-zpff.c
hid-zydacron.c
hidraw.c
HID: hidraw: fix memory leak in hidraw_release()
2022-09-05 10:27:45 +02:00
Kconfig
HID: asus: Add depends on USB_HID to HID_ASUS Kconfig option
2022-01-05 12:37:43 +01:00
Makefile
uhid.c
HID: uhid: Over-ride the default maximum data buffer value with our own
2023-03-22 13:28:10 +01:00
wacom.h
HID: wacom: remove the battery when the EKR is off
2023-09-23 10:59:37 +02:00
wacom_sys.c
HID: wacom: Do not register input devices until after hid_hw_start
2024-02-23 08:25:10 +01:00
wacom_wac.c
HID: wacom: Defer calculation of resolution until resolution_code is known
2024-09-04 13:15:01 +02:00
wacom_wac.h
HID: wacom: remove the battery when the EKR is off
2023-09-23 10:59:37 +02:00