summaryrefslogtreecommitdiffstats
path: root/Documentation/ABI/testing/sysfs-driver-hid-logitech-lg4ff
diff options
context:
space:
mode:
authorMichal Malý <madcatxster@devoid-pointer.net>2015-02-18 17:59:21 +0100
committerJiri Kosina <jkosina@suse.cz>2015-02-18 21:14:54 +0100
commitb96d23ec698fdc1fdf904e5547d9abb6354eef5c (patch)
tree042da86c415119ce04290685012627d32a79f937 /Documentation/ABI/testing/sysfs-driver-hid-logitech-lg4ff
parente7c234496d01c90a4b042d899a65e10f1f63ebc1 (diff)
downloadlinux-b96d23ec698fdc1fdf904e5547d9abb6354eef5c.tar.gz
linux-b96d23ec698fdc1fdf904e5547d9abb6354eef5c.tar.bz2
linux-b96d23ec698fdc1fdf904e5547d9abb6354eef5c.zip
HID: hid-lg4ff: Export the real wheel model and supported alternate modes
Display the real wheel model and supported alternate modes through sysfs. This applies only to multimode wheels. Signed-off-by: Michal Malý <madcatxster@devoid-pointer.net> Tested-by: Simon Wood <simon@mungewell.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'Documentation/ABI/testing/sysfs-driver-hid-logitech-lg4ff')
-rw-r--r--Documentation/ABI/testing/sysfs-driver-hid-logitech-lg4ff20
1 files changed, 20 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-driver-hid-logitech-lg4ff b/Documentation/ABI/testing/sysfs-driver-hid-logitech-lg4ff
index 167d9032b970..60f24a1d8119 100644
--- a/Documentation/ABI/testing/sysfs-driver-hid-logitech-lg4ff
+++ b/Documentation/ABI/testing/sysfs-driver-hid-logitech-lg4ff
@@ -5,3 +5,23 @@ Contact: Michal Malý <madcatxster@gmail.com>
Description: Display minimum, maximum and current range of the steering
wheel. Writing a value within min and max boundaries sets the
range of the wheel.
+
+What: /sys/bus/hid/drivers/logitech/<dev>/alternate_modes
+Date: Feb 2015
+KernelVersion: 4.1
+Contact: Michal Malý <madcatxster@gmail.com>
+Description: Displays a set of alternate modes supported by a wheel. Each
+ mode is listed as follows:
+ Tag: Mode Name
+ Currently active mode is marked with an asterisk. List also
+ contains an abstract item "native" which always denotes the
+ native mode of the wheel.
+
+What: /sys/bus/hid/drivers/logitech/<dev>/real_id
+Date: Feb 2015
+KernelVersion: 4.1
+Contact: Michal Malý <madcatxster@gmail.com>
+Description: Displays the real model of the wheel regardless of any
+ alternate mode the wheel might be switched to.
+ It is a read-only value.
+ This entry is not created for devices that have only one mode.