Ubuntu – How to get a PS3 Sixasis Controller working via USB

peripheralsps3usb

I am trying to get a PS3 Sixaxis controller to work with Ubuntu 12.04. The ubuntu wiki page for sixaxis says to install QtSixA, which I did. The issue now is actually using the controller. I installed "SuperTux 2" to test it out. Normally, SuperTux says there is no joystick. When I plug in the PS3 Controller, and press scan, it then displays all of the controls and their assigned buttons. I can then click on a action and it will prompt me to press the button I want to assign. The issue here that pressing buttons on the controller doesn't do anything. I can't assign any of actions to a button on the controller.

The same goes for PCSX. I can configure the controller, and select the Sony Playstation(R)3 Controller from the drop down, but when I try to assign a button, pressing buttons on the PS3 controller doesn't do anything.

On the web, I see tons of guides on how to connect with Bluetooth, but my computer doesn't have a bluetooth dongle, so I just want to connect via USB.

In addition, QtSixA can see the controller too. I can "configure default profile", which I have tried, but SuperTux 2 nor PCSX react any differently…


UPDATE: Following the Ubuntu Community Guide for Sixaxis guide, I tried sudo apt-get install libusb-dev libusb-0.1-4 xserver-xorg-input-joystick, and then compiled sixpair. Running sudo ./sixpair complains about enabling bluetooth, then SuperTux 2 can't find the controller anymore when I click scan.

After reading this article, I found out I have to press the PS button to get it working… Well, that worked fine for using the controller as a POINTER device. I can now make my mouse on screen dance using the analog sticks. I am still unsure of how to get it working with SuperTux 2 and PCSX though…

When I didn't have xserver-xorg-input-joystick installed, pressing the PS button caused it connect to the PS3 in the other room as controller 2. I am very confused about what is going on right now…

Best Answer

I have read something about it and I think it would be better to connect PS3 controller using bluetooth directly. Take a look of this.

I have read your limitations, and I still think that you need to use bluetooth. you could Buy a Bluetooth USB dongle, they are cheap (dealextreme.com/p/…).

Related Question