Difference between revisions of "RPi"

From GIMX
Jump to: navigation, search
(Bluetooth)
(Tested setup)
Line 4: Line 4:
 
== Tested setup ==
 
== Tested setup ==
 
  * Raspberry Pi: model B, 256MB
 
  * Raspberry Pi: model B, 256MB
  * Distro: [http://www.raspberrypi.org/downloads Raspbian wheezy] (2013-07-26-wheezy-raspbian)
+
  * Distro: [http://www.raspberrypi.org/downloads Raspbian Jessie] (2015-09-24)
 
  * '''Self-powered USB hub''': Belkin 7 ports F4U017 (self-powered = with an external power supply)
 
  * '''Self-powered USB hub''': Belkin 7 ports F4U017 (self-powered = with an external power supply)
 
  * Keyboard: n25te plugged on the USB hub
 
  * Keyboard: n25te plugged on the USB hub

Revision as of 07:58, 16 October 2015

Warning: RPi support should be considered as experimental. Be prepared to face issues if you try GIMX on the RPi.

GIMX can run on many Linux targets, and the the Raspberry Pi is one of them!

Tested setup

* Raspberry Pi: model B, 256MB
* Distro: Raspbian Jessie (2015-09-24)
* Self-powered USB hub: Belkin 7 ports F4U017 (self-powered = with an external power supply)
* Keyboard: n25te plugged on the USB hub
* Mouse: Logitech G500 plugged on the USB hub
* PS3: FAT - FW 4.41
* Bluetooth dongle: Pluscom BT20 (CSR Bluecore4-rom) plugged on the USB hub
* DIY USB adapter: Teensy 2.0 + CP2102 plugged on the USB hub

Firmware update

As early firmwares had severe USB issues it is recommended to update the firmware before using GIMX.
Updating the firmware may also be useful if you plan to use a Logitech force feedback wheel (the uhid kernel module was missing in earlier firmwares).
Type the following command:

sudo rpi-update

And don't forget to reboot:

sudo reboot

Tested Rpi firmware:

pi@raspberrypi ~ $ uname -a
Linux raspberrypi 4.1.9+ #819 PREEMPT Thu Oct 1 20:31:26 BST 2015 armv6l
GNU/Linux

GIMX installation

sudo apt-get install gdebi
wget http://gimx.fr/download/gimx-raspbian -O gimx.deb
sudo gdebi gimx.deb

Stop/disable triggerhappy service

Triggerhappy is a daemon that opens every input device for reading, and that consumes a few percent of the CPU time.

It seems a good idea to stop it while running GIMX.

To stop triggerhappy:

sudo service triggerhappy stop

To disable triggerhappy:

sudo update-rc.d triggerhappy disable

Run GIMX

Read the Quick start page to learn how to run GIMX through the GUI.
A good idea is to run GIMX directly from a terminal, without starting a graphical session.
This can be done over the network, using a ssh client.
Ideally, GIMX should be launched without using the Ethernet port (because it is connected on the USB bus).
More details on command line options on this page.

Bluetooth

In a terminal:

gimx -t Sixaxis -c <config file> -b <PS3 bdaddr>

The dongle address has to be changed before running the above commands.

DIY USB adapter

In a terminal:

gimx -c <config file> -p /dev/<ttyUSB port>