Onepad + PS3 Controller issue on Opensuse
#1
I need some advised since i am not sure this is a bug or a problem on my end.

I am currently on opensuse tumbleweed x64, using pcsx2 package from packman repository.
Code:
http://packman.links2linux.de/package/pcsx2

Currently i have installed "pcsx2-1.3.1+git20150508.1728-2.1.i586"

First problem is that onepad does not register input buttons but the axis using the ps3 pad connected through usb cable.

Second, if i connect the pad using bluetooth, i fallowed this guide:
Code:
https://wiki.archlinux.org/index.php/Gamepad#Playstation_3_Controllers_via_Bluetooth

i got sixpair from:
Code:
https://build.opensuse.org/package/show?project=hardware&package=sixpair

all is ok but, the left stick does not responds to "left" and "right" commands while in any game.

I use KDE as desktop, the controller gets registered ok, it shows on system settings > input devices > joystiq as /dev/input/js0.

lsusb shows the control is connected:
Code:
Bus 002 Device 004: ID 0b05:179c ASUSTek Computer, Inc.
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 004: ID 2516:0003  
Bus 005 Device 003: ID 413c:2010 Dell Computer Corp. Keyboard
Bus 005 Device 002: ID 413c:1003 Dell Computer Corp. Keyboard Hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 021: ID 054c:0268 Sony Corp. Batoh Device / PlayStation 3 Controller
Bus 001 Device 003: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

dmesg | grep sony:

Code:
linux:/home/joder # dmesg | grep sony
[ 5201.108805] sony 0005:054C:0268.0004: input,hidraw3: BLUETOOTH HID v1.00 Joystick [Sony Computer Entertainment Wireless Controller] on 00:26:83:17:3b:27
[ 5491.674821] sony 0003:054C:0268.0005: input,hiddev0,hidraw4: USB HID v1.11 Joystick [Sony PLAYSTATION(R)3 Controller] on usb-0000:00:1a.0-1.4/input0
[ 5491.956152] sony 0003:054C:0268.0005: controller with MAC address 00:24:33:49:be:fd already connected
[ 5491.981542] sony: probe of 0003:054C:0268.0005 failed with error -17
[ 5616.545938] sony 0003:054C:0268.0006: input,hiddev0,hidraw4: USB HID v1.11 Joystick [Sony PLAYSTATION(R)3 Controller] on usb-0000:00:1a.0-1.4/input0
[ 5616.827655] sony 0003:054C:0268.0006: controller with MAC address 00:24:33:49:be:fd already connected
[ 5616.846039] sony: probe of 0003:054C:0268.0006 failed with error -17
[ 6287.261795] sony 0003:054C:0268.0007: input,hiddev0,hidraw3: USB HID v1.11 Joystick [Sony PLAYSTATION(R)3 Controller] on usb-0000:00:1a.0-1.4/input0
[ 6366.507638] sony 0003:054C:0268.0008: input,hiddev0,hidraw3: USB HID v1.11 Joystick [Sony PLAYSTATION(R)3 Controller] on usb-0000:00:1a.0-1.4/input0
[ 6638.314052] sony 0003:054C:0268.0009: input,hiddev0,hidraw3: USB HID v1.11 Joystick [Sony PLAYSTATION(R)3 Controller] on usb-0000:00:1a.0-1.4/input0
[ 6919.622212] sony 0003:054C:0268.000A: input,hiddev0,hidraw3: USB HID v1.11 Joystick [Sony PLAYSTATION(R)3 Controller] on usb-0000:00:1a.0-1.4/input0
[ 6927.259678] sony 0003:054C:0268.000B: input,hiddev0,hidraw3: USB HID v1.11 Joystick [Sony PLAYSTATION(R)3 Controller] on usb-0000:00:1a.0-1.4/input0
[ 7029.541557] sony 0003:054C:0268.000C: input,hiddev0,hidraw3: USB HID v1.11 Joystick [Sony PLAYSTATION(R)3 Controller] on usb-0000:00:1a.0-1.4/input0
[ 7319.719197] sony 0003:054C:0268.000D: input,hiddev0,hidraw3: USB HID v1.11 Joystick [Sony PLAYSTATION(R)3 Controller] on usb-0000:00:1a.0-1.4/input0
[ 7784.048476] sony 0003:054C:0268.000E: input,hiddev0,hidraw3: USB HID v1.11 Joystick [Sony PLAYSTATION(R)3 Controller] on usb-0000:00:1a.0-1.4/input0
[ 7980.415992] sony 0005:054C:0268.000F: input,hidraw3: BLUETOOTH HID v1.00 Joystick [Sony Computer Entertainment Wireless Controller] on 00:26:83:17:3b:27
[ 8097.851907] sony 0003:054C:0268.0010: input,hiddev0,hidraw3: USB HID v1.11 Joystick [Sony PLAYSTATION(R)3 Controller] on usb-0000:00:1a.0-1.4/input0
[ 8149.122952] sony 0003:054C:0268.0011: input,hiddev0,hidraw3: USB HID v1.11 Joystick [Sony PLAYSTATION(R)3 Controller] on usb-0000:00:1a.0-1.4/input0
[ 8408.799720] sony 0003:054C:0268.0012: input,hiddev0,hidraw3: USB HID v1.11 Joystick [Sony PLAYSTATION(R)3 Controller] on usb-0000:00:1a.0-1.4/input0
[ 8936.905581] sony 0005:054C:0268.0013: input,hidraw3: BLUETOOTH HID v1.00 Joystick [Sony Computer Entertainment Wireless Controller] on 00:26:83:17:3b:27
[ 8971.019240] sony 0003:054C:0268.0014: input,hiddev0,hidraw3: USB HID v1.11 Joystick [Sony PLAYSTATION(R)3 Controller] on usb-0000:00:1a.0-1.4/input0
Reply

