05 Oct, 2016

1 commit


07 Apr, 2016

1 commit


28 Oct, 2015

1 commit

  • Debugging input devices, specifically laptop touchpads, can be tricky
    without having the physical device handy. Here we try to remedy that
    with userio. This module allows an application to connect to a character
    device provided by the kernel, and emulate any serio device. In
    combination with userspace programs that can record PS/2 devices and
    replay them through the /dev/userio device, this allows developers to
    debug driver issues on the PS/2 level with devices simply by requesting
    a recording from the user experiencing the issue without having to have
    the physical hardware in front of them.

    Signed-off-by: Stephen Chandler Paul
    Reviewed-by: David Herrmann
    Signed-off-by: Dmitry Torokhov

    Stephen Chandler Paul
     

17 Oct, 2015

1 commit

  • Some encoders have both outputs low in stable states, others also have
    a stable state with both outputs high (half-period mode) and some have
    a stable state in all steps (quarter-period mode). The driver used to
    support the former states and with this change it can also support the
    later.

    This commit also deprecates the 'half-period' property and introduces
    a new property 'steps-per-period'. This property specifies the
    number of steps (stable states) produced by the rotary encoder
    for each GPIO period.

    Signed-off-by: Guido Martínez
    Signed-off-by: Ezequiel Garcia
    Acked-by: Rob Herring
    Signed-off-by: Dmitry Torokhov

    Ezequiel Garcia
     

14 Oct, 2015

1 commit


20 Sep, 2015

1 commit


04 Sep, 2015

1 commit


04 Aug, 2015

