diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-15 19:48:22 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-15 19:48:22 -0500 |
commit | e0da5c9a49b927d9e5f62b21a7abc283e99022e2 (patch) | |
tree | c73688d7e30737f75efdc4a4f01d79fb7deb1833 /Documentation/ABI | |
parent | 9073e1a804c3096eda84ee7cbf11d1f174236c75 (diff) | |
parent | 7f9cc24a805ce444e082c01f9818f2d3a25ef268 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid
Pull HID updates from Jiri Kosina:
- i2c-hid is not querying init reports any more, as it's not mandated
by the spec, and annoys quite a few devices during enumeration, by
Bibek Basu
- a lot of fixes for Logitech devices, by Simon Wood
- hid-apple now has an option to switch between Option and Command
mode, by Nanno Langstraat
- Some more workarounds for severely broken ELO devices, by Oliver
Neukum
- more devm conversions, by Benjamin Tissoires
- wiimote correctness fixes, by David Herrmann
- a lot of added support for various new device IDs and random small
fixes here and there"
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid: (34 commits)
HID: enable Mayflash USB Gamecube Adapter
HID: sony: Add force feedback support for Dualshock3 USB
Input: usbtouchscreen: ignore eGalax/D-Wav/EETI HIDs
HID: don't ignore eGalax/D-Wav/EETI HIDs
HID: roccat: add missing special driver declarations
HID:hid-lg4ff: Correct Auto-center strength for wheels other than MOMO and MOMO2
HID:hid-lg4ff: Initialize device properties before we touch autocentering.
HID:hid-lg4ff: ensure ConstantForce is disabled when set to 0
HID:hid-lg4ff: Switch autocentering off when strength is set to zero.
HID:hid-lg4ff: Scale autocentering force properly on Logitech wheel
HID: roccat: fix Coverity CID 141438
HID: multitouch: add manufacturer to Kconfig help text
HID: logitech-dj: small cleanup in rdcat()
HID: remove self-assignment from hid_input_report
HID: hid-sensor-hub: fix report size
HID: i2c-hid: Stop querying for init reports
HID: roccat: add support for Ryos MK keyboards
HID: roccat: generalize some common code
HID: roccat: add new device return value
HID: wiimote: add pro-controller analog stick calibration
...
Diffstat (limited to 'Documentation/ABI')
-rw-r--r-- | Documentation/ABI/testing/sysfs-driver-hid-roccat-ryos | 178 | ||||
-rw-r--r-- | Documentation/ABI/testing/sysfs-driver-hid-wiimote | 18 |
2 files changed, 196 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-driver-hid-roccat-ryos b/Documentation/ABI/testing/sysfs-driver-hid-roccat-ryos new file mode 100644 index 000000000000..1d6a8cf9dc0a --- /dev/null +++ b/Documentation/ABI/testing/sysfs-driver-hid-roccat-ryos | |||
@@ -0,0 +1,178 @@ | |||
1 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/ryos/roccatryos<minor>/control | ||
2 | Date: October 2013 | ||
3 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
4 | Description: When written, this file lets one select which data from which | ||
5 | profile will be read next. The data has to be 3 bytes long. | ||
6 | This file is writeonly. | ||
7 | Users: http://roccat.sourceforge.net | ||
8 | |||
9 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/ryos/roccatryos<minor>/profile | ||
10 | Date: October 2013 | ||
11 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
12 | Description: The mouse can store 5 profiles which can be switched by the | ||
13 | press of a button. profile holds index of actual profile. | ||
14 | This value is persistent, so its value determines the profile | ||
15 | that's active when the device is powered on next time. | ||
16 | When written, the device activates the set profile immediately. | ||
17 | The data has to be 3 bytes long. | ||
18 | The device will reject invalid data. | ||
19 | Users: http://roccat.sourceforge.net | ||
20 | |||
21 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/ryos/roccatryos<minor>/keys_primary | ||
22 | Date: October 2013 | ||
23 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
24 | Description: When written, this file lets one set the default of all keys for | ||
25 | a specific profile. Profile index is included in written data. | ||
26 | The data has to be 125 bytes long. | ||
27 | Before reading this file, control has to be written to select | ||
28 | which profile to read. | ||
29 | Users: http://roccat.sourceforge.net | ||
30 | |||
31 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/ryos/roccatryos<minor>/keys_function | ||
32 | Date: October 2013 | ||
33 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
34 | Description: When written, this file lets one set the function of the | ||
35 | function keys for a specific profile. Profile index is included | ||
36 | in written data. The data has to be 95 bytes long. | ||
37 | Before reading this file, control has to be written to select | ||
38 | which profile to read. | ||
39 | Users: http://roccat.sourceforge.net | ||
40 | |||
41 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/ryos/roccatryos<minor>/keys_macro | ||
42 | Date: October 2013 | ||
43 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
44 | Description: When written, this file lets one set the function of the macro | ||
45 | keys for a specific profile. Profile index is included in | ||
46 | written data. The data has to be 35 bytes long. | ||
47 | Before reading this file, control has to be written to select | ||
48 | which profile to read. | ||
49 | Users: http://roccat.sourceforge.net | ||
50 | |||
51 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/ryos/roccatryos<minor>/keys_thumbster | ||
52 | Date: October 2013 | ||
53 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
54 | Description: When written, this file lets one set the function of the | ||
55 | thumbster keys for a specific profile. Profile index is included | ||
56 | in written data. The data has to be 23 bytes long. | ||
57 | Before reading this file, control has to be written to select | ||
58 | which profile to read. | ||
59 | Users: http://roccat.sourceforge.net | ||
60 | |||
61 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/ryos/roccatryos<minor>/keys_extra | ||
62 | Date: October 2013 | ||
63 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
64 | Description: When written, this file lets one set the function of the | ||
65 | capslock and function keys for a specific profile. Profile index | ||
66 | is included in written data. The data has to be 8 bytes long. | ||
67 | Before reading this file, control has to be written to select | ||
68 | which profile to read. | ||
69 | Users: http://roccat.sourceforge.net | ||
70 | |||
71 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/ryos/roccatryos<minor>/keys_easyzone | ||
72 | Date: October 2013 | ||
73 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
74 | Description: When written, this file lets one set the function of the | ||
75 | easyzone keys for a specific profile. Profile index is included | ||
76 | in written data. The data has to be 294 bytes long. | ||
77 | Before reading this file, control has to be written to select | ||
78 | which profile to read. | ||
79 | Users: http://roccat.sourceforge.net | ||
80 | |||
81 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/ryos/roccatryos<minor>/key_mask | ||
82 | Date: October 2013 | ||
83 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
84 | Description: When written, this file lets one deactivate certain keys like | ||
85 | windows and application keys, to prevent accidental presses. | ||
86 | Profile index for which this settings occur is included in | ||
87 | written data. The data has to be 6 bytes long. | ||
88 | Before reading this file, control has to be written to select | ||
89 | which profile to read. | ||
90 | Users: http://roccat.sourceforge.net | ||
91 | |||
92 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/ryos/roccatryos<minor>/light | ||
93 | Date: October 2013 | ||
94 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
95 | Description: When written, this file lets one set the backlight intensity for | ||
96 | a specific profile. Profile index is included in written data. | ||
97 | This attribute is only valid for the glow and pro variant. | ||
98 | The data has to be 16 bytes long. | ||
99 | Before reading this file, control has to be written to select | ||
100 | which profile to read. | ||
101 | Users: http://roccat.sourceforge.net | ||
102 | |||
103 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/ryos/roccatryos<minor>/macro | ||
104 | Date: October 2013 | ||
105 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
106 | Description: When written, this file lets one store macros with max 480 | ||
107 | keystrokes for a specific button for a specific profile. | ||
108 | Button and profile indexes are included in written data. | ||
109 | The data has to be 2002 bytes long. | ||
110 | Before reading this file, control has to be written to select | ||
111 | which profile and key to read. | ||
112 | Users: http://roccat.sourceforge.net | ||
113 | |||
114 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/ryos/roccatryos<minor>/info | ||
115 | Date: October 2013 | ||
116 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
117 | Description: When read, this file returns general data like firmware version. | ||
118 | The data is 8 bytes long. | ||
119 | This file is readonly. | ||
120 | Users: http://roccat.sourceforge.net | ||
121 | |||
122 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/ryos/roccatryos<minor>/reset | ||
123 | Date: October 2013 | ||
124 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
125 | Description: When written, this file lets one reset the device. | ||
126 | The data has to be 3 bytes long. | ||
127 | This file is writeonly. | ||
128 | Users: http://roccat.sourceforge.net | ||
129 | |||
130 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/ryos/roccatryos<minor>/talk | ||
131 | Date: October 2013 | ||
132 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
133 | Description: When written, this file lets one trigger easyshift functionality | ||
134 | from the host. | ||
135 | The data has to be 16 bytes long. | ||
136 | This file is writeonly. | ||
137 | Users: http://roccat.sourceforge.net | ||
138 | |||
139 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/ryos/roccatryos<minor>/light_control | ||
140 | Date: October 2013 | ||
141 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
142 | Description: When written, this file lets one switch between stored and custom | ||
143 | light settings. | ||
144 | This attribute is only valid for the pro variant. | ||
145 | The data has to be 8 bytes long. | ||
146 | This file is writeonly. | ||
147 | Users: http://roccat.sourceforge.net | ||
148 | |||
149 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/ryos/roccatryos<minor>/stored_lights | ||
150 | Date: October 2013 | ||
151 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
152 | Description: When written, this file lets one set per-key lighting for different | ||
153 | layers. | ||
154 | This attribute is only valid for the pro variant. | ||
155 | The data has to be 1382 bytes long. | ||
156 | Before reading this file, control has to be written to select | ||
157 | which profile to read. | ||
158 | Users: http://roccat.sourceforge.net | ||
159 | |||
160 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/ryos/roccatryos<minor>/custom_lights | ||
161 | Date: October 2013 | ||
162 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
163 | Description: When written, this file lets one set the actual per-key lighting. | ||
164 | This attribute is only valid for the pro variant. | ||
165 | The data has to be 20 bytes long. | ||
166 | This file is writeonly. | ||
167 | Users: http://roccat.sourceforge.net | ||
168 | |||
169 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/ryos/roccatryos<minor>/light_macro | ||
170 | Date: October 2013 | ||
171 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
172 | Description: When written, this file lets one set a light macro that is looped | ||
173 | whenever the device gets in dimness mode. | ||
174 | This attribute is only valid for the pro variant. | ||
175 | The data has to be 2002 bytes long. | ||
176 | Before reading this file, control has to be written to select | ||
177 | which profile to read. | ||
178 | Users: http://roccat.sourceforge.net | ||
diff --git a/Documentation/ABI/testing/sysfs-driver-hid-wiimote b/Documentation/ABI/testing/sysfs-driver-hid-wiimote index ed5dd567d397..39dfa5cb1cc5 100644 --- a/Documentation/ABI/testing/sysfs-driver-hid-wiimote +++ b/Documentation/ABI/testing/sysfs-driver-hid-wiimote | |||
@@ -57,3 +57,21 @@ Description: This attribute is only provided if the device was detected as a | |||
57 | Calibration data is already applied by the kernel to all input | 57 | Calibration data is already applied by the kernel to all input |
58 | values but may be used by user-space to perform other | 58 | values but may be used by user-space to perform other |
59 | transformations. | 59 | transformations. |
60 | |||
61 | What: /sys/bus/hid/drivers/wiimote/<dev>/pro_calib | ||
62 | Date: October 2013 | ||
63 | KernelVersion: 3.13 | ||
64 | Contact: David Herrmann <dh.herrmann@gmail.com> | ||
65 | Description: This attribute is only provided if the device was detected as a | ||
66 | pro-controller. It provides a single line with 4 calibration | ||
67 | values for all 4 analog sticks. Format is: "x1:y1 x2:y2". Data | ||
68 | is prefixed with a +/-. Each value is a signed 16bit number. | ||
69 | Data is encoded as decimal numbers and specifies the offsets of | ||
70 | the analog sticks of the pro-controller. | ||
71 | Calibration data is already applied by the kernel to all input | ||
72 | values but may be used by user-space to perform other | ||
73 | transformations. | ||
74 | Calibration data is detected by the kernel during device setup. | ||
75 | You can write "scan\n" into this file to re-trigger calibration. | ||
76 | You can also write data directly in the form "x1:y1 x2:y2" to | ||
77 | set the calibration values manually. | ||