linux-imx/Documentation/ABI/testing/sysfs-driver-hid-logitech-lg4ff
Mauro Carvalho Chehab 3443333284 docs: ABI: testing: make the files compatible with ReST output
Some files over there won't parse well by Sphinx.

Fix them.

Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> # for IIO
Acked-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Acked-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/58cf3c2d611e0197fb215652719ebd82ca2658db.1604042072.git.mchehab+huawei@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-10-30 13:07:01 +01:00

2.4 KiB

What: /sys/bus/hid/drivers/logitech//range Date: July 2011 KernelVersion: 3.2 Contact: Michal Malý madcatxster@devoid-pointer.net Description: Display minimum, maximum and current range of the steering wheel. Writing a value within min and max boundaries sets the range of the wheel.

What: /sys/bus/hid/drivers/logitech//alternate_modes Date: Feb 2015 KernelVersion: 4.1 Contact: Michal Malý madcatxster@devoid-pointer.net Description: Displays a set of alternate modes supported by a wheel. Each mode is listed as follows:

	  Tag: Mode Name

	Currently active mode is marked with an asterisk. List also
	contains an abstract item "native" which always denotes the
	native mode of the wheel. Echoing the mode tag switches the
	wheel into the corresponding mode. Depending on the exact model
	of the wheel not all listed modes might always be selectable.
	If a wheel cannot be switched into the desired mode, -EINVAL
	is returned accompanied with an explanatory message in the
	kernel log.
	This entry is not created for devices that have only one mode.

	Currently supported mode switches:

	Driving Force Pro::

	  DF-EX --> DFP

	G25::

	  DF-EX --> DFP --> G25

	G27::

	  DF-EX <*> DFP <-> G25 <-> G27
	  DF-EX <*--------> G25 <-> G27
	  DF-EX <*----------------> G27

	G29::

	  DF-EX <*> DFP <-> G25 <-> G27 <-> G29
	  DF-EX <*--------> G25 <-> G27 <-> G29
	  DF-EX <*----------------> G27 <-> G29
	  DF-EX <*------------------------> G29

	DFGT::

	  DF-EX <*> DFP <-> DFGT
	  DF-EX <*--------> DFGT

	* hid_logitech module must be loaded with lg4ff_no_autoswitch=1
	  parameter set in order for the switch to DF-EX mode to work.

What: /sys/bus/hid/drivers/logitech//real_id Date: Feb 2015 KernelVersion: 4.1 Contact: Michal Malý madcatxster@devoid-pointer.net Description: Displays the real model of the wheel regardless of any alternate mode the wheel might be switched to. It is a read-only value. This entry is not created for devices that have only one mode.

What: /sys/bus/hid/drivers/logitech//combine_pedals Date: Sep 2016 KernelVersion: 4.9 Contact: Simon Wood simon@mungewell.org Description: Controls whether a combined value of accelerator and brake is reported on the Y axis of the controller. Useful for older games which can do not work with separate accelerator/brake axis. Off ('0') by default, enabled by setting '1'.