1 commit

  • It turns out that only Dell laptops have the separate button bits for
    v2 dualpoint sticks and that commit 92bac83dd79e ("Input: alps - non
    interleaved V2 dualpoint has separate stick button bits") causes
    regressions on Toshiba laptops.

    This commit adds a check for Dell laptops to the code for handling these
    extra button bits, fixing this regression.

    This patch has been tested on a Dell Latitude D620 to make sure that it
    does not reintroduce the original problem.

    Reported-and-tested-by: Douglas Christman
    Cc: stable@vger.kernel.org
    Signed-off-by: Hans de Goede
    Signed-off-by: Dmitry Torokhov

    Hans de Goede
     

23 Jun, 2015

1 commit


22 Apr, 2015

1 commit

  • Pull more input subsystem updates from Dmitry Torokhov:

    - an update to Atmel MXT driver that makes it functional on Google
    Pixel 2 boxes (both touchpad and touchscreen)

    - a new VMware VMMouse driver that should allow us drop X vmmouse
    driver that requires root privileges (since it accesses ioports)

    - XBox One controllers now support force feedback (rumble)

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
    Input: lm8333 - fix broken email address
    Input: cyapa - fix setting suspend scan rate
    Input: elan_i2c - fix calculating number of x and y traces.
    Input: elan_i2c - report hovering contacts
    Input: elants_i2c - zero-extend hardware ID in firmware name
    Input: alps - document separate pointstick button bits for V2 devices
    Input: atmel_mxt_ts - add support for Google Pixel 2
    Input: xpad - add rumble support for Xbox One controller
    Input: ff-core - use new debug macros
    Input: add vmmouse driver
    Input: elan_i2c - adjust for newer firmware pressure reporting

    Linus Torvalds
     

18 Apr, 2015

1 commit

  • Pull documentation updates from Jonathan Corbet:
    "Numerous fixes, the overdue removal of the i2o docs, some new Chinese
    translations, and, hopefully, the README fix that will end the flow of
    identical patches to that file"

    * tag 'docs-for-linus' of git://git.lwn.net/linux-2.6: (34 commits)
    Documentation/memcg: update memcg/kmem status
    Documentation: blackfin: Makefile: Typo building issue
    Documentation/vm/pagemap.txt: correct location of page-types tool
    Documentation/memory-barriers.txt: typo fix
    doc: Add guest_nice column to example output of `cat /proc/stat'
    Documentation/kernel-parameters: Move "eagerfpu" to its right place
    Documentation: gpio: Update ACPI part of the document to mention _DSD
    docs/completion.txt: Various tweaks and corrections
    doc: completion: context, scope and language fixes
    Documentation:Update Documentation/zh_CN/arm64/memory.txt
    Documentation:Update Documentation/zh_CN/arm64/booting.txt
    Documentation: Chinese translation of arm64/legacy_instructions.txt
    DocBook media: fix broken EIA hyperlink
    Documentation: tweak the maintainers entry
    README: Change gzip/bzip2 to xz compression format
    README: Update version number reference
    doc:pci: Fix typo in Documentation/PCI
    Documentation: drm: Use '->' when describing access through pointers.
    Documentation: Remove mentioning of block barriers
    Documentation/email-clients.txt: Fix one grammar mistake, add extra info about TB
    ...

    Linus Torvalds
     

16 Apr, 2015

1 commit


06 Apr, 2015

1 commit


01 Apr, 2015

1 commit

  • Spell out what this property means to userspace. If the property is set, all
    directional axes must be accelerometer axes, any other axes are left as-is.
    This allows an accelerometer device to e.g. have an ABS_WHEEL.

    It is not permitted to mix normal directional axes and accelerometer axes on
    the same device node.

    Signed-off-by: Peter Hutterer
    Acked-by: Jiri Kosina
    Reviewed-by: Bastien Nocera
    Signed-off-by: Dmitry Torokhov

    Peter Hutterer
     

21 Mar, 2015

1 commit

  • Currently there are only two "tools" that can be specified by a multi-touch
    driver: MT_TOOL_FINGER and MT_TOOL_PEN. In working with Elan (The touch
    vendor) and discussing their next-gen devices it seems that it will be
    useful to have more tools so that their devices can give the upper layers
    of the stack hints as to what is touching the sensor.

    In particular they have new experimental firmware that can better
    differentiate between palms vs fingertips and would like to plumb a patch
    so that we can use their hints in higher-level gesture soft- ware. The
    firmware on the device can reasonably do a better job of palm detection
    because it has access to all of the raw sensor readings as opposed to just
    the width/pressure/etc that are exposed by the driver. As such, the
    firmware can characterize what a palm looks like in much finer-grained
    detail and this change would allow such a device to share its findings with
    the kernel.

    Signed-off-by: Charlie Mooney
    Acked-by: Peter Hutterer
    Signed-off-by: Dmitry Torokhov

    Charlie Mooney
     

20 Mar, 2015

1 commit


16 Feb, 2015

1 commit


13 Dec, 2014

1 commit

  • Pull documentation update from Jonathan Corbet:
    "Here's my set of accumulated documentation changes for 3.19.

    It includes a couple of additions to the coding style document, some
    fixes for minor build problems within the documentation tree, the
    relocation of the kselftest docs, and various tweaks and additions.

    A couple of changes reach outside of Documentation/; they only make
    trivial comment changes and I did my best to get the required acks.

    Complete with a shiny signed tag this time around"

    * tag 'docs-for-linus' of git://git.lwn.net/linux-2.6:
    kobject: grammar fix
    Input: xpad - update docs to reflect current state
    Documentation: Build mic/mpssd only for x86_64
    cgroups: Documentation: fix wrong cgroupfs paths
    Documentation/email-clients.txt: add info about Claws Mail
    CodingStyle: add some more error handling guidelines
    kselftest: Move the docs to the Documentation dir
    Documentation: fix formatting to make 's' happy
    Documentation: power: Fix typo in Documentation/power
    Documentation: vm: Add 1GB large page support information
    ipv4: add kernel parameter tcpmhash_entries
    Documentation: Fix a typo in mailbox.txt
    treewide: Fix typo in Documentation/DocBook/device-drivers
    CodingStyle: Add a chapter on conditional compilation

    Linus Torvalds
     

06 Dec, 2014

1 commit

  • The last time this documentation was accurate was
    just over 8 years ago. In this time we've added
    support for two new generations of Xbox console
    controllers and dozens of third-party controllers.

    This patch unifies terminology and makes it explicit
    which model of controller a sentence refers to.

    It also expands certain sections to address the latest
    versions of Xbox controllers.

    Thus this documentation should now be useful to
    end users and not contain out-right untruths.

    This is the patch's second revision. Prior versions
    of this patch altered the driver's TODO list. That
    change has been pulled out of this documentation
    update patch.

    Signed-off-by: Daniel Dressler
    Signed-off-by: Jonathan Corbet

    Daniel Dressler
     

14 Nov, 2014

1 commit

  • A chapter is added to describe the trackpoint packets.

    A section is added to describe the behaviour of the knob crc_enabled in
    sysfs.

    The introduction of the documentation only mentioned v1/v2, but in the
    last part it already contains explanation of v3 and v4. The introduction
    is updated.

    Signed-off-by: Ulrik De Bie
    Signed-off-by: Dmitry Torokhov

    Ulrik De Bie
     

07 Aug, 2014

1 commit


24 Jul, 2014

1 commit

  • Pull input layer fixes from Dmitry Torokhov:
    "A few fixups for the input subsystem"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
    Input: document INPUT_PROP_TOPBUTTONPAD
    Input: fix defuzzing logic
    Input: sirfsoc-onkey - fix GPL v2 license string typo
    Input: st-keyscan - fix 'defined but not used' compiler warnings
    Input: synaptics - add min/max quirk for pnp-id LEN2002 (Edge E531)
    Input: i8042 - add Acer Aspire 5710 to nomux blacklist
    Input: ti_am335x_tsc - warn about incorrect spelling
    Input: wacom - cleanup multitouch code when touch_max is 2

    Linus Torvalds
     

23 Jul, 2014

1 commit


04 Jun, 2014

1 commit

  • Pull trivial tree changes from Jiri Kosina:
    "Usual pile of patches from trivial tree that make the world go round"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (23 commits)
    staging: go7007: remove reference to CONFIG_KMOD
    aic7xxx: Remove obsolete preprocessor define
    of: dma: doc fixes
    doc: fix incorrect formula to calculate CommitLimit value
    doc: Note need of bc in the kernel build from 3.10 onwards
    mm: Fix printk typo in dmapool.c
    modpost: Fix comment typo "Modules.symvers"
    Kconfig.debug: Grammar s/addition/additional/
    wimax: Spelling s/than/that/, wording s/destinatary/recipient/
    aic7xxx: Spelling s/termnation/termination/
    arm64: mm: Remove superfluous "the" in comment
    of: Spelling s/anonymouns/anonymous/
    dma: imx-sdma: Spelling s/determnine/determine/
    ath10k: Improve grammar in comments
    ath6kl: Spelling s/determnine/determine/
    of: Improve grammar for of_alias_get_id() documentation
    drm/exynos: Spelling s/contro/control/
    radio-bcm2048.c: fix wrong overflow check
    doc: printk-formats: do not mention casts for u64/s64
    doc: spelling error changes
    ...

    Linus Torvalds
     

09 May, 2014

1 commit

  • Pull input subsystem fixes from Dmitry Torokhov:
    "Just a few fixups to various drivers"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
    Input: elantech - fix touchpad initialization on Gigabyte U2442
    Input: tca8418 - fix loading this driver as a module from a device tree
    Input: bma150 - extend chip detection for bma180
    Input: atkbd - fix keyboard not working on some LG laptops
    Input: synaptics - add min/max quirk for ThinkPad Edge E431

    Linus Torvalds
     

06 May, 2014

1 commit

  • The hw_version 3 Elantech touchpad on the Gigabyte U2442 does not accept
    0x0b as initialization value for r10, this stand-alone version of the
    driver: http://planet76.com/drivers/elantech/psmouse-elantech-v6.tar.bz2

    Uses 0x03 which does work, so this means not setting bit 3 of r10 which
    sets: "Enable Real H/W Resolution In Absolute mode"

    Which will result in half the x and y resolution we get with that bit set,
    so simply not setting it everywhere is not a solution. We've been unable to
    find a way to identify touchpads where setting the bit will fail, so this
    patch uses a dmi based blacklist for this.

    https://bugzilla.kernel.org/show_bug.cgi?id=61151

    Cc: stable@vger.kernel.org
    Reported-by: Philipp Wolfer
    Tested-by: Philipp Wolfer
    Signed-off-by: Hans de Goede
    Signed-off-by: Dmitry Torokhov

    Hans de Goede
     

05 May, 2014

1 commit


21 Mar, 2014

1 commit


19 Dec, 2013

1 commit


16 Dec, 2013

2 commits


16 Oct, 2013

1 commit

  • It wasn't really clear from the gamepad-API description how ABS values are
    mapped exactly. Clarify that negative is left/up and positive is
    right/down. Unfortunately, this means I screwed up the Wii U ProController
    ABI. Anyhow, this just means we continue to have 0 compatible gamepad
    drivers in the kernel. User-space needs to fix them up, anyway, as all
    other gamepads are also incompatible.

    Signed-off-by: David Herrmann
    Signed-off-by: Dmitry Torokhov

    David Herrmann
     

04 Sep, 2013

1 commit


20 Aug, 2013

1 commit

  • Until today all gamepad input drivers report their data differently. It is
    nearly impossible to write applications for more than one device in a
    generic way. Therefore, this patch introduces a uniform gamepad API which
    will be used for all new drivers.

    Instead of mapping buttons by their labels, we now map them by position.
    This allows applications to work with any gamepad regardless of the labels
    on the buttons. Furthermore, we standardize the ABS_* codes for analog
    triggers and sticks.

    For D-Pads the long overdue BTN_DPAD_* codes are introduced. They should
    be fairly obvious how to use. To avoid confusion, the action buttons now
    have BTN_EAST/SOUTH/WEST/NORTH aliases.

    Reported-by: Todd Showalter
    Signed-off-by: David Herrmann
    Acked-by: Dmitry Torokhov
    Signed-off-by: Jiri Kosina

    David Herrmann
     

14 Jun, 2013

1 commit

  • This is effectively already in force through input_mt_init_slots, and uinput
    too ignores the actual minimum.

    Since slots are a kernel-genenerated axis only, non-zero minimums make
    little sense and are likely to cause errors. Better to treat a non-zero
    minimum as kernel bug if it ever happens.

    Signed-off-by: Peter Hutterer
    Acked-by: Benjamin Tissoires
    Signed-off-by: Henrik Rydberg

    Peter Hutterer
     

11 Mar, 2013

1 commit

  • Pull input updates from Dmitry Torokhov:
    "Except for the largish change to the ALPS driver adding "Dolphin V1"
    support and Wacom getting a new signature of yet another device, the
    rest are straightforward driver fixes."

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
    Input: mms114 - Fix regulator enable and disable paths
    Input: ads7864 - check return value of regulator enable
    Input: tc3589x-keypad - fix keymap size
    Input: wacom - add support for 0x10d
    Input: ALPS - update documentation for recent touchpad driver mods
    Input: ALPS - add "Dolphin V1" touchpad support
    Input: ALPS - remove unused argument to alps_enter_command_mode()
    Input: cypress_ps2 - fix trackpadi found in Dell XPS12

    Linus Torvalds
     

24 Feb, 2013

1 commit

  • Updated documentation for the new ALPS touchpad support submitted in two
    patchsets by Kevin Cernekee. My understanding is the most recent
    patchset '"Dolphin V2" touchpad support' may still need some work but
    Future work on the ALPS driver should not impact these documentation changes.

    See https://bugs.launchpad.net/ubuntu/+source/linux/+bug/606238

    Signed-off-by: David Turvene
    Acked-by: Kevin Cernekee
    Signed-off-by: Dmitry Torokhov

    dave turvene
     

14 Dec, 2012

1 commit

  • Pull HID subsystem updates from Jiri Kosina:

    1) Support for HID over I2C bus has been added by Benjamin Tissoires.
    ACPI device discovery is still in the works.

    2) Support for Win8 Multitiouch protocol is being added, most work done
    by Benjamin Tissoires as well

    3) EIO/ERESTARTSYS is fixed in hiddev/hidraw, fixes by Andrew Duggan
    and Jiri Kosina

    4) ION iCade driver added by Bastien Nocera

    5) Support for a couple new Roccat devices has been added by Stefan
    Achatz

    6) HID sensor hubs are now auto-detected instead of having to list all
    the VID/PID combinations in the blacklist array

    7) other random fixes and support for new device IDs

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid: (65 commits)
    HID: i2c-hid: add mutex protecting open/close race
    Revert "HID: sensors: add to special driver list"
    HID: sensors: autodetect USB HID sensor hubs
    HID: hidp: fallback to input session properly if hid is blacklisted
    HID: i2c-hid: fix ret_count check
    HID: i2c-hid: fix i2c_hid_get_raw_report count mismatches
    HID: i2c-hid: remove extra .irq field in struct i2c_hid
    HID: i2c-hid: reorder allocation/free of buffers
    HID: i2c-hid: fix memory corruption due to missing hid declaration
    HID: i2c-hid: remove superfluous include
    HID: i2c-hid: remove unneeded test in i2c_hid_remove
    HID: i2c-hid: i2c_hid_get_report may fail
    HID: i2c-hid: also call i2c_hid_free_buffers in i2c_hid_remove
    HID: i2c-hid: fix error messages
    HID: i2c-hid: fix return paths
    HID: i2c-hid: remove unused static declarations
    HID: i2c-hid: fix i2c_hid_dbg macro
    HID: i2c-hid: fix checkpatch.pl warning
    HID: i2c-hid: enhance Kconfig
    HID: i2c-hid: change I2C name
    ...

    Linus Torvalds
     

19 Nov, 2012

1 commit


15 Nov, 2012

1 commit

  • Some devices provides the actual timestamp (hid_dg_scan_time in win8 ones)
    computed by the hardware itself. This value is global to the frame and is
    not specific to the multitouch protocol.

    Signed-off-by: Benjamin Tissoires
    Reviewed-by: Henrik Rydberg
    Acked-by: Dmitry Torokhov
    Signed-off-by: Jiri Kosina

    Benjamin Tissoires