Skip to content

Commit c49c336

Browse files
scarburatoJiri Kosina
authored andcommitted
HID: support for initialization of some Thrustmaster wheels
Add support for proper initialization of some Thrustmaster wheels that appear like a "Thrustmaster FFB Wheel" (044f:b65d) to the host. When the device is connected a special usb request is sent, this request makes the wheel disconnect and reappear to the host as the "real wheel". For example: a T150 will re-appear as 044f:b677 and a T300 as 044f:b66e [[email protected]: renamed driver to hid-thrustmaster] Link: https://github.com/scarburato/hid-tminit Signed-off-by: Dario Pagani <[email protected]> Co-developed-by: Kim Kuparinen <[email protected]> Signed-off-by: Kim Kuparinen <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent 69aea9d commit c49c336

File tree

4 files changed

+378
-3
lines changed

4 files changed

+378
-3
lines changed

drivers/hid/Kconfig

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1044,8 +1044,9 @@ config HID_THRUSTMASTER
10441044
tristate "ThrustMaster devices support"
10451045
depends on HID
10461046
help
1047-
Say Y here if you have a THRUSTMASTER FireStore Dual Power 2 or
1048-
a THRUSTMASTER Ferrari GT Rumble Wheel.
1047+
Say Y here if you have a THRUSTMASTER FireStore Dual Power 2,
1048+
a THRUSTMASTER Ferrari GT Rumble Wheel or Thrustmaster FFB
1049+
Wheel (T150RS, T300RS, T300 Ferrari Alcantara Edition, T500RS).
10491050

10501051
config THRUSTMASTER_FF
10511052
bool "ThrustMaster devices force feedback support"

drivers/hid/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ obj-$(CONFIG_HID_STEAM) += hid-steam.o
112112
obj-$(CONFIG_HID_STEELSERIES) += hid-steelseries.o
113113
obj-$(CONFIG_HID_SUNPLUS) += hid-sunplus.o
114114
obj-$(CONFIG_HID_GREENASIA) += hid-gaff.o
115-
obj-$(CONFIG_HID_THRUSTMASTER) += hid-tmff.o
115+
obj-$(CONFIG_HID_THRUSTMASTER) += hid-tmff.o hid-thrustmaster.o
116+
obj-$(CONFIG_HID_TMINIT) += hid-tminit.o
116117
obj-$(CONFIG_HID_TIVO) += hid-tivo.o
117118
obj-$(CONFIG_HID_TOPSEED) += hid-topseed.o
118119
obj-$(CONFIG_HID_TWINHAN) += hid-twinhan.o

drivers/hid/hid-quirks.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -661,6 +661,9 @@ static const struct hid_device_id hid_have_special_driver[] = {
661661
{ HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb654) },
662662
{ HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb65a) },
663663
#endif
664+
#if IS_ENABLED(CONFIG_HID_TMINIT)
665+
{ HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb65d) },
666+
#endif
664667
#if IS_ENABLED(CONFIG_HID_TIVO)
665668
{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_TIVO, USB_DEVICE_ID_TIVO_SLIDE_BT) },
666669
{ HID_USB_DEVICE(USB_VENDOR_ID_TIVO, USB_DEVICE_ID_TIVO_SLIDE) },

0 commit comments

Comments
 (0)