xref: /linux/Documentation/ABI/testing/sysfs-driver-hid-logitech-lg4ff (revision cdd38c5f1ce4398ec58fec95904b75824daab7b5)
1bbfd0cccSMichal MalýWhat:		/sys/bus/hid/drivers/logitech/<dev>/range
218e10abaSMichal MalýDate:		July 2011
318e10abaSMichal MalýKernelVersion:	3.2
4bbfd0cccSMichal MalýContact:	Michal Malý <madcatxster@devoid-pointer.net>
518e10abaSMichal MalýDescription:	Display minimum, maximum and current range of the steering
618e10abaSMichal Malý		wheel. Writing a value within min and max boundaries sets the
718e10abaSMichal Malý		range of the wheel.
8b96d23ecSMichal Malý
9b96d23ecSMichal MalýWhat:		/sys/bus/hid/drivers/logitech/<dev>/alternate_modes
10b96d23ecSMichal MalýDate:		Feb 2015
11b96d23ecSMichal MalýKernelVersion:	4.1
12bbfd0cccSMichal MalýContact:	Michal Malý <madcatxster@devoid-pointer.net>
13b96d23ecSMichal MalýDescription:	Displays a set of alternate modes supported by a wheel. Each
14b96d23ecSMichal Malý		mode is listed as follows:
15*34433332SMauro Carvalho Chehab
16b96d23ecSMichal Malý		  Tag: Mode Name
17*34433332SMauro Carvalho Chehab
18b96d23ecSMichal Malý		Currently active mode is marked with an asterisk. List also
19b96d23ecSMichal Malý		contains an abstract item "native" which always denotes the
20f31a2de3SMichal Malý		native mode of the wheel. Echoing the mode tag switches the
21f31a2de3SMichal Malý		wheel into the corresponding mode. Depending on the exact model
22f31a2de3SMichal Malý		of the wheel not all listed modes might always be selectable.
23f31a2de3SMichal Malý		If a wheel cannot be switched into the desired mode, -EINVAL
24f31a2de3SMichal Malý		is returned accompanied with an explanatory message in the
25f31a2de3SMichal Malý		kernel log.
26f31a2de3SMichal Malý		This entry is not created for devices that have only one mode.
27f31a2de3SMichal Malý
28f31a2de3SMichal Malý		Currently supported mode switches:
29*34433332SMauro Carvalho Chehab
30*34433332SMauro Carvalho Chehab		Driving Force Pro::
31*34433332SMauro Carvalho Chehab
32f31a2de3SMichal Malý		  DF-EX --> DFP
33f31a2de3SMichal Malý
34*34433332SMauro Carvalho Chehab		G25::
35*34433332SMauro Carvalho Chehab
36f31a2de3SMichal Malý		  DF-EX --> DFP --> G25
37f31a2de3SMichal Malý
38*34433332SMauro Carvalho Chehab		G27::
39*34433332SMauro Carvalho Chehab
40f31a2de3SMichal Malý		  DF-EX <*> DFP <-> G25 <-> G27
41f31a2de3SMichal Malý		  DF-EX <*--------> G25 <-> G27
42f31a2de3SMichal Malý		  DF-EX <*----------------> G27
43f31a2de3SMichal Malý
44*34433332SMauro Carvalho Chehab		G29::
45*34433332SMauro Carvalho Chehab
46f777a3a7SSimon Wood		  DF-EX <*> DFP <-> G25 <-> G27 <-> G29
47f777a3a7SSimon Wood		  DF-EX <*--------> G25 <-> G27 <-> G29
48f777a3a7SSimon Wood		  DF-EX <*----------------> G27 <-> G29
49f777a3a7SSimon Wood		  DF-EX <*------------------------> G29
50f777a3a7SSimon Wood
51*34433332SMauro Carvalho Chehab		DFGT::
52*34433332SMauro Carvalho Chehab
53f31a2de3SMichal Malý		  DF-EX <*> DFP <-> DFGT
54f31a2de3SMichal Malý		  DF-EX <*--------> DFGT
55f31a2de3SMichal Malý
56f31a2de3SMichal Malý		* hid_logitech module must be loaded with lg4ff_no_autoswitch=1
57f31a2de3SMichal Malý		  parameter set in order for the switch to DF-EX mode to work.
58b96d23ecSMichal Malý
59b96d23ecSMichal MalýWhat:		/sys/bus/hid/drivers/logitech/<dev>/real_id
60b96d23ecSMichal MalýDate:		Feb 2015
61b96d23ecSMichal MalýKernelVersion:	4.1
62bbfd0cccSMichal MalýContact:	Michal Malý <madcatxster@devoid-pointer.net>
63b96d23ecSMichal MalýDescription:	Displays the real model of the wheel regardless of any
64b96d23ecSMichal Malý		alternate mode the wheel might be switched to.
65b96d23ecSMichal Malý		It is a read-only value.
66b96d23ecSMichal Malý		This entry is not created for devices that have only one mode.
67961af46fSSimon Wood
68961af46fSSimon WoodWhat:		/sys/bus/hid/drivers/logitech/<dev>/combine_pedals
69961af46fSSimon WoodDate:		Sep 2016
70961af46fSSimon WoodKernelVersion:	4.9
71961af46fSSimon WoodContact:	Simon Wood <simon@mungewell.org>
72961af46fSSimon WoodDescription:	Controls whether a combined value of accelerator and brake is
73961af46fSSimon Wood		reported on the Y axis of the controller. Useful for older games
74961af46fSSimon Wood		which can do not work with separate accelerator/brake axis.
75961af46fSSimon Wood		Off ('0') by default, enabled by setting '1'.
76