<feed xmlns='http://www.w3.org/2005/Atom'>
<title>talos-obmc-linux/drivers/input/joystick, branch dev-4.13</title>
<subtitle>Talos™ II Linux sources for OpenBMC</subtitle>
<id>https://git.raptorcs.com/git/talos-obmc-linux/atom?h=dev-4.13</id>
<link rel='self' href='https://git.raptorcs.com/git/talos-obmc-linux/atom?h=dev-4.13'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/'/>
<updated>2017-09-27T12:43:11+00:00</updated>
<entry>
<title>Input: xpad - validate USB endpoint type during probe</title>
<updated>2017-09-27T12:43:11+00:00</updated>
<author>
<name>Cameron Gutman</name>
<email>aicommander@gmail.com</email>
</author>
<published>2017-09-12T18:27:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=be000b5d60d24b7613ad53e2c51e0fd06abfe897'/>
<id>urn:sha1:be000b5d60d24b7613ad53e2c51e0fd06abfe897</id>
<content type='text'>
commit 122d6a347329818419b032c5a1776e6b3866d9b9 upstream.

We should only see devices with interrupt endpoints. Ignore any other
endpoints that we find, so we don't send try to send them interrupt URBs
and trigger a WARN down in the USB stack.

Reported-by: Andrey Konovalov &lt;andreyknvl@google.com&gt;
Tested-by: Andrey Konovalov &lt;andreyknvl@google.com&gt;
Signed-off-by: Cameron Gutman &lt;aicommander@gmail.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>Input: xpad - fix PowerA init quirk for some gamepad models</title>
<updated>2017-08-31T18:55:11+00:00</updated>
<author>
<name>Cameron Gutman</name>
<email>aicommander@gmail.com</email>
</author>
<published>2017-08-31T18:52:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=f5308d1b83eba20e69df5e0926ba7257c8dd9074'/>
<id>urn:sha1:f5308d1b83eba20e69df5e0926ba7257c8dd9074</id>
<content type='text'>
The PowerA gamepad initialization quirk worked with the PowerA
wired gamepad I had around (0x24c6:0x543a), but a user reported [0]
that it didn't work for him, even though our gamepads shared the
same vendor and product IDs.

When I initially implemented the PowerA quirk, I wanted to avoid
actually triggering the rumble action during init. My tests showed
that my gamepad would work correctly even if it received a rumble
of 0 intensity, so that's what I went with.

Unfortunately, this apparently isn't true for all models (perhaps
a firmware difference?). This non-working gamepad seems to require
the real magic rumble packet that the Microsoft driver sends, which
actually vibrates the gamepad. To counteract this effect, I still
send the old zero-rumble PowerA quirk packet which cancels the
rumble effect before the motors can spin up enough to vibrate.

[0]: https://github.com/paroj/xpad/issues/48#issuecomment-313904867

Reported-by: Kyle Beauchamp &lt;kyleabeauchamp@gmail.com&gt;
Tested-by: Kyle Beauchamp &lt;kyleabeauchamp@gmail.com&gt;
Fixes: 81093c9848a7 ("Input: xpad - support some quirky Xbox One pads")
Cc: stable@vger.kernel.org # v4.12
Signed-off-by: Cameron Gutman &lt;aicommander@gmail.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;</content>
</entry>
<entry>
<title>Input: xpad - sync supported devices with XBCD</title>
<updated>2017-06-18T23:00:20+00:00</updated>
<author>
<name>Benjamin Valentin</name>
<email>benpicco@googlemail.com</email>
</author>
<published>2017-06-18T22:41:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=be19788c73d382f66dd3fba3c5ccef59cf12a126'/>
<id>urn:sha1:be19788c73d382f66dd3fba3c5ccef59cf12a126</id>
<content type='text'>
XBCD [0][1] is an OpenSource driver for Xbox controllers on Windows.
Later it also started supporting Xbox360 controllers (presumably before
the official Windows driver was released).

It contains a couple device IDs unknown to the Linux driver, so I extracted
those from xbcd.inf and added them to our list.

It has a special type for Wheels and I have the feeling they might need
some extra handling. They all have 'Wheel' in their name, so that
information is available for future improvements.

[0] https://www.s-config.com/xbcd-original-xbox-controllers-win10/
[1] http://www.redcl0ud.com/xbcd.html

Reviewed-by: Cameron Gutman &lt;aicommander@gmail.com&gt;
Signed-off-by: Benjamin Valentin &lt;benpicco@googlemail.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;</content>
</entry>
<entry>
<title>Input: xpad - sync supported devices with 360Controller</title>
<updated>2017-06-18T23:00:17+00:00</updated>
<author>
<name>Benjamin Valentin</name>
<email>benpicco@googlemail.com</email>
</author>
<published>2017-06-18T22:40:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=c225370e01b87d3c4ef40d98295ac0bb1e5a3116'/>
<id>urn:sha1:c225370e01b87d3c4ef40d98295ac0bb1e5a3116</id>
<content type='text'>
360Controller [0] is an OpenSource driver for Xbox/Xbox360/XboxOne
controllers on macOS.

It contains a couple device IDs unknown to the Linux driver, so I wrote a
small Python script [1] to extract them and feed them into my previous
script [2] to compare them with the IDs known to Linux.

For most devices, this information is not really needed as xpad is able to
automatically detect the type of an unknown Xbox Controller at run-time.
I've therefore stripped all the generic/vague entries.

