Euro Truck Simulator 2

Euro Truck Simulator 2

92 vurderinger
[Linux] How to get Logitech steering wheels working properly on Ubuntu (G25/G27/DF/DFP/DFGT/MF/MR)
Av JD
Through the tool LTWheelConf[github.com] it is possible on Ubuntu get to fully working (separate axes, full wheel range, clutch pedal, H-shifter) the following Logitech steering wheels:
  • Driving Force
  • Momo Racing
  • Momo Force
  • Driving Force Pro
  • Driving Force GT
  • G25
  • G27
2
   
Utmerkelse
Favoritt
Favoritter
Fjern som favoritt
Get LTWheelConf
Unfortunately it is not available directly as a binary, but you can easily compile it using the following commands:

Get some dependencies
sudo apt-get install libusb-1.0-0-dev git jstest-gtk joystick

Download the source

Build the source
cd LTWheelConf
make

You should now have an executable named ltwheelconf.

Install
sudo cp ltwheelconf /usr/local/bin/
Use LTWheelConf
List all found/supported devices
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
sudo ltwheelconf --wheel <your-wheel-shortname> --nativemode

[/b]Set wheel rotation range of 900 degrees[/b]
sudo ltwheelconf --wheel <your-wheel-shortname> --range 900

Examples:
Put wheel into native mode:
$ sudo ltwheelconf --wheel G25 --nativemode
Set wheel rotation range to 540 degree:
$ sudo ltwheelconf --wheel G27 --range 540
Set moderate autocenter:
$ sudo ltwheelconf --wheel DFP --autocenter 100 --rampspeed 1
Disable autocenter completely:
$ sudo ltwheelconf --wheel G25 --autocenter 0 --rampspeed 0
Set native mode, disable autocenter and set wheel rotation range of 900 degrees in one call:
$ sudo ltwheelconf --wheel DFGT --nativemode --range 900 --autocenter 0 --rampspeed 0


Now you can configure the steering wheel directly from Euro Truck Simulator 2. To test and calibrate the steering wheel outside ETS2 you can use jstest-gtk
Automagically invokes LTWheelConf
We can 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 <your-wheel-shortname>!):
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:
sudo service udev restart
Supported distributions
Tested on
  • Ubuntu 13.04 (x86)
  • Ubuntu 12.04 LTS (x64)

Let me know if it works on other distributions.
44 kommentarer
Pong [Linux] 1. nov. 2020 kl. 7.23 
Now, only force feedback is still missing ... :macface:
Pong [Linux] 1. nov. 2020 kl. 7.23 
Also works with Ubuntu 20.02 LTS! Great! :steamhappy:
Revan 1. nov. 2020 kl. 7.14 
Very helpful! Thanks :47_thumb_up:
LiNuX-leillo 6. apr. 2020 kl. 4.48 
This guide is outdated. The best way to use Logitech Wheels on Linux and get Force Feedback in ETS2 and ATS is using the new driver "new-lg4ff" ( https://github.com/berarma/new-lg4ff ) and "Oversteer" ( https://github.com/berarma/oversteer ) or "PyLinuxWheel" ( https://gitlab.com/OdinTdh/pyLinuxWheel ) to configure it. Cheers!
Primal Fear 5. apr. 2020 kl. 23.11 
Nice tutorial, I only had one issue with the udev rule. At least for my Driving Force GT ATTRS{idProduct}=="c294" is not correct an actually has to end with an "a" instead of a 4.
I could simply figure out the correct id with "sudo ltwheelconf --list" in Terminal.

Now I can play Dirt Rally perfectly fine under Linux.
Patola [Linux] 9. juni 2019 kl. 19.41 
@Teppey71 is your driver closed-source or open-source? I'd very much like to read its code and maybe recompile it for my ARM devices, just to see how it works. Are you willing to share the code?
Barbabranca 9. mars 2019 kl. 4.47 
I'm glad that now there's a plugin to fix FFB. However, it's very weak in my DFGT, no matter how I set the in-game FFB sliders. Anyone else experiencing this? Any solutions?
LiNuX-leillo 14. jan. 2019 kl. 9.20 
@SwagiYo, take a look on this:
https://github.com/ValveSoftware/Proton/issues/908#issuecomment-441121216

Is not a problem of Wine or Proton. A game update broke the FF support
SwagiYo 8. des. 2018 kl. 8.51 
Hi all, how do i get FFB working in Project cars 2? everything else works fine.

OS: Linux Mint 19 Cinnamon 3.8.9
Wheel: G27
Kernel: 4.15.0-38-generic

Im a linux newbie, so please be clear on what to do.

Thanks in advance :-)