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

    Greg Kroah-Hartman
     

17 Oct, 2014

2 commits


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

    Takashi Iwai
     

09 Sep, 2014

2 commits


15 Aug, 2014

1 commit


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

    Ted Mielczarek
     

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

    Mark Brown
     

24 Jan, 2014

1 commit


07 Jan, 2014

1 commit


03 Jan, 2014

2 commits


18 Sep, 2013

1 commit


07 Sep, 2013

1 commit


26 Aug, 2013

1 commit


25 Aug, 2013

1 commit


13 Aug, 2013

1 commit


03 Jul, 2013

1 commit


19 Jun, 2013

1 commit


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

    Arnd Bergmann
     

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
    ...

    Linus Torvalds
     

20 Feb, 2013

1 commit


05 Feb, 2013

1 commit


22 Jan, 2013

4 commits


17 Dec, 2012

2 commits


04 Dec, 2012

2 commits


24 Nov, 2012

3 commits


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

    Shubhrajyoti D
     

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

    Linus Torvalds
     

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

    Yuri Khan
     

11 Jul, 2012

1 commit