I've excluded the Logitech G920, it's handled by a HID driver already.
I've also excluded the Scene It! Big Button IR, it's handled by an
out-of-tree driver. [3]

[0] https://github.com/360Controller/360Controller
[1] http://codepad.org/v9GyLKMq
[2] http://codepad.org/qh7jclpD
[3] https://github.com/micolous/xbox360bb

Reviewed-by: Cameron Gutman &lt;aicommander@gmail.com&gt;
Signed-off-by: Benjamin Valentin &lt;benpicco@googlemail.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;</content>
</entry>
<entry>
<title>Input: add support for PlayStation 1/2 joypads connected via SPI</title>
<updated>2017-05-10T21:35:48+00:00</updated>
<author>
<name>Tomohiro Yoshidomi</name>
<email>sylph23k@gmail.com</email>
</author>
<published>2017-05-06T20:00:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=8be193c7b1f44d3f4dcb27107df0831709c2deb1'/>
<id>urn:sha1:8be193c7b1f44d3f4dcb27107df0831709c2deb1</id>
<content type='text'>
PlayStation 1/2 joypads can be connected directly to the SPI interface.

Signed-off-by: Tomohiro Yoshidomi &lt;sylph23k@gmail.com&gt;
Acked-by: David Herrmann &lt;dh.herrmann@gmail.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: xpad - add USB IDs for Mad Catz Brawlstick and Razer Sabertooth</title>
<updated>2017-05-07T21:50:55+00:00</updated>
<author>
<name>Benjamin Valentin</name>
<email>benpicco@googlemail.com</email>
</author>
<published>2017-05-07T21:49:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=4706aa075662fe3cad29c3f49b50878de53f4f3b'/>
<id>urn:sha1:4706aa075662fe3cad29c3f49b50878de53f4f3b</id>
<content type='text'>
Add USB IDs for two more Xbox 360 controllers.

I found them in the pull requests for the xboxdrv userspace driver, which
seems abandoned.

Thanks to psychogony and mkaito for reporting the IDs there!

Signed-off-by: Benjamin Valentin &lt;benpicco@googlemail.com&gt;
Reviewed-by: Cameron Gutman &lt;aicommander@gmail.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;</content>
</entry>
<entry>
<title>Input: xpad - sync supported devices with xboxdrv</title>
<updated>2017-05-07T21:50:54+00:00</updated>
<author>
<name>Benjamin Valentin</name>
<email>benpicco@googlemail.com</email>
</author>
<published>2017-05-07T21:48:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=44bc722593201da43862b7200ee0b98155410b07'/>
<id>urn:sha1:44bc722593201da43862b7200ee0b98155410b07</id>
<content type='text'>
The userspace xboxdrv driver [0] contains some USB IDs unknown to the
kernel driver. I have created a simple script [1] to extract the missing
devices and add them to xpad.

A quick google search confirmed that all the new devices called
Fightstick/pad are Arcade-type devices [2] where the
MAP_TRIGGERS_TO_BUTTONS option should apply.

There are some similar devices in the existing device table where this
flag is not set, but I did refrain from changing those.

[0] https://github.com/xboxdrv/xboxdrv/blob/stable/src/xpad_device.cpp
[1] http://codepad.org/CHV98BNH
[2] https://www.google.com/search?q=SFxT+Fightstick+Pro&amp;tbm=isch

Signed-off-by: Benjamin Valentin &lt;benpicco@googlemail.com&gt;
Reviewed-by: Cameron Gutman &lt;aicommander@gmail.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;</content>
</entry>
<entry>
<title>Input: xpad - sort supported devices by USB ID</title>
<updated>2017-05-07T21:50:46+00:00</updated>
<author>
<name>Benjamin Valentin</name>
<email>benpicco@googlemail.com</email>
</author>
<published>2017-05-07T21:45:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=873cb582738fde338ecaeaca594560cde2ba42c3'/>
<id>urn:sha1:873cb582738fde338ecaeaca594560cde2ba42c3</id>
<content type='text'>
Some entries in the table of supported devices are out of order.
To not create a mess when adding new ones using a script, sort them first.

Signed-off-by: Benjamin Valentin &lt;benpicco@googlemail.com&gt;
Reviewed-by: Cameron Gutman &lt;aicommander@gmail.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;</content>
</entry>
<entry>
<title>Merge branch 'next' into for-linus</title>
<updated>2017-05-02T16:48:26+00:00</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2017-05-02T16:48:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=0337966d121ebebf73a1c346123e8112796e684e'/>
<id>urn:sha1:0337966d121ebebf73a1c346123e8112796e684e</id>
<content type='text'>
Prepare input updates for 4.12 merge window.
</content>
</entry>
<entry>
<title>Input: xpad - add support for Razer Wildcat gamepad</title>
<updated>2017-04-11T03:45:31+00:00</updated>
<author>
<name>Cameron Gutman</name>
<email>aicommander@gmail.com</email>
</author>
<published>2017-04-11T03:44:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=5376366886251e2f8f248704adb620a4bc4c0937'/>
<id>urn:sha1:5376366886251e2f8f248704adb620a4bc4c0937</id>
<content type='text'>
Cc: stable@vger.kernel.org
Signed-off-by: Cameron Gutman &lt;aicommander@gmail.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;</content>
</entry>
</feed>
