aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2013-07-04 14:39:00 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-04 14:39:00 -0400
commit3366dd9fa887ebbda4872e9554f853eaeda764be (patch)
treed1bb553325b276e9d2a1bce99f3e64834b46866b /Documentation
parent697a067f1ec67f2f8dfafd0a1b95a46997a11f32 (diff)
parent21796b39c9e876a46a353a4a9ff9881766a7c176 (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 ...
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/ABI/testing/sysfs-driver-hid-wiimote39
1 files changed, 38 insertions, 1 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
12What: /sys/bus/hid/drivers/wiimote/<dev>/extension 12What: /sys/bus/hid/drivers/wiimote/<dev>/extension
13Date: August 2011 13Date: August 2011
14KernelVersion: 3.2 14KernelVersion: 3.2
15Contact: David Herrmann <dh.herrmann@googlemail.com> 15Contact: David Herrmann <dh.herrmann@gmail.com>
16Description: This file contains the currently connected and initialized 16Description: 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
28What: /sys/bus/hid/drivers/wiimote/<dev>/devtype
29Date: May 2013
30KernelVersion: 3.11
31Contact: David Herrmann <dh.herrmann@gmail.com>
32Description: 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
46What: /sys/bus/hid/drivers/wiimote/<dev>/bboard_calib
47Date: May 2013
48KernelVersion: 3.11
49Contact: David Herrmann <dh.herrmann@gmail.com>
50Description: 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.