linux-stable/drivers/input/joystick
Ismael Ferreras Morezuelas feee70f456 Input: xpad - delete a Razer DeathAdder mouse VID/PID entry
While doing my research to improve the xpad device names I noticed
that the 1532:0037 VID/PID seems to be used by the DeathAdder 2013,
so that Razer Sabertooth instance looked wrong and very suspect to
me. I didn't see any mention in the official drivers, either.

After doing more research, it turns out that the xpad list
is used by many other projects (like Steam) as-is [1], this
issue was reported [2] and Valve/Sam Lantinga fixed it [3]:

[1]: dcc5eef0e2/src/joystick/controller_type.h (L251)
[2]: https://steamcommunity.com/app/353380/discussions/0/1743392486228754770/
[3]: https://hg.libsdl.org/SDL/rev/29809f6f0271

(With multiple Internet users reporting similar issues, not linked here)

After not being able to find the correct VID/PID combination anywhere
on the Internet and not receiving any reply from Razer support I did
some additional detective work, it seems like it presents itself as
"Razer Sabertooth Gaming Controller (XBOX360)", code 1689:FE00.

Leaving us with this:
 * Razer Sabertooth (1689:fe00)
 * Razer Sabertooth Elite (24c6:5d04)
 * Razer DeathAdder 2013 (1532:0037) [note: not a gamepad]

So, to sum things up; remove this conflicting/duplicate entry:

{ 0x1532, 0x0037, "Razer Sabertooth", 0, XTYPE_XBOX360 },

As the real/correct one is already present there, even if
the Internet as a whole insists on presenting it as the
Razer Sabertooth Elite, which (by all accounts) is not:

{ 0x1689, 0xfe00, "Razer Sabertooth", 0, XTYPE_XBOX360 },

Actual change in SDL2 referencing this kernel issue:
e5e5416975

For more information of the device, take a look here:
https://github.com/xboxdrv/xboxdrv/pull/59

You can see a lsusb dump here: https://github.com/xboxdrv/xboxdrv/files/76581/Qa6dBcrv.txt

Fixes: f554f619b7 ("Input: xpad - sync device IDs with xboxdrv")
Signed-off-by: Ismael Ferreras Morezuelas <swyterzone@gmail.com>
Reviewed-by: Cameron Gutman <aicommander@gmail.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/5c12dbdb-5774-fc68-5c58-ca596383663e@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2023-05-23 14:48:23 -07:00
..
iforce Input: iforce - invert valid length check when fetching device IDs 2022-11-07 10:28:58 -08:00
a3d.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
adc-joystick.c Input: adc-joystick - add polled input device support 2022-08-17 12:32:51 -07:00
adi.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
amijoy.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
analog.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
as5011.c Input: as5011 - Convert to i2c's .probe_new() 2022-12-02 14:53:41 -08:00
cobra.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
db9.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
fsia6b.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
gamecon.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
gf2k.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
grip.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
grip_mp.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
guillemot.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
interact.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
joydump.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
Kconfig Input: joystick - fix Kconfig warning for JOYSTICK_ADC 2022-11-07 11:36:03 -08:00
magellan.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
Makefile Input: add Raspberry Pi Sense HAT joystick driver 2022-04-24 18:25:02 -07:00
maplecontrol.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
n64joy.c Input: n64joy - fix return value check in n64joy_probe() 2021-03-09 21:41:28 -08:00
psxpad-spi.c Input: pxspad - fix unused data warning when force feedback not enabled 2022-12-07 13:29:05 -08:00
pxrc.c Input: pxrc - flatten probe code 2018-07-25 19:04:19 +00:00
qwiic-joystick.c Input: add SparkFun Qwiic Joystick driver 2021-06-18 21:28:20 -07:00
sensehat-joystick.c Input: sensehat-joystick - remove unnecessary error message 2022-06-28 22:50:48 -07:00
sidewinder.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
spaceball.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
spaceorb.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
stinger.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
tmdc.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
turbografx.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
twidjoy.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
walkera0701.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
warrior.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
xpad.c Input: xpad - delete a Razer DeathAdder mouse VID/PID entry 2023-05-23 14:48:23 -07:00
zhenhua.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00