How to install Logitech Driving Force Pro Wheel on Linux Ubuntu 14.04
So far, the LTWheelConf maybe is the best solution to get following wheels working on Linux: This tool allows you to change various settings of the Logitech racing wheels
- Driving Force
- Momo Racing
- Momo Force
- Driving Force Pro
- Driving Force GT
- G25
- G27
Available options:
- set wheel to "native" mode (support separate axes and clutch pedal, H shifter, full 900 degree rotation)
- Set wheel rotation range
- Set autocenter force and rampspeed
- Set ForceFeedback gain
Compile guide
You can easily compile LTWheelConf using the following commands:
Get some dependencies (for Ubuntu 14.04 x86)
$ sudo apt-get install libusb-1.0-0-dev git
Download the source
$ git clone https://github.com/thk/LTWheelConf.git
Build the source
$ cd LTWheelConf
LTWheelConf$ make
LTWheelConf$ ls
You should now have an executable named ltwheelconf. Copy to:
LTWheelConf$ cp ltwheelconf /usr/local/bin/
List all found/supported devices
LTWheelConf$ sudo ltwheelconf --list
Supported wheel shortname values:
'DF' (Driving Force)
'MR' (Momo Racing)
'MF' (Momo Force)
'DFP' (Driving Force Pro)
'DFGT' (Driving Force GT)
'G25' (G25)
'G27' (G27)
Set wheel to native mode
LTWheelConf$ sudo ltwheelconf --wheel <your-wheel-shortname> --nativemode
Set wheel rotation range of 900 degrees
LTWheelConf$ sudo ltwheelconf --wheel <your-wheel-shortname> --range 900
Examples
Put wheel into native mode:
LTWheelConf$ sudo ltwheelconf --wheel G25 --nativemode
Set wheel rotation range to 540 degree:
LTWheelConf$ sudo ltwheelconf --wheel G27 --range 540
Set moderate autocenter:
LTWheelConf$ sudo ltwheelconf --wheel DFP --autocenter 100 --rampspeed 1
Disable autocenter completely:
LTWheelConf$ sudo ltwheelconf --wheel G25 --autocenter 0 --rampspeed 0
Set native mode, disable autocenter and set wheel rotation range of 900 degrees in one call:
LTWheelConf$ sudo ltwheelconf --wheel DFGT --nativemode --range 900 --autocenter 0 --rampspeed 0
To test and calibrate the steering wheel you can use jstest-gtk
$ sudo apt-get install jstest-gtk
$ jstest-gtk
You should get something like:
- Logitech Logitech Driving Force Pro
- Device: /dev/input/js0
- Axes: 5
- Buttons: 14
Axis list:
- Axis 0: -32179-+32767 # Main Wheel, can set range up to 900 degrees from end to end
- Axis 1: -32767-+32767 # Gas Padel
- Axis 2: -32767-+32767 # Brake Padel
- Axis 3: -32767-+32767 # Wheel control left to Right
- Axis 4: -32767-+32767 # Wheel control up and down
The Buttons Map:
- Button 0 Cross
- Button 1 Square
- Button 2 Circle
- Button 3 Triangle
- Button 4 Shift/turn Right
- Button 5 Shift/turn Left
- Button 6 R2
- Button 7 L2
- Button 8 Select
- Button 9 Start
- Button 10 R3
- Button 11 L3
- Button 12 Shift gear plus
- Button 13 Shift gear minus
Add UDEV rule
It is possible to add a rule to UDEV to automatically invoke LTWheelConf when the steering wheel is connected.
This can be done using the following command (use the correct shortname instead of !):
echo 'ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c294", RUN+="/usr/local/bin/ltwheelconf --wheel <your-wheel-shortname> --nativemode --range 900"' | sudo tee -a /etc/udev/rules.d/90-logitech-wheel.rules
Now you need to restart UDEV:
LTWheelConf$ sudo service udev restart