Sponsored links

#2
Axis detection is a feature. It allows to support pressure on the buttons.

For the bluetooth, are all axe properly detected in jstest tool (there is a gtk version)?
Reply
#3
Well according to jstest all is ok. Can't exactly tell since the windows gets fill with columns of numbers as soon as i run "jstest /dev/input/js0". I tab all buttons, move around the sticks and it gets picked up (well in the terminal i see numbers move as i pushed/move things) with both bluetooth and the usb cable.

Now when i open onepad config window whille the usb cable is connected it shows it only detects 8 buttons, 4 axis and 0 hats. With bluetooth 19 buttons, 4 axis and 0 hats.

Ticking "hack sixasixs/ds3 plugged in usb" does nothing.
Reply
#4
Did you enable SDL2 ?

You can check with this command
Quote:ldd bin/plugins/libonepad-1.1.0.so | grep SDL
Reply
#5
Sad 
Well apparently the packman package uses sdl 1.2...

Code:
joder@linux:/usr/lib/pcsx2> ldd libonepad-1.1.0.so | grep SDL
        libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0xf7664000)

It's there a way to force SDL2 without re-compiling?
Reply
#6
Sdl2 doesn't work but sometimes maintainer enable it. Normally detection is 8 buttons and 27 axes (on my pc)
Reply
#7
I gave up... I tried a couple of things to see if this problem is only related to pcsx2 and onepad.

I installed desmume and pcsxr, control works ok usb or bluetooth. Dolphin-emu, has similar problems to pcsx2+onepad.

Then i install ubuntu 15.04 x64 on a VM added/installed ppas of pcsx2 and dolphin. All work flawlessly using usb and bluetooth. So i'll say its some sort of configuration/dependency/driver issue with opensuse.
Reply
#8
I think in the configuration somewhere, you can enable/disable pressure sensitivity of the pad. It is maybe the source of your issue.
Reply




Users browsing this thread: 1 Guest(s)