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

From Granite Devices Knowledge Wiki
Jump to: navigation, search
[quality revision][checked revision]
m (Simucube 2 on Linux)
 
(2 intermediate revisions by one other user not shown)
Line 56: Line 56:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
| WINEPREFIX="home/username/simucube" wine Simucube_2_True_Drive_version.exe
+
| WINEPREFIX="/home/username/simucube" wine Simucube_2_True_Drive_version.exe
 
|}
 
|}
  
Line 88: Line 88:
  
  
<nowiki>#Needed for firmware upgrade(Works for all models):</nowiki>
+
<nowiki>#Needed for firmware upgrade(Works for all Simucube 2 models):</nowiki>
  
 
KERNEL=="hidraw*", ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="0d5e", MODE="0660", TAG+="uaccess"
 
KERNEL=="hidraw*", ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="0d5e", MODE="0660", TAG+="uaccess"
 +
 +
 +
<nowiki>#Needed for firmware upgrade (Simucube 1):</nowiki>
 +
 +
KERNEL=="hidraw*", ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="0d5b", MODE="0660", TAG+="uaccess"
 +
 
|}
 
|}
  

Latest revision as of 16:29, 21 November 2024

Simucube 2 on Linux[edit | edit source]

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.[edit | edit source]

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

Install Wine, preferably wine >= 7.17
  • 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 use username, please adapt to your username, which you can get with the 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), see it if connects.
  • If you cannot open the online profiles, you probably need to import the .exe from the wineprefix used above into Steam.
  • Then set the True Drive entry created on steam to use proton (in compatibility mode), start testing with Proton 7 as this one works fine.

This tutorial was created based on: OpenSUSE Leap 15.4 && 15.5, it should work also in other distros.