Difference between revisions of "Using Simucube wheel base in Linux"

From Granite Devices Knowledge Wiki
Jump to: navigation, search
[checked revision][checked revision]
(Some colors, make single root command more visible.)
Line 4: Line 4:
  
 
The latest True Drive releases added some missing descriptors needed by Linux, the bellow tutorial lists the extra changes needed.
 
The latest True Drive releases added some missing descriptors needed by Linux, the bellow tutorial lists the extra changes needed.
 +
 +
Note: There are reports that the "old" plain wine does not work. You must use proton-wine, then it will work. Also Simucube Tuner should work for the wheelbase.
  
 
<span style="color:red">Important: the only command to run as root on this guide is in red</span>.
 
<span style="color:red">Important: the only command to run as root on this guide is in red</span>.

Revision as of 23:47, 7 June 2025

Simucube 2 on Linux

This is a ‘Extraction’ from the forum topic: Driving Simulator for Vehicle Research, the credits of being able to write this guide goes to all that commented on that thread. Very special thanks to Sergio Rafael Lemke.

The latest True Drive releases added some missing descriptors needed by Linux, the bellow tutorial lists the extra changes needed.

Note: There are reports that the "old" plain wine does not work. You must use proton-wine, then it will work. Also Simucube Tuner should work for the wheelbase.

Important: the only command to run as root on this guide is in red.

You can repeat this process as many times as you want, if something does not work, remove /home/username/simucube and try again.

Have wine installed on your distro.
  • To isolate this True Drive from the main wine setup we will use a dedicated WINEPREFIX, you can use whatever WINEPREFIX name you want, think of it as sandbox that you can delete and recreate if something goes wrong.
  • In order to avoid special character expansion problems, as users may use different shells, the next commands uses username, please adapt to your username, which you can get with the terminal command: whoami
mkdir /home/username/simucube
  • Now we need to do some regedit changes, but those changes will only apply to the WINEPREFIX we created above:
WINEPREFIX="/home/username/simucube" wine regedit
  • In the windows registry that opened with the command above, create the bellow 2 registry entries:

Right click on the bellow entry->New->DWORD value, and set to "0"

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\winebus

The DWORD to add and set to 0 is:

Enable SDL

And:

Right click on the bellow entry->New->DWORD value, and set to "1"

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\winebus

The DWORD to add and set to 1 is:

DisableInput
  • Now we can already install Truedrive:
WINEPREFIX="/home/username/simucube" wine Simucube_2_True_Drive_version.exe

Create the bellow file and add(You can add all or only your model, doesn't really matter):

vim /etc/udev/rules.d/72-simucube.rules

#Simucube 1:

KERNEL=="hidraw*", ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="0d5a", MODE="0660", TAG+="uaccess"


#Simucube 2 Sport:

KERNEL=="hidraw*", ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="0d61", MODE="0660", TAG+="uaccess"


#Simucube 2 Pro:

KERNEL=="hidraw*", ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="0d60", MODE="0660", TAG+="uaccess"


#Simucube 2 Ultimate:

KERNEL=="hidraw*", ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="0d5f", MODE="0660", TAG+="uaccess"


#Needed for firmware upgrade(Works for all Simucube 2 models):

KERNEL=="hidraw*", ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="0d5e", MODE="0660", TAG+="uaccess"


#Needed for firmware upgrade (Simucube 1):

KERNEL=="hidraw*", ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="0d5b", MODE="0660", TAG+="uaccess"

  • Power on the Simucube 2 base, open True Drive (you probably have an icon in the wine submenu).
  • Don't forget to enable high torque.

This tutorial was created based on: OpenSUSE Tumbleweed and Slowroll, should work equally on other distros.