Skip to content


Play games on Nokia N900 with PS3 Sixaxis controller

A Taste Of Things To Come

Set-up the controller

This is an excerpt of an earlier post.

SIXAXIS needed to be paired with N900. You need to know the BT address of the phone. Go to Settings -> Product information and find out your Bluetooth address: 34:7E:39:4A:37:XX.

Then you need to connect PS3 SIXAXIS to your PC with the USB cable.

Use the sixpair tool. You may compile it yourself

sudo apt-get install libusb-dev
wget http://www.pabr.org/sixlinux/sixpair.c
gcc sixpair.c -lusb -o sixpair

or just download my precompiled binary.
Next, write your N900 Bluetooth address into your controller:

sudo ./sixpair 34:7E:39:4A:37:XX   # your N900 BD address

Windows should download Linux LiveCD and use it to run sixpair.

Install software

Install
Open Web Browser (MicroB) on your N900 and tap the green install arrow:

Usage

  1. Activate Bluetooth on N900
  2. Press PS button on controller – this will launch sixad via udev
  3. Wait for the BT icon to turn blue and sixaxis LEDs stop flashing
  4. Map keys in your console emulator settings by pressing buttons on controller.
    Left stick simulates mouse movement, right stick simulates scroll wheels, directional pad simulates arrow keys and buttons are mapped as on the following picture:
  5. HAVE FUN!
  6. Click here to lend your support to: sixaxis-support and make a donation at www.pledgie.com !

TIPS

  • To disconnect SIXAXIS just turn off Bluetooth on N900
  • To re-pair controller with PS3, connect it with USB cable to PS3 and press PS button.

THANKS TO


Posted in Maemo.

Tagged with , , , , , , , .


