Thursday, January 15, 2009

How to make all your controllers active at once!

Many users of x-plane in various Linux distros have reported at the relevant topic in x-plane.org forum that their controllers wouldn't be recognized by x-plane, unless they unplugged and replugged them before starting x-plane. In my occasion, I had a relevant issue with my CH peddals: I had to start x-plane, unplug the peddals, quit and restart it!

However, the user dynamic4711 announced in that post that he found a very good solution to that problem! Before starting X-Plane, execute these commands in the terminal:

sudo /sbin/rmmod ehci_hcd
sudo /sbin/modprobe ehci_hcd

What theese commands do is to simply remove the ehci_hcd module and then reloading it. Of course this will only work if nothing else is using that module, otherwise the first command will fail.

You can also make a script with theese commands and execute it before launching x-plane. The code is:

#!/bin/sh
sudo /sbin/rmmod ehci_hcd
sudo /sbin/modprobe ehci_hcd

Don't forget to make the script executable and to execute it in terminal (select "Run in terminal" from your GUI)

No comments: