Difference between revisions of "Using Simucube wheel base in Linux"
[checked revision] | [checked revision] |
m (→Simucube 2 on Linux) |
(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. | ||
+ | |||
+ | <span style="color:red">Important: the only command to run as root on this guide is in red</span>. | ||
+ | |||
+ | You can repeat this process as many times as you want, if something does not work, remove <span style="color:#1E90FF">/home/username/simucube </span> and try again. | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
− | | | + | | 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. | * 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 | + | * In order to avoid special character expansion problems, as users may use different shells, the next commands uses username, please adapt to your <span style="color:#1E90FF">username</span>, which you can get with the terminal command: '''whoami''' |
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
− | | mkdir /home/username/simucube | + | | mkdir /home/<span style="color:#1E90FF">username</span>/simucube |
|} | |} | ||
Line 23: | Line 27: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
− | | WINEPREFIX="/home/username/simucube" wine regedit | + | | WINEPREFIX="/home/<span style="color:#1E90FF">username</span>/simucube" wine regedit |
|} | |} | ||
Line 56: | Line 60: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
− | | WINEPREFIX="/home/username/simucube" wine Simucube_2_True_Drive_version.exe | + | | WINEPREFIX="/home/<span style="color:#1E90FF">username</span>/simucube" wine Simucube_2_True_Drive_version.exe |
|} | |} | ||
Line 62: | Line 66: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
− | | vim /etc/udev/rules.d/72-simucube.rules | + | | <span style="color:red">vim /etc/udev/rules.d/72-simucube.rules</span> |
|} | |} | ||
Line 99: | Line 103: | ||
|} | |} | ||
− | * Power on the Simucube 2 base, open True Drive (you probably have an icon in the wine submenu) | + | * 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: | This tutorial was created based on: | ||
− | OpenSUSE | + | OpenSUSE Tumbleweed and Slowroll, should work equally on other distros. |
[[Category:Software]] | [[Category:Software]] |
Latest revision as of 09:14, 26 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.
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"
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"
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.