57 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. AtteK0 says

    I´m practically drooling already :)

  2. f2thak says

    man!!! i wish i didnt rush out and buy 2 wiimotes a few days ago.. i dont even have a wii..

  3. The Quote Train says

    Would this work for multi-player SNES…i.e 2 PS3 Controllers?

  4. Hessu says

    Doesn’t work! :(

  5. f2thak says

    works with up to 7 controllers, the above instructions are a little vague…..

  6. crs says

    I have no clue what these instruction mean… Any chance of laymans terms?

  7. Mafaioz says

    Hah, fix this for HTC touch pro 2 wm6.5 and il fucking Cry like a baby :D

  8. crs says

    1. Update the kernel

    Get kernel-modules package and dpkg -i it(DO YOU MEAN TYPE THIS IN X-TERMINAL?), or just tap kernel-modules.install from N900 MicroB.
    Get zImage-2.6.28-20094803.3+0m5+0hid0 to your workstation (DO YOU MEAN MY PC?) and reflash kernel:
    $ sudo flasher-3.5 -f -k zImage-2.6.28-20094803.3+0m5+0hid0 -R2 (X-TERMINAL?). Install XOrg joystick driver

    Get xserver-xorg-input-joystick package and dpkg -i it, or just tap xserver-xorg-input-joystick.install from N900 MicroB.
    3. Install SixA daemon
    Get sixad package and dpkg -i it, or just tap sixad.install from N900 MicroB.

  9. Jason says

    Does this work with the DualShock or only SixAxis?

  10. Tomasz Sterna says

    Dualshock is Sixaxis with added rumble, so yes it does work with Dualshock.

  11. AtteK0 says

    I just bought a Sixaxis. This guide does not seem to work. Any idea when we will get a more complex and complete guide just for the N900 bundled with the sources? Also, some people must be guided through the flashing, since it is, although fairly simple, something non-linuxpeople find a little bit hard to do.

    If the whole thing is that simple, how do you start up sixaxisd or sixpair or sixad? The guide should be more specific regarding the end :) The program is showing in the uninstallation menu but checking everywhere (eg /dev/… and /usr/…) I am really out of ideas here.

    But nice work. This is just the thing I have been waiting for…

  12. Razi says

    I followed the steps above, I turned the N900 bluetooth on, but the PS3 controller failed to connect with N900… what did I miss there?

  13. Tomasz Sterna says

    I never said this was easy. In fact getting things click took me some time and research. You are expected to know what you are doing before proceeding.

    Sources are available as Debian source packages. Just add deb-src lines duplicating the deb lines in /etc/apt/sources.list or get them directly from apt repository pool.

    If you do not know what the hell am I talking about, you should not attempt to install these packages on your device. It’s very hard to brick N900, but you may be the (un)lucky one to succeed.

    A good place to ask questions and look for help is the Maemo forum: http://talk.maemo.org/showthread.php?t=41693

  14. Tomasz Sterna says

    Razi: I forgot to describe the pairing procedure. Please follow the 0 paragraph.

  15. AtteK0 says

    For people using Ubuntu 9.10:
    while compiling the sixpair.c (gcc sixpair.c -lusb -o sixpair) you will get an error. Several errors…
    You have to use the following:

    sudo apt-get install libusb-dev

  16. AtteK0 says

    !!!
    If you flash your Kernel you prevent N900 from updating its firmware on it`s own. You will need a computer to do that in the future, so beware.
    !!!
    For anyone getting a error message using the easy installation this is exactly the issue…
    http://wiki.maemo.org/Extras/3rd_Party_Package_Policy

  17. AtteK0 says

    One more message: IT WORKS!!!
    Thank you Smoku. Using this guide my Sixaxis Dualshock 3 is working great!

    There is absolutely no lag.

  18. Matt says

    It keeps asking me

    Accept connection with device?
    PLAYSTATION(R)3 Controller

    one time after another. Where could I be wrong?

  19. crs says

    So by doing this you disable the n900′s internal update OS feature and you have to manually do it using the PC?

    I think this needs to be clearly outlined in the guide as if I had done this on my n900 and found out this on a comment afterwards I would have been very pissed

  20. Tomasz Sterna says

    AtteK0: thanks for usefull tips. Added to the guide.
    I’ve updated the sixaxis-support package to no longer lock the kernel version. It should install fine now.

  21. Tomasz Sterna says

    Ok. I simplified the installation process to just tapping the green install arrow. :)

  22. crs says

    Can you please be more clear on your posts… Do we still have to do the set up the controller section before “just tapping the green arrow” or do we bypass the controller seciton and simply only download the package and install?

  23. Inchoately says

    works great, 1000 thumbs up :)

  24. Dirk says

    It worked fine with me! My controller only fails to connect to my ps3… I’ve already put in the Bluetooth adress of the system back into the controller, but does not seems to help. Can someone help me with this problem?

  25. Tomasz Sterna says

    You need to connect your controller to the PS3 with USB cable and press the PS button on the controller.

    The controller can be paired with only one device at one time.

  26. f2thak says

    Full detailed help here, just for reference.
    Mainly for Windows users.

    http://talk.maemo.org/showpost.php?p=517534&postcount=220

  27. Steven Goacher says

    Fantastic work Tomasz. This is the sort of thing that demonstrates how great a platform the N900 is. I’ve been trying to use a bluetooth mouse with the N900 (my preferred controller for FPS games) and I notice that its config doesn’t exist too well with the sixaxis controller. One needs to ensure the input plugin isn’t disabled in /etc/bluetooth/main.conf for the mouse to work, and is disabled for the sixaxis to work. It’s easy enough to turn this config on or off but it would be nice if there was no need. Also, my attempt to get mouse working isn’t quite there because the response is far too sensitive to be usable. Any ideas?

  28. Tomasz Sterna says

    With desktop Ubuntu Linux BlueZ is enough to have a working PS3 controller (and BT mouse, BT keyboard and you-name-it).
    Unfortunately Nokia is trying hard to lock us out of non nokia-blessed hardware and ships castrated Linux/BT stack and we need to patch it with such problematic solutions.

  29. Köksal Dulkadir says

    Tomasz,

    when I unpack your precompiled binary I get a error (unpacking failed) and when I try to compile it myself I get an error to (“the command “l” of -lusb is unknown).

    I use ubuntu. what am I doing wrong? and a third (perhaps stupid question: how do I install sixpair? )

    thanks for your help and great work

  30. Tomasz Sterna says

    $ wget http://tomasz.sterna.tv/uploads/2010/02/sixpair.gz
    2010-04-21 09:59:49 (558 KB/s) – zapisano `sixpair.gz’ [4485/4485]
    $ gzip -d sixpair.gz
    $ chmod +x sixpair
    $ ./sixpair
    No controller found on USB busses.

    No problems here…

  31. Köksal Dulkadir says

    allright, I am gonna try it tonight Tomasz.
    thanks for the help.

  32. Köksal Dulkadir says

    damn Tomasz, I am really stupid sometimes….It works fine now!
    thanks for the help and forgive me my stupidness (I forgot to connect my laptop with internet :D)

  33. eli says

    Hey this is cool as hell. Any chance this can get ported for android os? I have a droid and this would be grate for it

  34. Tomasz Sterna says

    The code of sixad is straighforward, so it should be easy to rewrite it for Android for someone with good Android coding skills.

  35. Taimur says

    Hi Tomasz,

    I installed sixad and sixaxis-support from the application manager, I followed your tutorial by using sixpair to write to the PS3 controller. However, whenever now I try to pair the controller with the n900, i keep getting the following message pop up on the device:

    “Accept connection with device?
    PLAYSTATION(R)3 Controller”

    even when I press “yes’ it keeps popping up multiple times and the controller never pairs..

    suggestions?

  36. Tomasz Sterna says

    Read Steven Goacher’s comment.
    You need to disable “input” in /etc/bluetooth/main.conf

  37. calagan says

    Thank you very much! I had a blast playing SuperTux with my Sixaxis, it worked right away, without any key mapping config.

    Given that it’s very similar, I was wondering if there was any way to pair the PS3 BD remote with the N900, the problem being that it doesn’t have a USB connector? This could be nice, when playing videos on the TV.

