xref: /linux/Documentation/ABI/testing/sysfs-driver-hid-logitech-lg4ff (revision 71e2f4dd5a65bd8dbca0b77661e75eea471168f8)
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		  Tag: Mode Name
16		Currently active mode is marked with an asterisk. List also
17		contains an abstract item "native" which always denotes the
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
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
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.
50
51What:		/sys/bus/hid/drivers/logitech/<dev>/real_id
52Date:		Feb 2015
53KernelVersion:	4.1
54Contact:	Michal Malý <madcatxster@devoid-pointer.net>
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.
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'.
68