Playstation 3 Controller under Ubuntu

Post here to get support
Post Reply
nerdOmat
Beginner
Posts: 6
Joined: Sat May 18, 2013 4:04 pm

Playstation 3 Controller under Ubuntu

Post by nerdOmat »

Hi,

I have installed the latest software (cfclient) under ubuntu like described here:
http://wiki.bitcraze.se/projects:crazyf ... ls:install

The cfclient seems to work, except, the playstation 3 controller is not working (connected by USB to the host). Under
Input Device->Devices
I can choose the controller ("Playstation(R)3 Controller"), but I can not configure it. The GUI also does not show any reaction to the inputs of the controller.

dmesg gives the following:
[ 3956.008076] usb 7-2: new full-speed USB device number 4 using uhci_hcd
[ 3956.219108] usb 7-2: New USB device found, idVendor=054c, idProduct=0268
[ 3956.219121] usb 7-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3956.219129] usb 7-2: Product: PLAYSTATION(R)3 Controller
[ 3956.219136] usb 7-2: Manufacturer: Sony
[ 3956.255257] sony 0003:054C:0268.0006: Fixing up Sony Sixaxis report descriptor
[ 3956.300321] input: Sony PLAYSTATION(R)3 Controller as /devices/pci0000:00/0000:00:1d.1/usb7/7-2/7-2:1.0/input/input19
[ 3956.302129] sony 0003:054C:0268.0006: input,hiddev0,hidraw2: USB HID v1.11 Joystick [Sony PLAYSTATION(R)3 Controller] on usb-0000:00:1d.1-2/input

There is not a single reaction of the Playstation Controller. What could be wrong?
nerdOmat
Beginner
Posts: 6
Joined: Sat May 18, 2013 4:04 pm

Re: Playstation 3 Controller under Ubuntu

Post by nerdOmat »

I forgot to mention, that I am talking about the software of the crazyflie.
derf
Expert
Posts: 163
Joined: Fri May 31, 2013 12:17 am
Location: Germany

Re: Playstation 3 Controller under Ubuntu

Post by derf »

Have you tried pressing the "PS" button on the controller?
zak
Beginner
Posts: 24
Joined: Thu Jun 06, 2013 6:53 am

Re: Playstation 3 Controller under Ubuntu

Post by zak »

That does sound pretty odd - over USB, my controller worked out-of-the-box. When you say you can't configure the controller, what exactly is happening? Can you get to the configuration screen? If you can, what happens when you click on the Configure and Detect buttons in the configuration screen? Have you pressed the PS button on the controller once you've opened the client?

Sorry to ask basic questions - just trying to work out where the problem might lie :)
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: Playstation 3 Controller under Ubuntu

Post by tobias »

You can try installing jstest-gtk from the Ubuntu software center and test your joystick in for possible problems.
Post Reply