diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-04 14:39:00 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-04 14:39:00 -0400 |
| commit | 3366dd9fa887ebbda4872e9554f853eaeda764be (patch) | |
| tree | d1bb553325b276e9d2a1bce99f3e64834b46866b | |
| parent | 697a067f1ec67f2f8dfafd0a1b95a46997a11f32 (diff) | |
| parent | 21796b39c9e876a46a353a4a9ff9881766a7c176 (diff) | |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid
Pull HID updates from Jiri Kosina:
- HID battery handling cleanup by David Herrmann
- ELO 4000/4500 driver, which has been finally ported to be proper HID
driver by Jiri Slaby
- ps3remote driver functionality is now provided by generic sony
driver, by Jiri Kosina
- PS2/3 Buzz controllers support, by Colin Leitner
- rework of wiimote driver including full extensions hotpluggin
support, sub-device modularization and speaker support by David
Herrmann
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid: (55 commits)
HID: wacom: Intuos4 battery charging changes
HID: i2c-hid: support sending HID output reports using the output register
HID: kye: Add report fixup for Genius Gila Gaming mouse
HID: wiimote: support Nintendo Wii U Pro Controller
Input: make gamepad API keycodes more clear
input: document gamepad API and add extra keycodes
HID: explain out-of-range check better
HID: fix false positive out of range values
HID: wiimote: fix coccinelle warnings
HID: roccat: check cdev_add return value
HID: fold ps3remote driver into generic Sony driver
HID: hyperv: convert alloc+memcpy to memdup
HID: core: fix reporting of raw events
HID: wiimote: discard invalid EXT data reports
HID: wiimote: fix classic controller parsing
HID: wiimote: init EXT/MP during device detection
HID: wiimote: fix DRM debug-attr to correctly parse input
HID: wiimote: add MP quirks
HID: wiimote: remove old static extension support
HID: wiimote: add "bboard_calib" attribute
...
| -rw-r--r-- | Documentation/ABI/testing/sysfs-driver-hid-wiimote | 39 | ||||
| -rw-r--r-- | drivers/hid/Kconfig | 63 | ||||
| -rw-r--r-- | drivers/hid/Makefile | 9 | ||||
| -rw-r--r-- | drivers/hid/hid-core.c | 12 | ||||
| -rw-r--r-- | drivers/hid/hid-elo.c | 273 | ||||
| -rw-r--r-- | drivers/hid/hid-holtek-mouse.c | 77 | ||||
| -rw-r--r-- | drivers/hid/hid-huion.c | 177 | ||||
| -rw-r--r-- | drivers/hid/hid-hyperv.c | 4 | ||||
| -rw-r--r-- | drivers/hid/hid-ids.h | 22 | ||||
| -rw-r--r-- | drivers/hid/hid-input.c | 11 | ||||
| -rw-r--r-- | drivers/hid/hid-kye.c | 21 | ||||
| -rw-r--r-- | drivers/hid/hid-multitouch.c | 34 | ||||
| -rw-r--r-- | drivers/hid/hid-ps3remote.c | 204 | ||||
| -rw-r--r-- | drivers/hid/hid-roccat.c | 16 | ||||
| -rw-r--r-- | drivers/hid/hid-sony.c | 473 | ||||
| -rw-r--r-- | drivers/hid/hid-wacom.c | 14 | ||||
| -rw-r--r-- | drivers/hid/hid-wiimote-core.c | 1658 | ||||
| -rw-r--r-- | drivers/hid/hid-wiimote-debug.c | 14 | ||||
| -rw-r--r-- | drivers/hid/hid-wiimote-ext.c | 849 | ||||
| -rw-r--r-- | drivers/hid/hid-wiimote-modules.c | 2086 | ||||
| -rw-r--r-- | drivers/hid/hid-wiimote.h | 217 | ||||
| -rw-r--r-- | drivers/hid/i2c-hid/i2c-hid.c | 20 | ||||
| -rw-r--r-- | include/uapi/linux/input.h | 17 | ||||
| -rw-r--r-- | net/bluetooth/hidp/core.c | 56 | ||||
| -rw-r--r-- | net/bluetooth/hidp/hidp.h | 2 |
25 files changed, 4640 insertions, 1728 deletions
diff --git a/Documentation/ABI/testing/sysfs-driver-hid-wiimote b/Documentation/ABI/testing/sysfs-driver-hid-wiimote index 3d98009f447a..ed5dd567d397 100644 --- a/Documentation/ABI/testing/sysfs-driver-hid-wiimote +++ b/Documentation/ABI/testing/sysfs-driver-hid-wiimote | |||
| @@ -12,7 +12,7 @@ Description: Make it possible to set/get current led state. Reading from it | |||
| 12 | What: /sys/bus/hid/drivers/wiimote/<dev>/extension | 12 | What: /sys/bus/hid/drivers/wiimote/<dev>/extension |
| 13 | Date: August 2011 | 13 | Date: August 2011 |
| 14 | KernelVersion: 3.2 | 14 | KernelVersion: 3.2 |
| 15 | Contact: David Herrmann <dh.herrmann@googlemail.com> | 15 | Contact: David Herrmann <dh.herrmann@gmail.com> |
| 16 | Description: This file contains the currently connected and initialized | 16 | Description: This file contains the currently connected and initialized |
| 17 | extensions. It can be one of: none, motionp, nunchuck, classic, | 17 | extensions. It can be one of: none, motionp, nunchuck, classic, |
| 18 | motionp+nunchuck, motionp+classic | 18 | motionp+nunchuck, motionp+classic |
| @@ -20,3 +20,40 @@ Description: This file contains the currently connected and initialized | |||
| 20 | the official Nintendo Nunchuck extension and classic is the | 20 | the official Nintendo Nunchuck extension and classic is the |
| 21 | Nintendo Classic Controller extension. The motionp extension can | 21 | Nintendo Classic Controller extension. The motionp extension can |
| 22 | be combined with the other two. | 22 | be combined with the other two. |
| 23 | Starting with kernel-version 3.11 Motion Plus hotplugging is | ||
| 24 | supported and if detected, it's no longer reported as static | ||
| 25 | extension. You will get uevent notifications for the motion-plus | ||
| 26 | device then. | ||
| 27 | |||
| 28 | What: /sys/bus/hid/drivers/wiimote/<dev>/devtype | ||
| 29 | Date: May 2013 | ||
| 30 | KernelVersion: 3.11 | ||
| 31 | Contact: David Herrmann <dh.herrmann@gmail.com> | ||
| 32 | Description: While a device is initialized by the wiimote driver, we perform | ||
| 33 | a device detection and signal a "change" uevent after it is | ||
| 34 | done. This file shows the detected device type. "pending" means | ||
| 35 | that the detection is still ongoing, "unknown" means, that the | ||
| 36 | device couldn't be detected or loaded. "generic" means, that the | ||
| 37 | device couldn't be detected but supports basic Wii Remote | ||
| 38 | features and can be used. | ||
| 39 | Other strings for each device-type are available and may be | ||
| 40 | added if new device-specific detections are added. | ||
| 41 | Currently supported are: | ||
| 42 | gen10: First Wii Remote generation | ||
| 43 | gen20: Second Wii Remote Plus generation (builtin MP) | ||
| 44 | balanceboard: Wii Balance Board | ||
| 45 | |||
| 46 | What: /sys/bus/hid/drivers/wiimote/<dev>/bboard_calib | ||
| 47 | Date: May 2013 | ||
| 48 | KernelVersion: 3.11 | ||
| 49 | Contact: David Herrmann <dh.herrmann@gmail.com> | ||
| 50 | Description: This attribute is only provided if the device was detected as a | ||
| 51 | balance board. It provides a single line with 3 calibration | ||
| 52 | values for all 4 sensors. The values are separated by colons and | ||
| 53 | are each 2 bytes long (encoded as 4 digit hexadecimal value). | ||
| 54 | First, 0kg values for all 4 sensors are written, followed by the | ||
| 55 | 17kg values for all 4 sensors and last the 34kg values for all 4 | ||
| 56 | sensors. | ||
| 57 | Calibration data is already applied by the kernel to all input | ||
| 58 | values but may be used by user-space to perform other | ||
| 59 | transformations. | ||
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index fb52f3f6de80..14ef6ab69790 100644 --- a/drivers/hid/Kconfig +++ b/drivers/hid/Kconfig | |||
| @@ -217,6 +217,13 @@ config HID_ELECOM | |||
| 217 | ---help--- | 217 | ---help--- |
| 218 | Support for the ELECOM BM084 (bluetooth mouse). | 218 | Support for the ELECOM BM084 (bluetooth mouse). |
| 219 | 219 | ||
| 220 | config HID_ELO | ||
| 221 | tristate "ELO USB 4000/4500 touchscreen" | ||
| 222 | depends on USB_HID | ||
| 223 | ---help--- | ||
| 224 | Support for the ELO USB 4000/4500 touchscreens. Note that this is for | ||
| 225 | different devices than those handled by CONFIG_TOUCHSCREEN_USB_ELO. | ||
| 226 | |||
| 220 | config HID_EZKEY | 227 | config HID_EZKEY |
| 221 | tristate "Ezkey BTC 8193 keyboard" if EXPERT | 228 | tristate "Ezkey BTC 8193 keyboard" if EXPERT |
| 222 | depends on HID | 229 | depends on HID |
| @@ -231,6 +238,9 @@ config HID_HOLTEK | |||
| 231 | Support for Holtek based devices: | 238 | Support for Holtek based devices: |
| 232 | - Holtek On Line Grip based game controller | 239 | - Holtek On Line Grip based game controller |
| 233 | - Trust GXT 18 Gaming Keyboard | 240 | - Trust GXT 18 Gaming Keyboard |
| 241 | - Sharkoon Drakonia / Perixx MX-2000 gaming mice | ||
| 242 | - Tracer Sniper TRM-503 / NOVA Gaming Slider X200 / | ||
| 243 | Zalman ZM-GM1 | ||
| 234 | 244 | ||
| 235 | config HOLTEK_FF | 245 | config HOLTEK_FF |
| 236 | bool "Holtek On Line Grip force feedback support" | 246 | bool "Holtek On Line Grip force feedback support" |
| @@ -240,6 +250,12 @@ config HOLTEK_FF | |||
| 240 | Say Y here if you have a Holtek On Line Grip based game controller | 250 | Say Y here if you have a Holtek On Line Grip based game controller |
| 241 | and want to have force feedback support for it. | 251 | and want to have force feedback support for it. |
| 242 | 252 | ||
| 253 | config HID_HUION | ||
| 254 | tristate "Huion tablets" | ||
| 255 | depends on USB_HID | ||
| 256 | ---help--- | ||
| 257 | Support for Huion 580 tablet. | ||
| 258 | |||
| 243 | config HID_KEYTOUCH | 259 | config HID_KEYTOUCH |
| 244 | tristate "Keytouch HID devices" | 260 | tristate "Keytouch HID devices" |
| 245 | depends on HID | 261 | depends on HID |
| @@ -561,15 +577,6 @@ config HID_PRIMAX | |||
| 561 | Support for Primax devices that are not fully compliant with the | 577 | Support for Primax devices that are not fully compliant with the |
| 562 | HID standard. | 578 | HID standard. |
| 563 | 579 | ||
| 564 | config HID_PS3REMOTE | ||
| 565 | tristate "Sony PS3 BD Remote Control" | ||
| 566 | depends on HID | ||
| 567 | ---help--- | ||
| 568 | Support for the Sony PS3 Blue-ray Disk Remote Control and Logitech | ||
| 569 | Harmony Adapter for PS3, which connect over Bluetooth. | ||
| 570 | |||
| 571 | Support for the 6-axis controllers is provided by HID_SONY. | ||
| 572 | |||
| 573 | config HID_ROCCAT | 580 | config HID_ROCCAT |
| 574 | tristate "Roccat device support" | 581 | tristate "Roccat device support" |
| 575 | depends on USB_HID | 582 | depends on USB_HID |
| @@ -594,12 +601,17 @@ config HID_SAMSUNG | |||
| 594 | Support for Samsung InfraRed remote control or keyboards. | 601 | Support for Samsung InfraRed remote control or keyboards. |
| 595 | 602 | ||
| 596 | config HID_SONY | 603 | config HID_SONY |
| 597 | tristate "Sony PS3 controller" | 604 | tristate "Sony PS2/3 accessories" |
| 598 | depends on USB_HID | 605 | depends on USB_HID |
| 606 | depends on NEW_LEDS | ||
| 607 | depends on LEDS_CLASS | ||
| 599 | ---help--- | 608 | ---help--- |
| 600 | Support for Sony PS3 6-axis controllers. | 609 | Support for |
| 601 | 610 | ||
| 602 | Support for the Sony PS3 BD Remote is provided by HID_PS3REMOTE. | 611 | * Sony PS3 6-axis controllers |
| 612 | * Buzz controllers | ||
| 613 | * Sony PS3 Blue-ray Disk Remote Control (Bluetooth) | ||
| 614 | * Logitech Harmony adapter for Sony Playstation 3 (Bluetooth) | ||
| 603 | 615 | ||
| 604 | config HID_SPEEDLINK | 616 | config HID_SPEEDLINK |
| 605 | tristate "Speedlink VAD Cezanne mouse support | ||
