Difference between revisions of "RPi"

From GIMX
Jump to: navigation, search
Line 33: Line 33:
 
  May  5 2013 13:06:56  
 
  May  5 2013 13:06:56  
 
  Copyright (c) 2012 Broadcom
 
  Copyright (c) 2012 Broadcom
  version 388665 (release)-->
+
  version 388665 (release)
 
+
-->
 
== GIMX installation ==
 
== GIMX installation ==
 
  wget http://gimx.fr/download/gimx-raspbian.html
 
  wget http://gimx.fr/download/gimx-raspbian.html
Line 71: Line 71:
 
  emuclient -c <config file> -t joystick -r 4 -p /dev/<ttyUSB port>
 
  emuclient -c <config file> -t joystick -r 4 -p /dev/<ttyUSB port>
  
== Kernel module for Xbox 360 gamepads ==
+
== <!--Kernel module for -->Xbox 360 gamepads ==
 
There is sadly no driver provided with the raspberrypi Linux kernel.
 
There is sadly no driver provided with the raspberrypi Linux kernel.
  
It has to be compiled for the [[RPi#Fix_for_USB_issues|kernel used above]].
+
<!--It has to be compiled for the [[RPi#Fix_for_USB_issues|kernel used above]].
  
<!--The xpad module for the [[RPi#Fix_for_USB_issues|kernel used above]] is available at: [http://diyps3controller.googlecode.com/files/lib.tar.gz link].
+
The xpad module for the [[RPi#Fix_for_USB_issues|kernel used above]] is available at: [http://diyps3controller.googlecode.com/files/lib.tar.gz link].
  
 
To install it, just unzip the archive to the root of the file system.-->
 
To install it, just unzip the archive to the root of the file system.-->

Revision as of 14:54, 20 August 2013

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 wheezy
* 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

GIMX installation

wget http://gimx.fr/download/gimx-raspbian.html
sudo dpkg -i sixemu_1.01-1_armhf.deb

Note: as of this writting, GIMX version is 1.01.

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

A good idea is to run GIMX directly from a terminal, without any desktop.

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

Before running GIMX, it is necessary to install the bluez package:

sudo apt-get install bluez

In a first terminal:

emu <PS3 bdaddr>

In a second terminal:

emuclient -c <config file>

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

DIY USB adapter

In a terminal:

emuclient -c <config file> -t joystick -r 4 -p /dev/<ttyUSB port>

Xbox 360 gamepads

There is sadly no driver provided with the raspberrypi Linux kernel.