diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-24 16:30:14 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-24 16:30:14 -0400 |
commit | e8ff13b0bf88b5e696323a1eec877783d965b3c6 (patch) | |
tree | aa55093da5ee435f0d2fa8ffede8973f426dbd67 /Documentation/ABI | |
parent | 0cd5ff591ab6473355d5a6a47f7694def28e451d (diff) | |
parent | c062c4d1de57789bf15f7641a24c429eeb8a1c6a (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid
Pull HID updates from Jiri Kosina:
"The list of changes worth pointing out explicitly:
- We are getting 'UHID', which is a new framework for implementing HID
transport drivers in userspace (this is different from HIDRAW, which
is transport-independent and provides report parsing facilities;
uhid is for the other (transport) part of the pipeline).
It's needed for (and currently being used by) Bluetooth-LowEnergy,
as its specification mandates things we don't want in the kernel.
Written by David Herrmann.
- there have been quite a few bugs in runtime suspend/resume paths
(probably never reported to actually happen in the wild, but still).
Alan Stern fixed those.
- a few other driver updates and fixes and random new device support."
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid: (45 commits)
HID: add ASUS AIO keyboard model AK1D
HID: add support for Cypress barcode scanner 04B4:ED81
HID: Allow drivers to be their own listener
HID: usbhid: fix error paths in suspend
HID: usbhid: check for suspend or reset before restarting
HID: usbhid: replace HID_REPORTED_IDLE with HID_SUSPENDED
HID: usbhid: inline some simple routines
HID: usbhid: fix autosuspend calls
HID: usbhid: fix use-after-free bug
HID: hid-core: optimize in case of hidraw
HID: hidraw: fix list->buffer memleak
HID: uhid: Fix sending events with invalid data
HID: roccat: added sensor sysfs attribute for Savu
HID: Add driver for Holtek based keyboards with broken HID
HID: Add suport for the brightness control keys on HP keyboards
HID: magicmouse: Implement Multi-touch Protocol B (MT-B)
HID: magicmouse: Removing report_touches switch
HID: roccat: rename roccat_common functions to roccat_common2
HID: roccat: fix wrong hid_err usage on struct usb_device
HID: roccat: move functionality to roccat-common
...
Diffstat (limited to 'Documentation/ABI')
-rw-r--r-- | Documentation/ABI/testing/sysfs-driver-hid-lenovo-tpkbd | 38 | ||||
-rw-r--r-- | Documentation/ABI/testing/sysfs-driver-hid-roccat-savu | 77 |
2 files changed, 115 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-driver-hid-lenovo-tpkbd b/Documentation/ABI/testing/sysfs-driver-hid-lenovo-tpkbd new file mode 100644 index 000000000000..57b92cbdceae --- /dev/null +++ b/Documentation/ABI/testing/sysfs-driver-hid-lenovo-tpkbd | |||
@@ -0,0 +1,38 @@ | |||
1 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/press_to_select | ||
2 | Date: July 2011 | ||
3 | Contact: linux-input@vger.kernel.org | ||
4 | Description: This controls if mouse clicks should be generated if the trackpoint is quickly pressed. How fast this press has to be | ||
5 | is being controlled by press_speed. | ||
6 | Values are 0 or 1. | ||
7 | |||
8 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/dragging | ||
9 | Date: July 2011 | ||
10 | Contact: linux-input@vger.kernel.org | ||
11 | Description: If this setting is enabled, it is possible to do dragging by pressing the trackpoint. This requires press_to_select to be enabled. | ||
12 | Values are 0 or 1. | ||
13 | |||
14 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/release_to_select | ||
15 | Date: July 2011 | ||
16 | Contact: linux-input@vger.kernel.org | ||
17 | Description: For details regarding this setting please refer to http://www.pc.ibm.com/ww/healthycomputing/trkpntb.html | ||
18 | Values are 0 or 1. | ||
19 | |||
20 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/select_right | ||
21 | Date: July 2011 | ||
22 | Contact: linux-input@vger.kernel.org | ||
23 | Description: This setting controls if the mouse click events generated by pressing the trackpoint (if press_to_select is enabled) generate | ||
24 | a left or right mouse button click. | ||
25 | Values are 0 or 1. | ||
26 | |||
27 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/sensitivity | ||
28 | Date: July 2011 | ||
29 | Contact: linux-input@vger.kernel.org | ||
30 | Description: This file contains the trackpoint sensitivity. | ||
31 | Values are decimal integers from 1 (lowest sensitivity) to 255 (highest sensitivity). | ||
32 | |||
33 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/press_speed | ||
34 | Date: July 2011 | ||
35 | Contact: linux-input@vger.kernel.org | ||
36 | Description: This setting controls how fast the trackpoint needs to be pressed to generate a mouse click if press_to_select is enabled. | ||
37 | Values are decimal integers from 1 (slowest) to 255 (fastest). | ||
38 | |||
diff --git a/Documentation/ABI/testing/sysfs-driver-hid-roccat-savu b/Documentation/ABI/testing/sysfs-driver-hid-roccat-savu new file mode 100644 index 000000000000..b42922cf6b1f --- /dev/null +++ b/Documentation/ABI/testing/sysfs-driver-hid-roccat-savu | |||
@@ -0,0 +1,77 @@ | |||
1 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/savu/roccatsavu<minor>/buttons | ||
2 | Date: Mai 2012 | ||
3 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
4 | Description: The mouse can store 5 profiles which can be switched by the | ||
5 | press of a button. A profile is split into general settings and | ||
6 | button settings. buttons holds informations about button layout. | ||
7 | When written, this file lets one write the respective profile | ||
8 | buttons to the mouse. The data has to be 47 bytes long. | ||
9 | The mouse will reject invalid data. | ||
10 | Which profile to write is determined by the profile number | ||
11 | contained in the data. | ||
12 | Before reading this file, control has to be written to select | ||
13 | which profile to read. | ||
14 | Users: http://roccat.sourceforge.net | ||
15 | |||
16 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/savu/roccatsavu<minor>/control | ||
17 | Date: Mai 2012 | ||
18 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
19 | Description: When written, this file lets one select which data from which | ||
20 | profile will be read next. The data has to be 3 bytes long. | ||
21 | This file is writeonly. | ||
22 | Users: http://roccat.sourceforge.net | ||
23 | |||
24 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/savu/roccatsavu<minor>/general | ||
25 | Date: Mai 2012 | ||
26 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
27 | Description: The mouse can store 5 profiles which can be switched by the | ||
28 | press of a button. A profile is split into general settings and | ||
29 | button settings. profile holds informations like resolution, sensitivity | ||
30 | and light effects. | ||
31 | When written, this file lets one write the respective profile | ||
32 | settings back to the mouse. The data has to be 43 bytes long. | ||
33 | The mouse will reject invalid data. | ||
34 | Which profile to write is determined by the profile number | ||
35 | contained in the data. | ||
36 | This file is writeonly. | ||
37 | Users: http://roccat.sourceforge.net | ||
38 | |||
39 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/savu/roccatsavu<minor>/info | ||
40 | Date: Mai 2012 | ||
41 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
42 | Description: When read, this file returns general data like firmware version. | ||
43 | The data is 8 bytes long. | ||
44 | This file is readonly. | ||
45 | Users: http://roccat.sourceforge.net | ||
46 | |||
47 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/savu/roccatsavu<minor>/macro | ||
48 | Date: Mai 2012 | ||
49 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
50 | Description: When written, this file lets one store macros with max 500 | ||
51 | keystrokes for a specific button for a specific profile. | ||
52 | Button and profile numbers are included in written data. | ||
53 | The data has to be 2083 bytes long. | ||
54 | Before reading this file, control has to be written to select | ||
55 | which profile and key to read. | ||
56 | Users: http://roccat.sourceforge.net | ||
57 | |||
58 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/savu/roccatsavu<minor>/profile | ||
59 | Date: Mai 2012 | ||
60 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
61 | Description: The mouse can store 5 profiles which can be switched by the | ||
62 | press of a button. profile holds number of actual profile. | ||
63 | This value is persistent, so its value determines the profile | ||
64 | that's active when the mouse is powered on next time. | ||
65 | When written, the mouse activates the set profile immediately. | ||
66 | The data has to be 3 bytes long. | ||
67 | The mouse will reject invalid data. | ||
68 | Users: http://roccat.sourceforge.net | ||
69 | |||
70 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/savu/roccatsavu<minor>/sensor | ||
71 | Date: July 2012 | ||
72 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
73 | Description: The mouse has a Avago ADNS-3090 sensor. | ||
74 | This file allows reading and writing of the mouse sensors registers. | ||
75 | The data has to be 4 bytes long. | ||
76 | Users: http://roccat.sourceforge.net | ||
77 | |||