25 Nov, 2014
1 commit
-
The xpad wireless endpoint is not a bulk endpoint on my devices, but
rather an interrupt one, so the USB core complains when it is submitted.
I'm guessing that the author really did mean that this should be an
interrupt urb, but as there are a zillion different xpad devices out
there, let's cover out bases and handle both bulk and interrupt
endpoints just as easily.Signed-off-by: "Pierre-Loup A. Griffais"
Signed-off-by: Greg Kroah-Hartman
Cc: stable
Signed-off-by: Dmitry Torokhov
17 Oct, 2014
2 commits
-
Add Thrustmaster as Xbox 360 controller vendor. This is required for
example to make the GP XID (044f:b326) gamepad work.Signed-off-by: Tommi Rantala
Signed-off-by: Dmitry Torokhov -
Add the USB ID for the Xbox 360 Thrustmaster Ferrari 458 Racing Wheel.
Signed-off-by: Tommi Rantala
Signed-off-by: Dmitry Torokhov
12 Sep, 2014
1 commit
-
The current codes in gameport and analog joystick drivers for the time
accounting have a long-standing problem when the system is running
with CPU freq; since the timing is measured via TSC or sample counter,
the calculation isn't reliable.In this patch, as a simple fix, use the standard ktime to measure the
timing. In case where no high resolution timer is available,
use_ktime bool option is provided to both modules. Setting
use_ktime=false switches to the old methods.Tested-by: Clemens Ladisch
Signed-off-by: Takashi Iwai
Signed-off-by: Dmitry Torokhov
09 Sep, 2014
2 commits
-
The userspace xboxdrv driver knows some more device ids than the kernel.
This patch adds the missing xbox gamepads from [1] to xpad.c[1] https://github.com/Grumbel/xboxdrv/blob/master/src/xpad_device.cpp
Signed-off-by: Benjamin Valentin
Signed-off-by: Dmitry Torokhov -
The xpad driver recognizes Razer Sabertooth controllers as generic xbox
controller, while it is really a 360 controller. This patch adds pid/vid
mappings for the controller so that it is correctly recognized.Signed-off-by: Frank Razenberg
Signed-off-by: Dmitry Torokhov
15 Aug, 2014
1 commit
-
Prepare second round of input updates for 3.17.
14 Aug, 2014
1 commit
-
Xbox One controllers require an initialization message to start sending
data, so xpad_init_output becomes a required function. The Xbox One
controller does not have LEDs like the Xbox 360 controller, so that
functionality is not implemented. The format of messages controlling rumble
is currently undocumented, so rumble support is not yet implemented.Note that Xbox One controller advertises three interfaces with the same
interface class, subclass and protocol, so we have to also match against
interface number.Signed-off-by: Ted Mielczarek
Signed-off-by: Dmitry Torokhov
13 Aug, 2014
1 commit
-
As with ARM the ARMv8 architecture provides a cycle counter which can be
used to provide a high resolution time for the joystick driver and
silence the build warning that results from not having a precise timer
on ARMv8, making allmodconfig and allyesconfig quieter.Signed-off-by: Mark Brown
Signed-off-by: Dmitry Torokhov
24 Jan, 2014
1 commit
-
First round of input updates for 3.14.
07 Jan, 2014
1 commit
-
None of these files are actually using any __init type directives
and hence don't need to include . Most are just a
left over from __devinit and __cpuinit removal, or simply due to
code getting copied from one driver to the next.Signed-off-by: Paul Gortmaker
Signed-off-by: Dmitry Torokhov
03 Jan, 2014
2 commits
-
This enables the rumble force feedback on the F710 unit since
it is no longer treated as XTYPE_UNKNOWN type.Signed-off-by: Petr Sebor
Signed-off-by: Dmitry Torokhov -
When using Razer Onza controller the dpad doesn't work in many games
because D-PAD was mapped to buttons (useful for dance pads) and not to
HAT0X/Y axis.ers who really want to have it mapped to buttons can restore previous
behavior by using 'dpad_to_buttons' module option.Signed-off-by: Thomaz de Oliveira dos Reis
Signed-off-by: Dmitry Torokhov
18 Sep, 2013
1 commit
-
Merge with mainline to bring in sync changes to cyttsp4 driver.
07 Sep, 2013
1 commit
-
Merge first round of changes for 3.12 merge window.
26 Aug, 2013
1 commit
-
Signed-off-by: Nol "Mag" Archinova
Signed-off-by: Dmitry Torokhov
25 Aug, 2013
1 commit
-
Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.Signed-off-by: Wei Yongjun
Signed-off-by: Dmitry Torokhov
13 Aug, 2013
1 commit
-
Use the wrapper function for retrieving the platform data instead of
accessing dev->platform_data directly.Signed-off-by: Jingoo Han
Signed-off-by: Dmitry Torokhov
03 Jul, 2013
1 commit
-
Prepare first set of updates for 3.11 merge window.
19 Jun, 2013
1 commit
-
Added MAP_TRIGGERS_TO_BUTTONS for Mad Catz Street Fighter IV FightPad
device. This controller model was already supported by the xpad
driver, but none of the buttons work correctly without this change.Tested on kernel version 3.9.5.
Signed-off-by: Shawn Joseph
Signed-off-by: Dmitry Torokhov
15 Mar, 2013
1 commit
-
ARM normally has an accurate clock source, so
we can theoretically use analog joysticks more
accurately and at the same time avoid the
build warning#warning Precise timer not defined for this architecture.
from the joystick driver.
Now, why anybody would use that driver no ARM I have no
idea, but Ben Dooks enabled it in the s3c2410_defconfig
along with a bunch of other drivers, even though that
platform has neither ISA nor PCI support. It still
seems to be the right thing to fix this quirk.Signed-off-by: Arnd Bergmann
Cc: Dmitry Torokhov
Cc: Vojtech Pavlik
Cc: Ben Dooks
21 Feb, 2013
1 commit
-
Pull input updates from Dmitry Torokhov:
"Two new touchpad drivers - Cypress APA I2C Trackpad and Cypress PS/2
touchpad and a big update to ALPS driver from Kevin Cernekee that adds
support for "Rushmore" touchpads and paves way for adding support for
"Dolphin" touchpads.There is also a new input driver for Goldfish emulator and also
Android keyreset driver was folded into SysRq code.A few more drivers were updated with device tree bindings and others
got some small cleanups and fixes."* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (55 commits)
Input: cyttsp-spi - remove duplicate MODULE_ALIAS()
Input: tsc2005 - add MODULE_ALIAS
Input: tegra-kbc - require CONFIG_OF, remove platform data
Input: synaptics - initialize pointer emulation usage
Input: MT - do not apply filtering on emulated events
Input: bma150 - make some defines public and fix some comments
Input: bma150 - fix checking pm_runtime_get_sync() return value
Input: ALPS - enable trackstick on Rushmore touchpads
Input: ALPS - add support for "Rushmore" touchpads
Input: ALPS - make the V3 packet field decoder "pluggable"
Input: ALPS - move pixel and bitmap info into alps_data struct
Input: ALPS - fix command mode check
Input: ALPS - rework detection of Pinnacle AGx touchpads
Input: ALPS - move {addr,nibble}_command settings into alps_set_defaults()
Input: ALPS - use function pointers for different protocol handlers
Input: ALPS - rework detection sequence
Input: ALPS - introduce helper function for repeated commands
Input: ALPS - move alps_get_model() down below hw_init code
Input: ALPS - copy "model" info into alps_data struct
Input: ALPS - document the alps.h data structures
...
20 Feb, 2013
1 commit
-
Prepare first set of updates for 3.9 merge window.
05 Feb, 2013
1 commit
-
Like nm10300, tile can just use get_cycles() for this.
Signed-off-by: Chris Metcalf
22 Jan, 2013
4 commits
-
Postpone claiming the port until the device is opened, instead of doing
that when the driver is loaded.Signed-off-by: Dmitry Torokhov
-
We have been using -EBUSY where we should have used -EIO or -ENOMEM,
so let's fix that and also add some diagnostic messages.Signed-off-by: Dmitry Torokhov
-
Signed-off-by: Dmitry Torokhov
-
This will place the joystick's input device into propoer place in sysfs
hierarchy as long as th port has device assigned to it (i.e. it is not
legacy port).Signed-off-by: Dmitry Torokhov
17 Dec, 2012
2 commits
-
Prepare first set of updates for 3.8 merge window.
-
The driver's timer must be set up before enabling IRQ handler, otherwise
bad things may happen.Reported-and-tested-by: Fengguang Wu
Signed-off-by: Peter Popovec
CC: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov
04 Dec, 2012
2 commits
-
This adds VID/PID combinations for MadCatz, PDP and PowerA (new).
Removed Pelican 'TSZ' Wired Xbox 360 Controller since it's clashing with Edge
wireless Controller and I failed to confirm the PID.Signed-off-by: "Guillermo A. Amaral B."
Signed-off-by: Dmitry Torokhov -
Fixed a few minor coding style issues in xpad driver.
Signed-off-by: "Guillermo A. Amaral B."
Signed-off-by: Dmitry Torokhov
24 Nov, 2012
3 commits
-
CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.Signed-off-by: Bill Pemberton
Acked-by: Mark Brown
Signed-off-by: Dmitry Torokhov -
CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.Signed-off-by: Bill Pemberton
Acked-by: Mark Brown
Acked-by: Javier Martinez Canillas
Signed-off-by: Dmitry Torokhov -
CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed.Signed-off-by: Bill Pemberton
Acked-by: Russell King
Signed-off-by: Dmitry Torokhov
11 Oct, 2012
1 commit
-
Convert the struct i2c_msg initialization to C99 format. This makes
maintaining and editing the code simpler. Also helps once other fields
like transferred are added in future.Thanks to Julia Lawall for automating the
conversion.Signed-off-by: Shubhrajyoti D
Acked-by: Jean Delvare
Signed-off-by: Dmitry Torokhov
25 Jul, 2012
1 commit
14 Jul, 2012
1 commit
-
Pull input layer fixes from Dmitry Torokhov:
"The changes are limited to adding new VID/PID combinations to drivers
to enable support for new versions of hardware, most notably hardware
found in new MacBook Pro Retina boxes."* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
Input: xpad - add Andamiro Pump It Up pad
Input: xpad - add signature for Razer Onza Tournament Edition
Input: xpad - handle all variations of Mad Catz Beat Pad
Input: bcm5974 - Add support for 2012 MacBook Pro Retina
HID: add support for 2012 MacBook Pro Retina
13 Jul, 2012
1 commit
-
I couldn't find the vendor ID in any of the online databases, but this
mat has a Pump It Up logo on the top side of the controller compartment,
and a disclaimer stating that Andamiro will not be liable on the bottom.Signed-off-by: Yuri Khan
Signed-off-by: Dmitry Torokhov
11 Jul, 2012
1 commit
-
Signed-off-by: Ilia Katsnelson
Signed-off-by: Dmitry Torokhov