Sony DualShock 3 - call for testers: "sixaxis" script module
-
Thanks. Despite it being a PS3-compatible, the
hid-sony
driver doesn't grab your Hori, as it's usinghid-generic
. Not sure if that's relevant, though.I'm fairly certain this isn't a stretch issue, but you could confirm it's not by removing sixaxis, customhidsony and custombluez (if you ever installed it), and reinstall the standard
ps3controller
driver. If the ordering issue is fixed, then at least we'll know it's caused byhid-sony
/my PR and not the distribution upgrade. -
@psyke83
As the behaviour is the same with a non-sony compatible USB controller - Dragonrise, see my previous messages - I think we can conclude that the HORI Sony compatibility is not relevant.Edit : removed your branch and installed basic sixad driver, and unfortunately all is back to normal :
[Sat Mar 10 13:49:35 2018] input: PLAYSTATION(R)3 Controller as /devices/virtual/input/input3
SDL controller indexes are now in the correct (connection) order:
pi@retropie:~/RetroPie-Setup $ /opt/retropie/supplementary/joystick-selection/jslist 0:HORI CO.,LTD. Fighting Stick mini 4 1:PLAYSTATION(R)3 Controller
And the LED on the DS3 is Player 2 (as it should be)...
@meleu you can take a breath, mate ;)
-
@psyke83 said in Sony DualShock 3 - call for testers: "sixaxis" script module:
If you can post the full log, it would be helpful. A quick way to identify what may be missing is:
sudo apt-get build-dep bluez
...but you may need to edit your sources lists in
/etc/apt/
to enable the deb-src lines, and then update your apt-get repository, for it to work.No problem, soon as possible i will report back with the information you asked and will try a gaisa controller to see if it's working.
In the meantime here is the full logThank you
-
@psyke83 said in Sony DualShock 3 - call for testers: "sixaxis" script module:
A quick way to identify what may be missing is:
sudo apt-get build-dep bluez
...but you may need to edit your sources lists in /etc/apt/ to enable the deb-src lines, and then update your apt-get repository, for it to work.I edited the
sources.list
file uncommentingdeb-src http://archive.raspbian.org/raspbian/ jessie main contrib non-free rpi
Removedcustombluez
andsixaxis
driver to start from scratch.
Then i executesudo apt-get update
andsudo apt-get build-dep bluez
and it didn't give any problemReading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: dh-systemd libcap-ng-dev libdbus-glib-1-dev libical-dev libreadline-dev libreadline6-dev libtinfo-dev 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/697 kB of archives. After this operation, 2,282 kB of additional disk space will be used. Do you want to continue? [Y/n] y Selecting previously unselected package libcap-ng-dev. (Reading database ... 92387 files and directories currently installed.) Preparing to unpack .../libcap-ng-dev_0.7.4-2_armhf.deb ... Unpacking libcap-ng-dev (0.7.4-2) ... Selecting previously unselected package libdbus-glib-1-dev. Preparing to unpack .../libdbus-glib-1-dev_0.102-1_armhf.deb ... Unpacking libdbus-glib-1-dev (0.102-1) ... Selecting previously unselected package libical-dev. Preparing to unpack .../libical-dev_1.0-1.3_armhf.deb ... Unpacking libical-dev (1.0-1.3) ... Selecting previously unselected package libtinfo-dev:armhf. Preparing to unpack .../libtinfo-dev_5.9+20140913-1+deb8u2_armhf.deb ... Unpacking libtinfo-dev:armhf (5.9+20140913-1+deb8u2) ... Selecting previously unselected package libreadline6-dev:armhf. Preparing to unpack .../libreadline6-dev_6.3-8_armhf.deb ... Unpacking libreadline6-dev:armhf (6.3-8) ... Selecting previously unselected package libreadline-dev:armhf. Preparing to unpack .../libreadline-dev_6.3-8_armhf.deb ... Unpacking libreadline-dev:armhf (6.3-8) ... Selecting previously unselected package dh-systemd. Preparing to unpack .../dh-systemd_10.2.2~bpo8+1_all.deb ... Unpacking dh-systemd (10.2.2~bpo8+1) ... Processing triggers for man-db (2.7.5-1~bpo8+1) ... Processing triggers for install-info (5.2.0.dfsg.1-6) ... Setting up libcap-ng-dev (0.7.4-2) ... Setting up libdbus-glib-1-dev (0.102-1) ... Setting up libical-dev (1.0-1.3) ... Setting up libtinfo-dev:armhf (5.9+20140913-1+deb8u2) ... Setting up libreadline6-dev:armhf (6.3-8) ... Setting up libreadline-dev:armhf (6.3-8) ... Setting up dh-systemd (10.2.2~bpo8+1) ...
Then installed
sixaxis
and then i try to install againgcustombluez
from source but it failed/home/pi/RetroPie-Setup/tmp/build/custombluez/build-area/bluetooth_5.48-1~rpi1_all.deb not found
Installed
custombluez
from binaries and try to pair a Gaisa controller but it is not working.
The lights on the controller keep flashing for a few seconds and then turn off.
With the commanddmesg -T
it seems that the controller try to connect but it fails[Sun Mar 11 11:32:12 2018] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [Sun Mar 11 11:32:12 2018] Bluetooth: HIDP socket layer initialized [Sun Mar 11 11:32:12 2018] sony 0005:054C:0268.0004: unknown main item tag 0x0 [Sun Mar 11 11:32:12 2018] input: Sony PLAYSTATION(R)3 Controller as /devices/platform/soc/3f201000.serial/tty/ttyAMA0/hci0/hci0:11/0005:054C:0268.0004/input/input3 [Sun Mar 11 11:32:12 2018] sony 0005:054C:0268.0004: input,hidraw2: BLUETOOTH HID v80.00 Joystick [Sony PLAYSTATION(R)3 Controller] on b8:27:eb:eb:7f:b8 [Sun Mar 11 11:33:07 2018] sony 0005:054C:0268.0005: unknown main item tag 0x0 [Sun Mar 11 11:33:07 2018] input: Sony PLAYSTATION(R)3 Controller as /devices/platform/soc/3f201000.serial/tty/ttyAMA0/hci0/hci0:12/0005:054C:0268.0005/input/input4 [Sun Mar 11 11:33:07 2018] sony 0005:054C:0268.0005: input,hidraw2: BLUETOOTH HID v80.00 Joystick [Sony PLAYSTATION(R)3 Controller] on b8:27:eb:eb:7f:b8
At your disposal if you want me to try anything else.
Thank you again for your help.
-
I'll sort out the issue building from source, so you don't need worry about that. What would help is to capture some bluetooth logging. In an SSH session, execute
bluetoothctl
. Once launched, it will print Bluetooth events/errors as well as providing a command prompt (bluetooth#
).Three pieces of information will be helpful (but don't try to pair the controller when capturing output for steps 1-2):
- Verify that bluetooth upgraded correctly to version 5.48. Type in the console:
version
- When you launch
bluetoothctl
, it lists paired devices prefixed with[NEW]
- your PS3 controller should be in this list. Query the information of your controller (replace12:34:56:78:9a:bc
with the actual MAC address that's shown for your controller):
info 12:34:56:78:9a:bc
- While the
bluetoothctl
console is still open, type nothing, but attempt to pair your controller. Capture any new output that appears during this time for me to inspect.
This should help give me an idea of the next step - thanks.
- Verify that bluetooth upgraded correctly to version 5.48. Type in the console:
-
ok, i try what you asked me, started with a newly installed retropie 4.3, i was configuring a retropie for a firend and i used it for tests, but i had to give it back to him.
So, after a full update, the following are the results:- The bluetooth version is 5.48
I don't know if could be usefull, but these are the information when registering the devicebluetoothctl [NEW] Controller B8:27:EB:EB:7F:B8 retropie [default] Agent registered [bluetooth]# version Version 5.48
[CHG] Controller B8:27:EB:EB:7F:B8 Discovering: yes [NEW] Device F8:52:1E:8F:5C:7E F8-52-1E-8F-5C-7E [NEW] Device 00:26:5C:5D:BD:00 Sony PLAYSTATION(R)3 Controller [CHG] Device 00:26:5C:5D:BD:00 Trusted: yes [CHG] Device 00:26:5C:5D:BD:00 UUIDs: 00001124-0000-1000-8000-00805f9b34fb [CHG] Controller B8:27:EB:EB:7F:B8 Discovering: no [CHG] Device F8:52:1E:8F:5C:7E RSSI is nil [DEL] Device F8:52:1E:8F:5C:7E F8-52-1E-8F-5C-7E
- Yes, int the list there is my controller
[NEW] Device 00:26:5C:5D:BD:00 Sony PLAYSTATION(R)3 Controller
here the info[bluetooth]# info 00:26:5C:5D:BD:00 Device 00:26:5C:5D:BD:00 (public) Name: Sony PLAYSTATION(R)3 Controller Alias: Sony PLAYSTATION(R)3 Controller Paired: no Trusted: yes Blocked: no Connected: no LegacyPairing: no UUID: Human Interface Device... (00001124-0000-1000-8000-00805f9b34fb) Modalias: usb:v054Cp0268d0000
- Now, the output when i try to pair the controller:
At this point after a few seconds the light on the controller turned off, and two more lines are displayed on the console[CHG] Device 00:26:5C:5D:BD:00 Class: 0x00000540 [CHG] Device 00:26:5C:5D:BD:00 Icon: input-keyboard [CHG] Device 00:26:5C:5D:BD:00 Connected: yes [Sony PLAYSTATION(R)3 Controller]#
[CHG] Device 00:26:5C:5D:BD:00 ServicesResolved: no [CHG] Device 00:26:5C:5D:BD:00 Connected: no
Hope this can be of help.
If i can do anything else let me know. - The bluetooth version is 5.48
-
This is somewhat encouraging. My guess is that the BlueZ stack has already cached a generic (and incorrect) HID profile for your controller, most likely when you paired via the
ps3controller
driver or an older BlueZ stack version.The Shanwan and Gasia controllers do not pass a correct SDP (Service Discovery Protocol) record via Bluetooth, which is needed for BlueZ to know what HID profile to apply. This doesn't matter on a real PS3, but causes problems on BlueZ until version 5.48, where a correct record is now forced for all controllers. When no SDP record is passed to the stack, a controller will enumerate a
input-keyboard
HID profile and fail to pair correctly.The potential solution is for you to remove the device from the Bluetooth stack and re-pair so that a new profile will be created. In the
bluetoothctl
prompt:remove 00:26:5C:5D:BD:00
Once this is done, go through the process of pairing your controller from the RetroPie bluetooth menu once again.
Hopefully it will pair correctly now, and you'll see
Icon: input-gaming
in the profile information, indicating that the correct SDP record has been applied.If you still have no success, the output of this may help:
cat /var/log/syslog | grep -e blue -e sixaxis
-
@psyke83
Regarding the (apparently) wrong SDL controller index, don't hesitate to ask if you need more informations or tests. -
@psyke83
I don't think the problem if for an already cached HID profile becasue the raspberry pi 3 is still te same but i've renstalled Retropie on a new SD card.
Anyway, i removed the controller[bluetooth]# remove 00:26:5C:5D:BD:00 [DEL] Device 00:26:5C:5D:BD:00 Sony PLAYSTATION(R)3 Controller Device has been removed
and try to repair but it still not working
Changing discoverable on succeeded [CHG] Controller B8:27:EB:EB:7F:B8 Discoverable: yes [CHG] Controller B8:27:EB:EB:7F:B8 Discovering: yes [NEW] Device 00:26:5C:5D:BD:00 Sony PLAYSTATION(R)3 Controller [CHG] Device 00:26:5C:5D:BD:00 Trusted: yes [CHG] Device 00:26:5C:5D:BD:00 UUIDs: 00001124-0000-1000-8000-00805f9b34fb [CHG] Controller B8:27:EB:EB:7F:B8 Discovering: no [CHG] Device 00:26:5C:5D:BD:00 Class: 0x00000540 [CHG] Device 00:26:5C:5D:BD:00 Icon: input-keyboard [CHG] Device 00:26:5C:5D:BD:00 Connected: yes [CHG] Controller B8:27:EB:EB:7F:B8 Discoverable: no [CHG] Device 00:26:5C:5D:BD:00 ServicesResolved: no [CHG] Device 00:26:5C:5D:BD:00 Connected: no [CHG] Device 00:26:5C:5D:BD:00 Connected: yes [CHG] Device 00:26:5C:5D:BD:00 Connected: no
here is the output for
cat /var/log/syslog | grep -e blue -e sixaxis
Jul 5 11:46:04 retropie bluetoothd[667]: Bluetooth daemon 5.23 Jul 5 11:46:05 retropie bluetoothd[667]: Starting SDP server Jul 5 11:46:06 retropie bluetoothd[667]: Bluetooth management interface 1.14 initialized Jul 5 11:46:06 retropie bluetoothd[667]: Sap driver initialization failed. Jul 5 11:46:06 retropie bluetoothd[667]: sap-server: Operation not permitted (1) Mar 13 21:03:29 retropie bluetoothd[670]: Bluetooth daemon 5.23 Mar 13 21:03:29 retropie bluetoothd[670]: Starting SDP server Mar 13 21:03:29 retropie bluetoothd[670]: Bluetooth management interface 1.14 initialized Mar 13 21:03:29 retropie bluetoothd[670]: Sap driver initialization failed. Mar 13 21:03:29 retropie bluetoothd[670]: sap-server: Operation not permitted (1) Mar 13 21:42:18 retropie bluetoothd[670]: Terminating Mar 13 21:42:18 retropie bluetoothd[670]: Stopping SDP server Mar 13 21:42:18 retropie bluetoothd[670]: Exit Mar 13 21:42:18 retropie bluetoothd[5383]: Bluetooth daemon 5.48 Mar 13 21:42:18 retropie bluetoothd[5383]: Starting SDP server Mar 13 21:42:18 retropie bluetoothd[5383]: Bluetooth management interface 1.14 initialized Mar 13 21:42:18 retropie bluetoothd[5383]: Sap driver initialization failed. Mar 13 21:42:18 retropie bluetoothd[5383]: sap-server: Operation not permitted (1) Mar 13 22:22:19 retropie bluetoothd[5383]: sixaxis: compatible device connected: Sony PLAYSTATION(R)3 Controller (054C:0268 /sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/0003:054C:0268.0003/hidraw/hidraw2) Mar 13 22:22:19 retropie bluetoothd[5383]: sixaxis: setting up new device Mar 13 22:22:20 retropie systemd[1]: Starting system-sixaxis.slice. Mar 13 22:22:20 retropie systemd[1]: Created slice system-sixaxis.slice. Mar 13 22:22:20 retropie systemd[1]: Starting sixaxis helper (/dev/input/event2)... Mar 13 22:22:20 retropie systemd[1]: Started sixaxis helper (/dev/input/event2). Mar 13 22:22:20 retropie sixaxis-helper.sh[6179]: Calibrating: Gasia Co.,Ltd PS(R) Gamepad (00:26:5C:5D:BD:00) Mar 13 22:22:20 retropie sixaxis-helper.sh[6179]: Disabling L2/R2 analog axes: Gasia Co.,Ltd PS(R) Gamepad (00:26:5C:5D:BD:00) Mar 13 22:22:20 retropie sixaxis-helper.sh[6179]: Setting 600 second timeout on: Gasia Co.,Ltd PS(R) Gamepad (00:26:5C:5D:BD:00) Mar 13 22:32:11 retropie sixaxis-helper.sh[6179]: Disconnecting: Gasia Co.,Ltd PS(R) Gamepad (00:26:5C:5D:BD:00) Mar 13 22:32:20 retropie systemd[1]: Starting sixaxis helper (/dev/input/event2)... Mar 13 22:32:20 retropie systemd[1]: Started sixaxis helper (/dev/input/event2). Mar 13 22:32:20 retropie sixaxis-helper.sh[6290]: Calibrating: Sony PLAYSTATION(R)3 Controller (00:26:5C:5D:BD:00) Mar 13 22:32:20 retropie sixaxis-helper.sh[6290]: Disabling L2/R2 analog axes: Sony PLAYSTATION(R)3 Controller (00:26:5C:5D:BD:00) Mar 13 22:32:20 retropie sixaxis-helper.sh[6290]: Setting 600 second timeout on: Sony PLAYSTATION(R)3 Controller (00:26:5C:5D:BD:00) Mar 13 22:33:05 retropie sixaxis-helper.sh[6290]: Disconnecting: Sony PLAYSTATION(R)3 Controller (00:26:5C:5D:BD:00) Mar 13 22:36:10 retropie systemd[1]: Starting sixaxis helper (/dev/input/event2)... Mar 13 22:36:10 retropie systemd[1]: Started sixaxis helper (/dev/input/event2). Mar 13 22:36:10 retropie sixaxis-helper.sh[6333]: Calibrating: Sony PLAYSTATION(R)3 Controller (00:26:5C:5D:BD:00) Mar 13 22:36:10 retropie sixaxis-helper.sh[6333]: Disabling L2/R2 analog axes: Sony PLAYSTATION(R)3 Controller (00:26:5C:5D:BD:00) Mar 13 22:36:11 retropie sixaxis-helper.sh[6333]: Setting 600 second timeout on: Sony PLAYSTATION(R)3 Controller (00:26:5C:5D:BD:00) Mar 13 22:36:52 retropie sixaxis-helper.sh[6333]: Disconnecting: Sony PLAYSTATION(R)3 Controller (00:26:5C:5D:BD:00) Mar 13 22:37:26 retropie systemd[1]: Starting sixaxis helper (/dev/input/event2)... Mar 13 22:37:26 retropie systemd[1]: Started sixaxis helper (/dev/input/event2). Mar 13 22:37:26 retropie sixaxis-helper.sh[6372]: Calibrating: Sony PLAYSTATION(R)3 Controller (00:26:5C:5D:BD:00) Mar 13 22:37:26 retropie sixaxis-helper.sh[6372]: Disabling L2/R2 analog axes: Sony PLAYSTATION(R)3 Controller (00:26:5C:5D:BD:00) Mar 13 22:37:27 retropie sixaxis-helper.sh[6372]: Setting 600 second timeout on: Sony PLAYSTATION(R)3 Controller (00:26:5C:5D:BD:00) Mar 13 22:38:08 retropie sixaxis-helper.sh[6372]: Disconnecting: Sony PLAYSTATION(R)3 Controller (00:26:5C:5D:BD:00) Mar 13 22:38:24 retropie systemd[1]: Starting sixaxis helper (/dev/input/event2)... Mar 13 22:38:24 retropie systemd[1]: Started sixaxis helper (/dev/input/event2). Mar 13 22:38:25 retropie sixaxis-helper.sh[6408]: Calibrating: Sony PLAYSTATION(R)3 Controller (00:26:5C:5D:BD:00) Mar 13 22:38:25 retropie sixaxis-helper.sh[6408]: Disabling L2/R2 analog axes: Sony PLAYSTATION(R)3 Controller (00:26:5C:5D:BD:00) Mar 13 22:38:25 retropie sixaxis-helper.sh[6408]: Setting 600 second timeout on: Sony PLAYSTATION(R)3 Controller (00:26:5C:5D:BD:00) Mar 13 22:38:41 retropie bluetoothd[5383]: Authentication already requested for 00:26:5C:5D:BD:00 Mar 13 22:38:41 retropie bluetoothd[5383]: device_notify_pin: Operation not permitted Mar 13 22:38:44 retropie bluetoothd[5383]: Authentication already requested for 00:26:5C:5D:BD:00 Mar 13 22:38:44 retropie bluetoothd[5383]: device_request_pin: Operation not permitted Mar 13 22:39:09 retropie sixaxis-helper.sh[6408]: Disconnecting: Sony PLAYSTATION(R)3 Controller (00:26:5C:5D:BD:00) Mar 13 22:39:09 retropie bluetoothd[5383]: 00:26:5C:5D:BD:00: error updating services: Connection timed out (110) Mar 13 22:39:13 retropie systemd[1]: Starting sixaxis helper (/dev/input/event2)... Mar 13 22:39:13 retropie systemd[1]: Started sixaxis helper (/dev/input/event2). Mar 13 22:39:13 retropie sixaxis-helper.sh[6444]: Calibrating: Sony PLAYSTATION(R)3 Controller (00:26:5C:5D:BD:00) Mar 13 22:39:14 retropie sixaxis-helper.sh[6444]: Disabling L2/R2 analog axes: Sony PLAYSTATION(R)3 Controller (00:26:5C:5D:BD:00) Mar 13 22:39:14 retropie sixaxis-helper.sh[6444]: Setting 600 second timeout on: Sony PLAYSTATION(R)3 Controller (00:26:5C:5D:BD:00) Mar 13 22:39:44 retropie sixaxis-helper.sh[6444]: Disconnecting: Sony PLAYSTATION(R)3 Controller (00:26:5C:5D:BD:00) Mar 13 22:39:48 retropie bluetoothd[5383]: Can't get HIDP connection info Mar 13 22:39:51 retropie bluetoothd[5383]: connect error: Operation already in progress (114) Mar 13 22:39:55 retropie systemd[1]: Starting sixaxis helper (/dev/input/event2)... Mar 13 22:39:55 retropie systemd[1]: Started sixaxis helper (/dev/input/event2). Mar 13 22:39:55 retropie sixaxis-helper.sh[6480]: Calibrating: Sony PLAYSTATION(R)3 Controller (00:26:5C:5D:BD:00) Mar 13 22:39:56 retropie sixaxis-helper.sh[6480]: Disabling L2/R2 analog axes: Sony PLAYSTATION(R)3 Controller (00:26:5C:5D:BD:00) Mar 13 22:39:56 retropie sixaxis-helper.sh[6480]: Setting 600 second timeout on: Sony PLAYSTATION(R)3 Controller (00:26:5C:5D:BD:00) Mar 13 22:40:38 retropie bluetoothd[5383]: 00:26:5C:5D:BD:00: error updating services: Connection timed out (110) Mar 13 22:40:40 retropie sixaxis-helper.sh[6480]: Disconnecting: Sony PLAYSTATION(R)3 Controller (00:26:5C:5D:BD:00) Mar 13 22:45:51 retropie bluetoothd[5383]: sixaxis: compatible device connected: Sony PLAYSTATION(R)3 Controller (054C:0268 /sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/0003:054C:0268.000A/hidraw/hidraw2) Mar 13 22:45:51 retropie bluetoothd[5383]: sixaxis: setting up new device Mar 13 22:45:51 retropie systemd[1]: Starting sixaxis helper (/dev/input/event2)... Mar 13 22:45:51 retropie systemd[1]: Started sixaxis helper (/dev/input/event2). Mar 13 22:45:51 retropie sixaxis-helper.sh[6666]: Calibrating: SHANWAN PS3 GamePad (06:38:91:6E:63:25) Mar 13 22:45:51 retropie sixaxis-helper.sh[6666]: Disabling L2/R2 analog axes: SHANWAN PS3 GamePad (06:38:91:6E:63:25) Mar 13 22:45:52 retropie sixaxis-helper.sh[6666]: Setting 600 second timeout on: SHANWAN PS3 GamePad (06:38:91:6E:63:25) Mar 13 22:47:34 retropie sixaxis-helper.sh[6666]: Disconnecting: SHANWAN PS3 GamePad (06:38:91:6E:63:25) Mar 13 22:47:42 retropie systemd[1]: Starting sixaxis helper (/dev/input/event2)... Mar 13 22:47:42 retropie systemd[1]: Started sixaxis helper (/dev/input/event2). Mar 13 22:47:42 retropie sixaxis-helper.sh[6747]: Calibrating: Sony PLAYSTATION(R)3 Controller (06:38:91:6E:63:25) Mar 13 22:47:42 retropie sixaxis-helper.sh[6747]: Disabling L2/R2 analog axes: Sony PLAYSTATION(R)3 Controller (06:38:91:6E:63:25) Mar 13 22:47:42 retropie sixaxis-helper.sh[6747]: Setting 600 second timeout on: Sony PLAYSTATION(R)3 Controller (06:38:91:6E:63:25) Mar 13 22:48:17 retropie systemd[1]: Starting sixaxis helper (/dev/input/event3)... Mar 13 22:48:17 retropie systemd[1]: Started sixaxis helper (/dev/input/event3). Mar 13 22:48:17 retropie sixaxis-helper.sh[6773]: Calibrating: Sony PLAYSTATION(R)3 Controller (00:26:5C:5D:BD:00) Mar 13 22:48:17 retropie sixaxis-helper.sh[6773]: Disabling L2/R2 analog axes: Sony PLAYSTATION(R)3 Controller (00:26:5C:5D:BD:00) Mar 13 22:48:17 retropie sixaxis-helper.sh[6773]: Setting 600 second timeout on: Sony PLAYSTATION(R)3 Controller (00:26:5C:5D:BD:00) Mar 13 22:49:01 retropie sixaxis-helper.sh[6773]: Disconnecting: Sony PLAYSTATION(R)3 Controller (00:26:5C:5D:BD:00) Mar 13 22:50:34 retropie sixaxis-helper.sh[6747]: Disconnecting: Sony PLAYSTATION(R)3 Controller (06:38:91:6E:63:25) Mar 13 22:51:20 retropie systemd[1]: Stopping system-sixaxis.slice. Mar 13 22:51:20 retropie systemd[1]: Removed slice system-sixaxis.slice. Mar 13 22:51:25 retropie bluetoothd[655]: Bluetooth daemon 5.48 Mar 13 22:51:26 retropie bluetoothd[655]: Starting SDP server Mar 13 22:51:26 retropie bluetoothd[655]: Bluetooth management interface 1.14 initialized Mar 13 22:51:26 retropie bluetoothd[655]: Sap driver initialization failed. Mar 13 22:51:26 retropie bluetoothd[655]: sap-server: Operation not permitted (1) Mar 14 08:10:30 retropie bluetoothd[655]: sixaxis: compatible device connected: Sony PLAYSTATION(R)3 Controller (054C:0268 /sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/0003:054C:0268.0003/hidraw/hidraw2) Mar 14 08:10:30 retropie bluetoothd[655]: sixaxis: setting up new device Mar 14 08:10:30 retropie systemd[1]: Starting system-sixaxis.slice. Mar 14 08:10:30 retropie systemd[1]: Created slice system-sixaxis.slice. Mar 14 08:10:30 retropie systemd[1]: Starting sixaxis helper (/dev/input/event2)... Mar 14 08:10:30 retropie systemd[1]: Started sixaxis helper (/dev/input/event2). Mar 14 08:10:31 retropie sixaxis-helper.sh[1110]: Calibrating: Gasia Co.,Ltd PS(R) Gamepad (00:26:5C:5D:BD:00) Mar 14 08:10:31 retropie sixaxis-helper.sh[1110]: Disabling L2/R2 analog axes: Gasia Co.,Ltd PS(R) Gamepad (00:26:5C:5D:BD:00) Mar 14 08:10:31 retropie sixaxis-helper.sh[1110]: Setting 600 second timeout on: Gasia Co.,Ltd PS(R) Gamepad (00:26:5C:5D:BD:00) Mar 14 08:11:19 retropie sixaxis-helper.sh[1110]: Disconnecting: Gasia Co.,Ltd PS(R) Gamepad (00:26:5C:5D:BD:00) Mar 14 08:11:28 retropie systemd[1]: Starting sixaxis helper (/dev/input/event2)... Mar 14 08:11:28 retropie systemd[1]: Started sixaxis helper (/dev/input/event2). Mar 14 08:11:28 retropie sixaxis-helper.sh[1181]: Calibrating: Sony PLAYSTATION(R)3 Controller (00:26:5C:5D:BD:00) Mar 14 08:11:28 retropie sixaxis-helper.sh[1181]: Disabling L2/R2 analog axes: Sony PLAYSTATION(R)3 Controller (00:26:5C:5D:BD:00) Mar 14 08:11:29 retropie sixaxis-helper.sh[1181]: Setting 600 second timeout on: Sony PLAYSTATION(R)3 Controller (00:26:5C:5D:BD:00) Mar 14 08:12:08 retropie sixaxis-helper.sh[1181]: Disconnecting: Sony PLAYSTATION(R)3 Controller (00:26:5C:5D:BD:00) Mar 14 08:12:17 retropie systemd[1]: Starting sixaxis helper (/dev/input/event2)... Mar 14 08:12:17 retropie systemd[1]: Started sixaxis helper (/dev/input/event2). Mar 14 08:12:17 retropie sixaxis-helper.sh[1218]: Calibrating: Sony PLAYSTATION(R)3 Controller (00:26:5C:5D:BD:00) Mar 14 08:12:17 retropie sixaxis-helper.sh[1218]: Disabling L2/R2 analog axes: Sony PLAYSTATION(R)3 Controller (00:26:5C:5D:BD:00) Mar 14 08:12:17 retropie sixaxis-helper.sh[1218]: Setting 600 second timeout on: Sony PLAYSTATION(R)3 Controller (00:26:5C:5D:BD:00) Mar 14 08:13:02 retropie sixaxis-helper.sh[1218]: Disconnecting: Sony PLAYSTATION(R)3 Controller (00:26:5C:5D:BD:00) Mar 14 08:13:02 retropie bluetoothd[655]: Can't get HIDP connection info
-
It looks like this line may be a clue:
Mar 13 22:40:38 retropie bluetoothd[5383]: 00:26:5C:5D:BD:00: error updating services: Connection timed out (110)
I'll look into the issue and get back to you - your help has been much appreciated.
-
@psyke83
I'm glad to help if i can.
If you want me to try anything else i'm here. -
@psyke83 What is the easiest way to revert back to the master branch using git? I want to do some other testing without this script module and then switch back to it in the future.
-
@psyke83 For information, at first glance your sixaxis version works like a charm on newest 4.14.30 kernel.
I'll continue the tests, but no ghost input (unlike the native driver).
just had to remap my controller. -
On Shenwan Controllers I get a Timor Out error and need to plug and unplug it a few times to get it to pair the first time. But works good.
Also get a sixad.service could not start error on the Bluetooth screen.
Button mapping is better for those emulators that hard code button 1 and 2 which is now X and O instead of SELECT and I think L3.
Keep up the good work will happily help solve the Shenwan issues.
-
I have lost overview about this.
Is this new driver already in the 4.4 release?
Since I will try to install RetroPie for new on a Ubuntu 17.10.1 amd64. -
I'm having an awful time trying to sync my Shenwan controllers. It finds the controllers but then asks me to input a 6 digit pin number, which of course is not possible. Any recommendations?
Edit: I've tried all the different pair options that pop up when initially pairing and all of them are requiring a 6 digit pin. :( -
@iriman had this input too with genuine PS3 Sixaxis Controllers. I just ignored the message and canceled the process when the input of the code was required.
The Controller works fine anyway, only issue is that i cannot configure the analog sticks in Emulationstation, but this will have nothing to do with the Bluetooth Connection
-
Hello guys, are you planning to include the old configuration of the sixad driver named "Gasia-only"? I have a bunch of ps3 clone controllers that shows "SZMY PS3 Controller" when connected through usb and just work on BT when using the option "Gasia-only". Anyway, just thanks for your great job!!
-
@tupc10 said in Sony DualShock 3 - call for testers: "sixaxis" script module:
Hello guys, are you planning to include the old configuration of the sixad driver named "Gasia-only"? I have a bunch of ps3 clone controllers that shows "SZMY PS3 Controller" when connected through usb and just work on BT when using the option "Gasia-only". Anyway, just thanks for your great job!!
The native sixaxis driver seems to have problems with pairing on Gasia clones, so this solution probably won't work. Until the problem is resolved, you'll be stuck with the
ps3controller
driver. I don't own a Gasia clone, so I can't do much to troubleshoot.See: https://bugzilla.kernel.org/show_bug.cgi?id=200009
RetroPie on Raspbian stretch (without this PR) is quite messy for DS3 controllers at the moment. The
ps3controller
driver now has different button mappings to thehid-sony
kernel driver (what the pad uses when connected via USB). -
I see @psyke83 , so this is bad news for me.. Thanks for your reply! Best regards
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.