<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/input/joystick, branch v6.4</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v6.4</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v6.4'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2023-05-23T21:48:23Z</updated>
<entry>
<title>Input: xpad - delete a Razer DeathAdder mouse VID/PID entry</title>
<updated>2023-05-23T21:48:23Z</updated>
<author>
<name>Ismael Ferreras Morezuelas</name>
<email>swyterzone@gmail.com</email>
</author>
<published>2023-05-23T21:45:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=feee70f4568650cf44c573488798ffc0a2faeea3'/>
<id>urn:sha1:feee70f4568650cf44c573488798ffc0a2faeea3</id>
<content type='text'>
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]: https://github.com/libsdl-org/SDL/blob/dcc5eef0e2395854b254ea2873a4899edab347c6/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:
https://github.com/libsdl-org/SDL/commit/e5e54169754ca5d3e86339d968b20126d9da0a15

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: f554f619b70 ("Input: xpad - sync device IDs with xboxdrv")
Signed-off-by: Ismael Ferreras Morezuelas &lt;swyterzone@gmail.com&gt;
Reviewed-by: Cameron Gutman &lt;aicommander@gmail.com&gt;
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/5c12dbdb-5774-fc68-5c58-ca596383663e@gmail.com
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;</content>
</entry>
<entry>
<title>Merge branch 'next' into for-linus</title>
<updated>2023-05-01T22:20:08Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2023-05-01T22:20:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e'/>
<id>urn:sha1:9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e</id>
<content type='text'>
Prepare input updates for 6.4 merge window.
</content>
</entry>
<entry>
<title>Revert "Input: xpad - fix support for some third-party controllers"</title>
<updated>2023-05-01T22:14:06Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2023-05-01T22:11:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=53bea86b5712c7491bb3dae12e271666df0a308c'/>
<id>urn:sha1:53bea86b5712c7491bb3dae12e271666df0a308c</id>
<content type='text'>
This reverts commit db7220c48d8d71476f881a7ae1285e1df4105409 because it
causes crashes when trying to dereference xpad-&gt;dev-&gt;dev in xpad_probe()
which has not been set up yet.

Reported-by: syzbot+a3f758b8d8cb7e49afec@syzkaller.appspotmail.com
Reported-by: Dongliang Mu &lt;dzm91@hust.edu.cn&gt;
Link: https://groups.google.com/g/syzkaller-bugs/c/iMhTgpGuIbM
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: xpad - fix PowerA EnWired Controller guide button</title>
<updated>2023-04-14T07:02:55Z</updated>
<author>
<name>Vicki Pfau</name>
<email>vi@endrift.com</email>
</author>
<published>2023-04-14T06:58:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=cf5950187319346d7cdc62522f90479dfefd9235'/>
<id>urn:sha1:cf5950187319346d7cdc62522f90479dfefd9235</id>
<content type='text'>
This commit explicitly disables the audio interface the same way the official
driver does. This is needed for some controllers, such as the PowerA Enhanced
Wired Controller for Series X|S (0x20d6:0x200e) to report the guide button.

Signed-off-by: Vicki Pfau &lt;vi@endrift.com&gt;
Link: https://lore.kernel.org/r/20230411031650.960322-3-vi@endrift.com
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: xpad - add constants for GIP interface numbers</title>
<updated>2023-04-14T07:02:53Z</updated>
<author>
<name>Vicki Pfau</name>
<email>vi@endrift.com</email>
</author>
<published>2023-04-14T06:57:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f9b2e603c6216824e34dc9a67205d98ccc9a41ca'/>
<id>urn:sha1:f9b2e603c6216824e34dc9a67205d98ccc9a41ca</id>
<content type='text'>
Wired GIP devices present multiple interfaces with the same USB identification
other than the interface number. This adds constants for differentiating two of
them and uses them where appropriate

