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