]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blame - Documentation/ABI/testing/sysfs-driver-hid-logitech-lg4ff
Merge branch 'libnvdimm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdim...
[mirror_ubuntu-zesty-kernel.git] / Documentation / ABI / testing / sysfs-driver-hid-logitech-lg4ff
CommitLineData
bbfd0ccc 1What: /sys/bus/hid/drivers/logitech/<dev>/range
18e10aba
MM
2Date: July 2011
3KernelVersion: 3.2
bbfd0ccc 4Contact: Michal Malý <madcatxster@devoid-pointer.net>
18e10aba
MM
5Description: Display minimum, maximum and current range of the steering
6 wheel. Writing a value within min and max boundaries sets the
7 range of the wheel.
b96d23ec
MM
8
9What: /sys/bus/hid/drivers/logitech/<dev>/alternate_modes
10Date: Feb 2015
11KernelVersion: 4.1
bbfd0ccc 12Contact: Michal Malý <madcatxster@devoid-pointer.net>
b96d23ec
MM
13Description: Displays a set of alternate modes supported by a wheel. Each
14 mode is listed as follows:
15 Tag: Mode Name
16 Currently active mode is marked with an asterisk. List also
17 contains an abstract item "native" which always denotes the
f31a2de3
MM
18 native mode of the wheel. Echoing the mode tag switches the
19 wheel into the corresponding mode. Depending on the exact model
20 of the wheel not all listed modes might always be selectable.
21 If a wheel cannot be switched into the desired mode, -EINVAL
22 is returned accompanied with an explanatory message in the
23 kernel log.
24 This entry is not created for devices that have only one mode.
25
26 Currently supported mode switches:
27 Driving Force Pro:
28 DF-EX --> DFP
29
30 G25:
31 DF-EX --> DFP --> G25
32
33 G27:
34 DF-EX <*> DFP <-> G25 <-> G27
35 DF-EX <*--------> G25 <-> G27
36 DF-EX <*----------------> G27
37
f777a3a7
SW
38 G29:
39 DF-EX <*> DFP <-> G25 <-> G27 <-> G29
40 DF-EX <*--------> G25 <-> G27 <-> G29
41 DF-EX <*----------------> G27 <-> G29
42 DF-EX <*------------------------> G29
43
f31a2de3
MM
44 DFGT:
45 DF-EX <*> DFP <-> DFGT
46 DF-EX <*--------> DFGT
47
48 * hid_logitech module must be loaded with lg4ff_no_autoswitch=1
49 parameter set in order for the switch to DF-EX mode to work.
b96d23ec
MM
50
51What: /sys/bus/hid/drivers/logitech/<dev>/real_id
52Date: Feb 2015
53KernelVersion: 4.1
bbfd0ccc 54Contact: Michal Malý <madcatxster@devoid-pointer.net>
b96d23ec
MM
55Description: Displays the real model of the wheel regardless of any
56 alternate mode the wheel might be switched to.
57 It is a read-only value.
58 This entry is not created for devices that have only one mode.
961af46f
SW
59
60What: /sys/bus/hid/drivers/logitech/<dev>/combine_pedals
61Date: Sep 2016
62KernelVersion: 4.9
63Contact: Simon Wood <simon@mungewell.org>
64Description: Controls whether a combined value of accelerator and brake is
65 reported on the Y axis of the controller. Useful for older games
66 which can do not work with separate accelerator/brake axis.
67 Off ('0') by default, enabled by setting '1'.