Signed-off-by: Vicki Pfau &lt;vi@endrift.com&gt;
Link: https://lore.kernel.org/r/20230411031650.960322-2-vi@endrift.com
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: xpad - fix support for some third-party controllers</title>
<updated>2023-04-02T03:28:07Z</updated>
<author>
<name>Vicki Pfau</name>
<email>vi@endrift.com</email>
</author>
<published>2023-03-24T17:42:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=db7220c48d8d71476f881a7ae1285e1df4105409'/>
<id>urn:sha1:db7220c48d8d71476f881a7ae1285e1df4105409</id>
<content type='text'>
Some third-party controllers, such as the HORPIAD FPS for Nintendo Switch and
Gamesir-G3w, require a specific packet that the first-party XInput driver sends
before it will start sending reports. It's not currently known what this packet
does, but since the first-party driver always sends it's unlikely that this
could cause issues with existing controllers.

Co-authored-by: Andrey Smirnov &lt;andrew.smirnov@gmail.com&gt;
Signed-off-by: Vicki Pfau &lt;vi@endrift.com&gt;
Link: https://lore.kernel.org/r/20230324040446.3487725-3-vi@endrift.com
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: xpad - treat Qanba controllers as Xbox360 controllers</title>
<updated>2023-04-02T03:26:06Z</updated>
<author>
<name>Pierre-Loup A. Griffais</name>
<email>pgriffais@valvesoftware.com</email>
</author>
<published>2023-03-24T17:40:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=8fb1bcd0baffd42fc44e6fb6f0633914cd48ec8d'/>
<id>urn:sha1:8fb1bcd0baffd42fc44e6fb6f0633914cd48ec8d</id>
<content type='text'>
They act that way in PC mode.

Reviewed-by: Lyude Paul &lt;lyude@redhat.com&gt;
Signed-off-by: Pierre-Loup A. Griffais &lt;pgriffais@valvesoftware.com&gt;
Signed-off-by: Vicki Pfau &lt;vi@endrift.com&gt;
Link: https://lore.kernel.org/r/20230324040446.3487725-2-vi@endrift.com
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: xpad - add VID for Turtle Beach controllers</title>
<updated>2023-03-24T01:50:55Z</updated>
<author>
<name>Vicki Pfau</name>
<email>vi@endrift.com</email>
</author>
<published>2023-03-24T01:32:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=1999a6b12a3b5c8953fc9ec74863ebc75a1b851d'/>
<id>urn:sha1:1999a6b12a3b5c8953fc9ec74863ebc75a1b851d</id>
<content type='text'>
This adds support for the Turtle Beach REACT-R and Recon Xbox controllers

Signed-off-by: Vicki Pfau &lt;vi@endrift.com&gt;
Link: https://lore.kernel.org/r/20230225012147.276489-4-vi@endrift.com
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: xpad - remove unused field in VID/PID table</title>
<updated>2023-03-24T01:50:54Z</updated>
<author>
<name>Vicki Pfau</name>
<email>vi@endrift.com</email>
</author>
<published>2023-03-24T01:31:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=907d73bc0b0a00a9cc3254d14351fc239899473f'/>
<id>urn:sha1:907d73bc0b0a00a9cc3254d14351fc239899473f</id>
<content type='text'>
The list of specific VID/PID combinations for various controllers recently
added a new field "xtype". However, this field isn't used, nor filled in
the table itself, and was likely added by mistake and overlooked during
review.  Since this field isn't used, it's safe to remove.

Signed-off-by: Vicki Pfau &lt;vi@endrift.com&gt;
Link: https://lore.kernel.org/r/20230225012147.276489-3-vi@endrift.com
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: xpad - fix incorrectly applied patch for MAP_PROFILE_BUTTON</title>
<updated>2023-03-20T04:35:19Z</updated>
<author>
<name>Matthias Benkmann</name>
<email>matthias.benkmann@gmail.com</email>
</author>
<published>2023-03-20T04:30:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ffa6206ebf8d39e83d87ac226df68dbbe155819a'/>
<id>urn:sha1:ffa6206ebf8d39e83d87ac226df68dbbe155819a</id>
<content type='text'>
When commit commit fff1011a26d6 ("Input: xpad - add X-Box Adaptive Profile
button") was applied, one hunk ended up in the wrong function; move it to
where it belongs.

Fixes: fff1011a26d6 ("Input: xpad - add X-Box Adaptive Profile button")
Signed-off-by: Matthias Benkmann &lt;matthias.benkmann@gmail.com&gt;
Link: https://lore.kernel.org/r/20230318162106.0aef4ba5@ninja
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
</feed>
