Gasia PS3 controller doesn't work?

Post here to get support
Locked
PhilCamb
Beginner
Posts: 4
Joined: Wed Nov 04, 2015 9:11 pm

Gasia PS3 controller doesn't work?

Post by PhilCamb »

Hi,
I bought a PS3 controller cheaply off Ebay, but it turns out to be a clone - it identifies as 'Gasia' when I plug it via USB to my Linux laptop.

Code: Select all

Dec 13 17:32:16 ThinkPad kernel: [  815.460423] usb 2-1.2: New USB device found, idVendor=054c, idProduct=0268
Dec 13 17:32:16 ThinkPad kernel: [  815.460433] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Dec 13 17:32:16 ThinkPad kernel: [  815.460438] usb 2-1.2: Product: PS(R) Gamepad
Dec 13 17:32:16 ThinkPad kernel: [  815.460442] usb 2-1.2: Manufacturer: Gasia Co.,Ltd
Dec 13 17:32:16 ThinkPad kernel: [  815.463934] input: Gasia Co.,Ltd PS(R) Gamepad as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/0003:054C:0268.0003/input/input16
Dec 13 17:32:16 ThinkPad kernel: [  815.517997] sony 0003:054C:0268.0003: input,hiddev0,hidraw0: USB HID v1.11 Joystick [Gasia Co.,Ltd PS(R) Gamepad] on usb-0000:00:1d.0-1.2/input0
Dec 13 17:32:16 ThinkPad mtp-probe: checking bus 2, device 6: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2"
Dec 13 17:32:16 ThinkPad mtp-probe: bus: 2, device: 6 was not an MTP device
Dec 13 17:32:16 ThinkPad upowerd[1062]: (upowerd:1062): UPower-Linux-WARNING **: no valid voltage value found for device /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/0003:054C:0268.0003/power_supply/sony_controller_battery_00:26:5c:3e:02:00, assuming 10V
The Cfclient program sees the controller,

Code: Select all

INFO:cfclient.ui.main:Role of Gasia Co.,Ltd PS(R) Gamepad is Device
INFO:cfclient.utils.input.mux:Adding device Gasia Co.,Ltd PS(R) Gamepad to MUX Normal
However, I can't get the program to detect any input from the controller. In the Flight Control tab, it has Thrust at 79% while no buttons are pressed. Attempting to configure device mapping doesn't seem to do anything either - I assume that it should register button presses, but nothing happens.

What am I doing wrong, please?

Many thanks
Phil
chad
Expert
Posts: 555
Joined: Sun Sep 28, 2014 12:54 am
Location: New York, USA
Contact:

Re: Gasia PS3 controller doesn't work?

Post by chad »

On my Sony branded PS3 controllers, when plugged in via USB, it seems I always have to hit the PS3 button before the controller starts sending output. Maybe it's something this simple? Also, just an FYI (and your experience may vary), I first used a cheap PS3 knock-off controller and had a lot of trouble controlling the Crazyflie because the granularity of the control was not particularly fine. It was a night and day experience when I had a chance to use a "real" PS3 controller. That said, your mileage might vary. ;)
Crazyflier - my CF journal...
4x Crazyflie Nano (1.0) 10-DOF + NeoPixel Ring mod.
3x Crazyflie 2.0 + Qi Charger and LED Decks.
Raspberry Pi Ground Control.
Mac OS X Dev Environment.
Walkera Devo7e, ESky ET6I, PS3 and iOS Controllers.
PhilCamb
Beginner
Posts: 4
Joined: Wed Nov 04, 2015 9:11 pm

Re: Gasia PS3 controller doesn't work?

Post by PhilCamb »

No, pressing the PS3 button doesn't seem to make any difference. Thanks anyway. And no, I didn't mean to buy a clone, it wasn't advertised as such :-)
I just want to know whether anyone else has got a Gasia unit working before I give up and throw it back at the vendor!
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: Gasia PS3 controller doesn't work?

Post by arnaud »

One way to test if your gamepad is working is to install and launch jstest-gtk.

Assuming you are using Ubuntu:

Code: Select all

$ sudo apt-get install jstest-gtk
$ jstest-gtk
If it is working on jstest it should work making a new mapping in the client (otherwise you are hitting a bug).
Locked