Page 1 of 1

Gasia PS3 controller doesn't work?

Posted: Sun Dec 13, 2015 5:38 pm
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

Re: Gasia PS3 controller doesn't work?

Posted: Sun Dec 13, 2015 7:01 pm
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. ;)

Re: Gasia PS3 controller doesn't work?

Posted: Sun Dec 13, 2015 7:44 pm
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!

Re: Gasia PS3 controller doesn't work?

Posted: Mon Dec 14, 2015 10:58 am
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).