Continuing the Discussion

  1. Nokia N900, эмулятор SNES и джойстик Sixaxis от PS3 | MAEMOs.RU - Все о Maemo и Nokia N900 в России. linked to this post on 4 February 2010

    [...] очень продвинутых пользователей N900 инструкция тут http://tomasz.sterna.tv/2010/02/play-games-on-nokia-n900-with-ps3-sixaxis-controller/ 3  |  Maemo, N900, Nokia N900, PS3, SixAxis, [...]

  2. Tech Ticker | Wiimote used to play Duke Nukem and Sixaxis for SNES games on N900 linked to this post on 5 February 2010

    [...] + Wiimote combo but if you’re willing to play classic SNES games with PS3 controller, head over here to read the full [...]

  3. Sixaxis Controller to Play SNES Games on Nokia N900 linked to this post on 5 February 2010

    [...] can follow these instructions Share and [...]

  4. Nokia N900 und Playstation-Controller koppeln und zum Spielen nutzen » N900, Bluetooth, Anschluss, Playstation-Controller, Sterna, Tomasz » mobiFlip.de linked to this post on 5 February 2010

    [...] ermöglichen diverse Spiele auf dem Geräte zu zocken, seht Ihr in folgendem Video, wie es Tomasz Sterna gelungen ist, einen Playstation-Controller mit dem N900 via Bluetooth zu [...]

  5. Use A Sixaxis Controller To Play Emulated Games On Your N900 | Gizmodo Australia linked to this post on 5 February 2010

    [...] to play emulated games on the device. Thanks to these instructions, now you finally can. [Aberration] Tagged:controllersdiyemulatorsgamesgamingn900nokianokia n900peripheralssixaxis [...]

  6. Nokia N900 + SNES Emulator + PS3 Controller = Portable geek bliss linked to this post on 5 February 2010

    [...] Some nerds (and we mean that in the most positive of ways) have managed to get a PS3 Sixaxis controller to pair with the N900, and they’ve modified the SNES emulator to play friendly with it. Best of all, they were nice enough to write up a set of instructions and share it with everyone. It is by no means for the faint of heart — there’s a good bit of manual hackery to be done, at this point — but if you’re ready to dive in, you can find the instructions here. [...]

  7. Sit down iPhone. The best portable gaming platform ever: Nokia N900 + SNES Emulator + PS3 controller. « Gadgetsteria linked to this post on 5 February 2010

    [...] of the human race, the instructions on how to tackle the feats seen in the movie below can be found right over here. But before you jump over there, be sure to give the video below a [...]

  8. NOKIA N900 i kontroler PS3! | Mobile990 linked to this post on 5 February 2010

    [...] z Maemo dla NOKII N900 dodając obsługę pada do gier! Po wykonaniu kilku czynności opisanych tutaj wszystko powinno pięknie działać, a do tego można podłączyć sprzęt do telewizora za pomocą [...]

  9. Gaming on N900 with PS3 Sixaxis Controller | Nokia N900 Blog linked to this post on 8 February 2010

    [...] that is something you fancy doing to your N900, I would suggest you drop by Aberration’s blog. Honestly, I wouldn’t dare fiddle around with the kernel of Maemo, but then there are score [...]

  10. PS3 Sixaxis Nokia N900′de Kullanılır Mı? | Cep2Wap linked to this post on 8 February 2010

    [...] sitesinde, kısa bir anlatım ve önemli ipuçları da atlanmamış. İlgili sayfalara hemen burada yer alan bağlantıdan [...]

  11. So Just How Versatile is the Nokia N900? linked to this post on 9 February 2010

    [...] the Nokia N900 has TV-out function, the player can follow the action of an immensely big HDTV! The instructions for the set-up are a bit complicated, but it should be cakewalk for anyone versed in Linux. The N900 runs on [...]

  12. Video: Nokia N900 emulando SNES en una TV externa y con un mando de PS3 | TecnoBlog linked to this post on 9 February 2010

    [...] Si eres uno de los afortunados poseedores de un Nokia N900, y te gustaría poder ocupar tu mando de PS3 con el equipo, simplemente tendrás que seguir estas fáciles instrucciones. [...]

  13.   Use your Nokia N900 to play SNES games by Gadzooki linked to this post on 11 February 2010

    [...] though. Unfortunately N900’s Maemo does not come with joystick and mouse support in kernel. These instructions will help you reconfigure the device’s kernel to enable joystick device and mouse [...]

  14. Could the PS3 Controller Hack for the Nokia N900 Signal A New Direction for Mobile Gaming? | eHomeUpgrade linked to this post on 12 February 2010

    [...] if this functionality were available out of the box. Nokia N900 hack instructions available here. [...]

  15. Le N900 est une PS3 | MobileHub : le blog des smartnautes linked to this post on 14 February 2010

    [...] Source [...]

  16. PCSX for Maemo – Aberration linked to this post on 1 March 2010

    [...] the work on connecting PS3 controller to N900, I am working on PSX [...]

  17. Two SIXAXIS/DUALSHOCK 3 controllers support for Nokia N900 | Aberration linked to this post on 15 March 2010

    [...] updated my SIXAXIS Support for N900 packages with support for two PS3 controllers. You may use up to 8 controllers at once, but in the [...]

  18. PlayStation 3 Wireless Sixaxis Controller | PS3 On Sale linked to this post on 28 May 2010

    [...] Play games on Nokia N900 with PS3 Sixaxis controller | Aberration [...]

  19. Como configurar o Controle Sixaxis do Playstation 3 no N900 | Free Bird linked to this post on 1 June 2010

    [...] configurado dentro das opções de controle dos emuladores. O post foi montado tendo como base o tutorial de uso do sixaxis no N900 e complementado com informações de configuração para o Windows, [...]

  20. 50 Tips for Your N900 linked to this post on 15 June 2010

    [...] An oldie-but-goodie: use a PS3 controller to play the games on the N900. [...]



Some HTML is OK

or, reply to this post via trackback.