HID: support for initialization of some Thrustmaster wheels
authorDario Pagani <dario.pagani.146@gmail.com>
Sun, 31 Jan 2021 09:00:45 +0000 (10:00 +0100)
committerJiri Kosina <jkosina@suse.cz>
Fri, 19 Mar 2021 13:21:53 +0000 (14:21 +0100)
commitc49c33637802a2c6957a78119eb8be3b055dd9e9
tree99844a0cc4818be0fced1a7fde2a0a27ee87f8a1
parent69aea9d2843669387d100e353b5113d1adc9502f
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

[jkosina@suse.cz: renamed driver to hid-thrustmaster]
Link: https://github.com/scarburato/hid-tminit
Signed-off-by: Dario Pagani <dario.pagani.146@gmail.com>
Co-developed-by: Kim Kuparinen <kimi.h.kuparinen@gmail.com>
Signed-off-by: Kim Kuparinen <kimi.h.kuparinen@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/Kconfig
drivers/hid/Makefile
drivers/hid/hid-quirks.c
drivers/hid/hid-thrustmaster.c [new file with mode: 0644]