04 Sep, 2013
1 commit
-
Sync with Linus' tree to be able to apply fixup patch on top
of 9d9a04ee75 ("HID: apple: Add support for the 2013 Macbook Air")Signed-off-by: Jiri Kosina
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
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
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
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
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 well3) EIO/ERESTARTSYS is fixed in hiddev/hidraw, fixes by Andrew Duggan
and Jiri Kosina4) ION iCade driver added by Bastien Nocera
5) Support for a couple new Roccat devices has been added by Stefan
Achatz6) HID sensor hubs are now auto-detected instead of having to list all
the VID/PID combinations in the blacklist array7) 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
...
19 Nov, 2012
1 commit
-
Correct spelling typo in Documentations
Signed-off-by: Jiri Kosina
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
25 Jul, 2012
1 commit
-
This is a driver for the EDT "Polytouch" family of touch controllers
based on the FocalTech FT5x06 line of chips.Signed-off-by: Simon Budig
Reviewed-by: Henrik Rydberg
Signed-off-by: Dmitry Torokhov
05 Jul, 2012
1 commit
-
The newly released HID protocol for win8 multitouch devices is capable
of transmitting more information about each touch. In particular, it
includes details useful for touch alignment. This patch completes the
MT protocol with the ABS_MT_TOOL_X/Y events, and documents how to map
win8 devices.Cc: Stephane Chatty
Cc: Benjamin Tissoires
Cc: Peter Hutterer
Acked-by: Chase Douglas
Signed-off-by: Henrik Rydberg
31 Mar, 2012
1 commit
-
Clarify that the 'cat' command does not include the (c, 13, 32)
after it.Reported-by: Dan Jidanni Jacobson
Signed-off-by: Randy Dunlap
Cc: Dmitry Torokhov
Signed-off-by: Linus Torvalds
21 Mar, 2012
1 commit
-
Pull trivial tree from Jiri Kosina:
"It's indeed trivial -- mostly documentation updates and a bunch of
typo fixes from Masanari.There are also several linux/version.h include removals from Jesper."
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (101 commits)
kcore: fix spelling in read_kcore() comment
constify struct pci_dev * in obvious cases
Revert "char: Fix typo in viotape.c"
init: fix wording error in mm_init comment
usb: gadget: Kconfig: fix typo for 'different'
Revert "power, max8998: Include linux/module.h just once in drivers/power/max8998_charger.c"
writeback: fix fn name in writeback_inodes_sb_nr_if_idle() comment header
writeback: fix typo in the writeback_control comment
Documentation: Fix multiple typo in Documentation
tpm_tis: fix tis_lock with respect to RCU
Revert "media: Fix typo in mixer_drv.c and hdmi_drv.c"
Doc: Update numastat.txt
qla4xxx: Add missing spaces to error messages
compiler.h: Fix typo
security: struct security_operations kerneldoc fix
Documentation: broken URL in libata.tmpl
Documentation: broken URL in filesystems.tmpl
mtd: simplify return logic in do_map_probe()
mm: fix comment typo of truncate_inode_pages_range
power: bq27x00: Fix typos in comment
...
07 Mar, 2012
1 commit
-
Signed-off-by: Masanari Iida
Acked-by: Randy Dunlap
Signed-off-by: Jiri Kosina
24 Feb, 2012
1 commit
-
ALPS touchpad detection fails if some buttons of ALPS are pressed.
The reason is that the "E6" query response byte is different from
what is expected.This was tested on a Toshiba Portege R500.
Cc: stable
Signed-off-by: Akio Idehara
Tested-by: Seth Forshee
Signed-off-by: Dmitry Torokhov
02 Feb, 2012
1 commit
-
Add a section which defines the input device properties and provides
guidelines on how to use them.Signed-off-by: Henrik Rydberg
Reviewed-by: Chase Douglas
Reviewed-by: Jussi Pakkanen
Signed-off-by: Dmitry Torokhov
23 Dec, 2011
1 commit
-
- Add documentation for the Cx/Dx hardware release;
- Fix wrong register offset for retrieving button information;
- Document programming sequence for page register R/W;
- Document a couple of supported gesture IDs.Signed-off-by: Tai-hwa Liang
Signed-off-by: Dmitry Torokhov
01 Dec, 2011
1 commit
-
There exist tilt switches that simply report their tilt-state via
some gpios. The number and orientation of their axes can vary
depending on the switch used and the build of the device. Also two
or more one-axis switches could be combined to provide multi-dimensional
orientation.One example of a device using such a switch is the family of Qisda
ebook readers, where the switch provides information about the
landscape / portrait orientation of the device. The example in
Documentation/input/gpio-tilt.txt documents exactly this one-axis
device.Signed-off-by: Heiko Stuebner
Signed-off-by: Dmitry Torokhov
29 Nov, 2011
1 commit
08 Nov, 2011
2 commits
-
Also converts from using "old" and "new" to describe the already-known
protocols to using "version 1" and "version 2" to match the code.Signed-off-by: Seth Forshee
Acked-by: Chase Douglas
Signed-off-by: Dmitry Torokhov -
In preparation for new protocol support, move the protocol
information currently documented in alps.c to
Documentation/input/alps.txt, where it can be expanded without
cluttering up the driver.Signed-off-by: Seth Forshee
Acked-by: Chase Douglas
Signed-off-by: Dmitry Torokhov
27 Oct, 2011
1 commit
-
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (68 commits)
Input: adp5589-keys - add support for the ADP5585 derivatives
Input: imx_keypad - add pm suspend and resume support
Input: force feedback - potential integer wrap in input_ff_create()
Input: tsc2007 - make sure that X plate resistance is specified
Input: serio_raw - fix memory leak when closing char device
Input: serio_raw - kick clients when disconnecting port
Input: serio_raw - explicitly mark disconnected ports as dead
Input: serio_raw - fix coding style issues
Input: serio_raw - use dev_*() for messages
Input: serio_raw - use bool for boolean data
Input: serio_raw - perform proper locking when adding clients to list
Input: serio_raw - rename serio_raw_list to serio_raw_client
Input: serio_raw - use kref instead of rolling out its own refcounting
Input: psmouse - switch to using dev_*() for messages
Input: wacom - correct max Y value on medium bamboos
Input: wacom - add ABS_DISTANCE to Bamboo Pen reports
Input: wacom - remove unneeded touch pressure initialization
Input: lm8323 - wrap suspend and resume in CONFIG_PM_SLEEP
Input: ad7879-i2c - wrap suspend and resume in CONFIG_PM_SLEEP
Input: synaptics_i2c - wrap suspend and resume in CONFIG_PM_SLEEP
...
28 Sep, 2011
1 commit
-
There are numerous broken references to Documentation files (in other
Documentation files, in comments, etc.). These broken references are
caused by typo's in the references, and by renames or removals of the
Documentation files. Some broken references are simply odd.Fix these broken references, sometimes by dropping the irrelevant text
they were part of.Signed-off-by: Paul Bolle
Signed-off-by: Jiri Kosina
10 Sep, 2011
3 commits
-
v4 hardware is a true multitouch capable touchpad (up to 5 fingers).
The packet format is quite complex, please see protocol document for
reference.Signed-off-by: JJ Ding
Signed-off-by: Dmitry Torokhov -
v3 hardware's packet format is almost identical to v2 (one/three finger touch),
except when sensing two finger touch, the hardware sends 12 bytes of data.Signed-off-by: JJ Ding
Acked-by: Daniel Kurtz
Acked-by: Éric Piel
Signed-off-by: Dmitry Torokhov -
x, y values are actually 12-bit long. Also update protocol document to
reflect the change.Signed-off-by: JJ Ding
Acked-by: Daniel Kurtz
Acked-by: Éric Piel
Signed-off-by: Dmitry Torokhov
24 Aug, 2011
1 commit
-
Some devices are capable of identifying and/or tracking more contacts than
they can report to the driver. Document how a driver should handle this,
and what userspace should expect.Signed-off-by: Daniel Kurtz
Acked-by: Chase Douglas
Acked-by: Henrik Rydberg
Signed-off-by: Dmitry Torokhov
17 May, 2011
1 commit
-
For some Dell laptops, Ubuntu had a special version of the elantech
driver with more knowledge on the devices. It can be found there:
http://zinc.ubuntu.com/git?p=mid-team/hardy-netbook.git;a=blob;f=drivers/input/mouse/elantech.c;h=d0e2cafed162428f72e3654f4dda85e08ea486b3;hb=refs/heads/abi-22By inspecting the source code, and doing some test on a real hardware, I
have completed the protocol specification (especially for the 6 bytes
protocol). It also adds information about the mapping between the
version reported by the device and the protocol to use.Signed-off-by: Éric Piel
Reviewed-by: Henrik Rydberg
Signed-off-by: Dmitry Torokhov
12 May, 2011
1 commit
-
Add support for encoders that have two detents per input signal period.
Signed-off-by: Johan Hovold
Acked-by: Daniel Mack
Signed-off-by: Dmitry Torokhov
19 Apr, 2011
1 commit
-
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
Input: xen-kbdfront - fix mouse getting stuck after save/restore
Input: estimate number of events per packet
Input: evdev - indicate buffer overrun with SYN_DROPPED
Input: document event types and codes and their intended use
Input: add KEY_IMAGES specifically for AL Image Browser
Input: twl4030_keypad - fix potential NULL dereference in twl4030_kp_probe()
Input: h3600_ts - fix error handling at connect
Input: twl4030_keypad - avoid potential NULL-pointer dereference
13 Apr, 2011
2 commits
-
Add a new EV_SYN code, SYN_DROPPED, to inform the client when input
events have been dropped from the evdev input buffer due to a
buffer overrun. The client should use this event as a hint to
reset its state or ignore all following events until the next
packet begins.Signed-off-by: Jeff Brown
[dtor@mail.ru: Implement Henrik's suggestion and drop old events in
case of overflow.]
Signed-off-by: Dmitry Torokhov -
This commit adds the file Documentation/input/event-codes.txt.
Acked-by: Henrik Rydberg
Reviewed-by: Peter Hutterer
Signed-off-by: Chase Douglas
Signed-off-by: Chris Bagwell
Signed-off-by: Dmitry Torokhov
31 Mar, 2011
1 commit
-
Fixes generated by 'codespell' and manually reviewed.
Signed-off-by: Lucas De Marchi
11 Jan, 2011
1 commit
-
'features' is a bit array, not byte array
Signed-off-by: Alexander Stein
Acked-by: Anssi Hannula
Signed-off-by: Dmitry Torokhov
28 Dec, 2010
1 commit
20 Dec, 2010
1 commit
-
This patch documents the recent input-mt interface changes.
Signed-off-by: Henrik Rydberg
17 Dec, 2010
1 commit
-
Conflicts:
drivers/input/Makefile
16 Dec, 2010
1 commit
-
Touch devices capable of hovering, i.e., fingers detected a
distance from the surface, are not supported by the current
input MT protocol. This patch adds ABS_MT_DISTANCE, which may
be used to indicate the distance between the contact and the
surface.Signed-off-by: Henrik Rydberg
01 Dec, 2010
1 commit
-
Add support for CMA3000 Tri-axis accelerometer, which supports Motion
detect, Measurement and Free fall modes. CMA3000 supports both I2C/SPI
bus for communication, currently the driver supports I2C based
communication.Signed-off-by: Hemanth V
Reviewed-by: Jonathan Cameron
Reviewed-by: Sergio Aguirre
Reviewed-by: Shubhrajyoti
Signed-off-by: Dmitry Torokhov
30 Aug, 2010
1 commit
-
The doctumentation includes a brief introduction to the driver and
explanations of the filtering parameters as well as a discussion
of the need for and working of the filters.Signed-off-by: Rafi Rubin
Signed-off-by: Jiri Kosina
05 Aug, 2010
1 commit
-
* 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (48 commits)
Documentation: update broken web addresses.
fix comment typo "choosed" -> "chosen"
hostap:hostap_hw.c Fix typo in comment
Fix spelling contorller -> controller in comments
Kconfig.debug: FAIL_IO_TIMEOUT: typo Faul -> Fault
fs/Kconfig: Fix typo Userpace -> Userspace
Removing dead MACH_U300_BS26
drivers/infiniband: Remove unnecessary casts of private_data
fs/ocfs2: Remove unnecessary casts of private_data
libfc: use ARRAY_SIZE
scsi: bfa: use ARRAY_SIZE
drm: i915: use ARRAY_SIZE
drm: drm_edid: use ARRAY_SIZE
synclink: use ARRAY_SIZE
block: cciss: use ARRAY_SIZE
comment typo fixes: charater => character
fix comment typos concerning "challenge"
arm: plat-spear: fix typo in kerneldoc
reiserfs: typo comment fix
update email address
...