Difference between revisions of "Using Simucube wheel base in Linux"
[checked revision] | [quality revision] |
(→This is a ‘Extraction’ from the forum topic: Driving Simulator for Vehicle Research, the credits for me being able to write this guide goes to all that commented on that thread.) |
|||
(One intermediate revision by the same user not shown) | |||
Line 86: | Line 86: | ||
KERNEL=="hidraw*", ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="0d5f", MODE="0660", TAG+="uaccess" | KERNEL=="hidraw*", ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="0d5f", MODE="0660", TAG+="uaccess" | ||
+ | |||
+ | |||
+ | <nowiki>#Needed for firmware upgrade(Works for all models):</nowiki> | ||
+ | |||
+ | KERNEL=="hidraw*", ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="0d5e", MODE="0660", TAG+="uaccess" | ||
|} | |} | ||
Revision as of 10:02, 9 February 2024
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.
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"
KERNEL=="hidraw*", ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="0d61", MODE="0660", TAG+="uaccess"
KERNEL=="hidraw*", ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="0d60", MODE="0660", TAG+="uaccess"
KERNEL=="hidraw*", ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="0d5f", MODE="0660", TAG+="uaccess"
KERNEL=="hidraw*", ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="0d5e", 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.