xref: /linux/Documentation/ABI/testing/sysfs-driver-hid-logitech-lg4ff (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1What:		/sys/bus/hid/drivers/logitech/<dev>/range
2Date:		July 2011
3KernelVersion:	3.2
4Contact:	Michal Malý <madcatxster@devoid-pointer.net>
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.
8
9What:		/sys/bus/hid/drivers/logitech/<dev>/alternate_modes
10Date:		Feb 2015
11KernelVersion:	4.1
12Contact:	Michal Malý <madcatxster@devoid-pointer.net>
13Description:	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
59What:		/sys/bus/hid/drivers/logitech/<dev>/real_id
60Date:		Feb 2015
61KernelVersion:	4.1
62Contact:	Michal Malý <madcatxster@devoid-pointer.net>
63Description:	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
68What:		/sys/bus/hid/drivers/logitech/<dev>/combine_pedals
69Date:		Sep 2016
70KernelVersion:	4.9
71Contact:	Simon Wood <simon@mungewell.org>
72Description:	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'.
76