Install the updated RealSimGear USB driver

When using some of the newer RealSimGear hardware on a Mac, customers will need to install updated USB drivers. As of August, 2020, the hardware that requires this USB driver include:

  • G1000 PFD/MFD units shipped after April 1, 2020
  • G5 units

** Additional units will begin to make use of this new USB driver in the future.

Any other units will use/require the generic Arduino drivers, which can be installed by installing the Arduino IDE from https://arduino.cc.

As Linux has many flavors and builds, it can be somewhat difficult to build a version of the driver that works on each system. However, if using Linux, you attempt to use a pre-compiled version of the library. The provided version was compiled on an Ubuntu 19.10 system using the 5.3.0-51 kernel.

NOTE: Working with the Linux version does require basic to intermediate level understanding of working with the Linux operating system. If you are not comfortable installing or compiling drivers, we strong suggest you consider using a Windows based version of X-Plane.

Pre-Compiled Option

1. Download the pre-compiled package from HERE.

2. Open up a command line/terminal session.

3. Back up the existing CH34x driver (if found):
sudo mv /usr/lib/modules/$(uname -r)/kernel/drivers/usb/serial/ch34x.ko /lib/modules/$(uname -r)/kernel/drivers/usb/serial/ch34x.ko~

4. Unzip the file downloaded in Step 1:
gunzip ~/Downloads/ch34x.ko.gz

5. Change permissions on the file:
sudo chown root:root ch34x.ko

6. Move the file downloaded in Step 1, to the driver folder:
sudo mv ~/Downloads/ch34x.ko /usr/lib/modules/$(uname -r)/kernel/drivers/usb/serial

7. Update user permissions to allow current user to access the USB/Serial ports:
sudo usermod -a -G dialout $USER
8. Add a custom udev rule to allow for proper identification of the RealSimGear units
8a. Download the udev rule from HERE.
8b. Unzip the downloaded file which will result in a file name '60-serial.rules' and move it to '/etc/udev/rules.d'

gunzip ~/Downloads/60-serial.rules.gz
sudo mv ~/Downloads/60-serial.rules /etc/udev/rules.d

9. Reboot your system to ensure the driver is loaded and new permissions are granted.

Once rebooted, if you connect the USB cable to the G1000 to your Linux machines, the correct drivers should be loaded and the device will be ready for use.

You will still need to load the RealSimGear Plugin, as outlined HERE.

Manually Compile Driver
If the above method does not work for you, then you will need to perform the manually compile method. Note, this option may need additional dependencies installed on your system that may not be reflected in this document.

1. Download the driver package from HERE.

2. Unzip the package to a working folder of your choice:
cd <working folder>
mv ~/Downloads/RSG_CH34x_Linux_Driver.tar.gz .
gunzip RSG_CH34x_Linux_Driver.tar.gz
tar -xvf RSG_CH34x_Linux_Driver.tar

3. Navigate into the resulting folder:
cd RSG_CH34x_Linux_Driver

4. Issue the 'make' command to build the driver package (may require installation of additional dependencies):
sudo make

5. If you did not back up the old driver in the 'Pre-Compiled Option' section, do so now:
sudo mv /usr/lib/modules/$(uname -r)/kernel/drivers/usb/serial/ch34x.ko /lib/modules/$(uname -r)/kernel/drivers/usb/serial/ch34x.ko~

6. Copy the new driver gzip file to the drivers folder:
sudo mv ch34x.ko /usr/lib/modules/$(uname -r)/kernel/drivers/usb/serial

7 . If you did not update the user permissions in the 'Pre-Compiled Option' section, do so now:
sudo usermod -a -G dialout $USER

8. Add a custom udev rule to allow for proper identification of the RealSimGear units
8a. Download the udev rule from HERE.
8b. Unzip the downloaded file which will result in a file name '60-serial.rules' and move it to '/etc/udev/rules.d'

gunzip ~/Downloads/60-serial.rules.gz
sudo mv ~/Downloads/60-serial.rules /etc/udev/rules.d

9. Reboot your system to ensure the driver is loaded and new permissions are granted

Install the RealSimGear Plugin

NOTE: For best results you should remove the old version of the plugin before installing this new version.

The button above will start a download of the Plugin in .zip format. Typically unless a user specifies otherwise, this is downloaded to the "Downloads" folder.

  1. Find the downloaded RealSimGear-Linux.zip file downloaded above
  2. Double click on that file, which in most cases will extract a folder named "RealSimGear"
  3. Copy the entire "RealSimGear" folder to the X-Plane plugins folder, typically located at ..\X-Plane 11\Resources\plugins

Please note, the location of your X-Plane folder will be dependent on where you originally installed X-Plane, but by default, will be on your "Desktop".

After installation, your plugin folder should look similar to this:

NOTE: If using X-Plane for Linux, you will need to add your user to the "dialout" group in order for X-Plane to run in user mode. You can also run X-Plane as root, which is not possible, but not recommended. To add your use to the "dialout" group:

1. Open a Linux terminal and type in the following:

sudo usermod -a -G dialout $USER

2. You will likely need to log out and back in for the new group to take effect.

Aircraft Specific Configs

This version of the plugin now also allows for aircraft specific CommandMapping.ini files. Simply copy the CommandMapping.ini file from the RealSimGear plugin folder to the root of the specific aircraft folder, and modify as necessary. This plugin will attempt to use those files first, and then fall back to the generic version if nothing specific is found. For example using this for the HotStart TBM900 would result in a custom CommandMapping.ini file in the ..\X-Plane\Aircraft\X-Aviation\TBM900 folder.

For users of older GNS430 and GNS530 units, this plugin may no longer detect those units. If that is the case, please update the GNS430/530 firmware by following THESE instructions.

Did this answer your question?