Homepage › Forums › RetroPie Project › Controller Configuration in RetroPie › Multiple PS3 controller via bluetooth frustration
Tagged: Bluetooth, pairing, PS3 controller, second controller, sixad, sixpair
- This topic has 44 replies, 15 voices, and was last updated 9 years, 4 months ago by yves1984.
-
AuthorPosts
-
03/30/2015 at 05:04 #93110husarParticipant
okay, I have my PS3 controller work and setting themselves up a boot. The Bluetooth can be hard to get synced but it seems to be doing it now.
03/31/2015 at 15:37 #93262m42iParticipant[quote=87755]All of you controllers are paired? meaning you can get all of them to connect to retropie one at a time? You can get two at the same time at the most?[/quote]
This is my exact problem currently. For the first and second controller I’m pairing via sixad over bluetooth I get this in the logs:
Mar 31 15:12:40 tarantula kernel: [ 54.318800] input: PLAYSTATION(R)3 Controller (00:19:C1:D8:79:26) as /devices/virtual/input/input0 Mar 31 15:12:50 tarantula kernel: [ 64.225794] input: PLAYSTATION(R)3 Controller (00:06:F7:59:E0:AE) as /devices/virtual/input/input1
And I get js0 and js1 in /dev/input/. After I disconnect one controller (holding PS button >12 sec) and pair a third one I get:
Mar 31 15:14:04 tarantula kernel: [ 138.389150] input: PLAYSTATION(R)3 Controller (04:76:6E:EF:33:09) as /devices/virtual/input/input2
But inside /dev/input I still only have js0 and js1.
[quote]
Have you ran an updated retropie_setup.sh and installed ps3 controller (from the setup script)?[/quote]
Yes, I’m using commit #4f210c3909.Though when I go through the dialogs, the setup doesn’t recognize my PS3 pad being plugged into USB. But lsusb shows it as
[code]Bus 001 Device 005: ID 054c:0268 Sony Corp. Batoh Device / PlayStation 3 Controller"[/code][quote]
after pairing 2 controllers when you run hciconfig what does it return?
[/quote]pi@tarantula ~/RetroPie-Setup $ hciconfig hci0: Type: BR/EDR Bus: USB BD Address: 00:1A:7D:DA:71:0C ACL MTU: 310:10 SCO MTU: 64:8 UP RUNNING PSCAN RX bytes:9013087 acl:155439 sco:0 events:263 errors:0 TX bytes:6677 acl:166 sco:0 commands:72 errors:0
03/31/2015 at 17:52 #93273m42iParticipantI did a fresh install of the v2.6 image without updating anything and paired three controllers with sixpair and still only get two connected simultaneously.
Using hcidump I found something interesting. Pairing the first two controllers I get the following:
pi@retropie ~ $ hcidump -r ps3controllerpairing.raw HCI sniffer - Bluetooth packet analyzer ver 2.4 btsnoop version: 1 datalink type: 1002 > HCI Event: Connect Request (0x04) plen 10 bdaddr 00:19:C1:D8:79:26 class 0x000508 type ACL > HCI Event: Command Status (0x0f) plen 4 Accept Connection Request (0x01|0x0009) status 0x00 ncmd 1 > HCI Event: Connect Complete (0x03) plen 11 status 0x00 handle 71 bdaddr 00:19:C1:D8:79:26 type ACL encrypt 0x00 > HCI Event: Command Status (0x0f) plen 4 Read Remote Supported Features (0x01|0x001b) status 0x00 ncmd 0 > HCI Event: Command Status (0x0f) plen 4 Unknown (0x00|0x0000) status 0x00 ncmd 1 > HCI Event: Read Remote Supported Features (0x0b) plen 11 status 0x00 handle 71 Features: 0xfc 0x07 0x82 0x7e 0x08 0x18 0x00 0x80 > HCI Event: Command Status (0x0f) plen 4 Remote Name Request (0x01|0x0019) status 0x00 ncmd 1 > HCI Event: Remote Name Req Complete (0x07) plen 255 status 0x00 bdaddr 00:19:C1:D8:79:26 name 'PLAYSTATION(R)3 Controller' > HCI Event: Connect Request (0x04) plen 10 bdaddr 00:19:C1:D2:B6:C6 class 0x000508 type ACL > HCI Event: Command Status (0x0f) plen 4 Accept Connection Request (0x01|0x0009) status 0x00 ncmd 1 > HCI Event: Connect Complete (0x03) plen 11 status 0x00 handle 64 bdaddr 00:19:C1:D2:B6:C6 type ACL encrypt 0x00 > HCI Event: Command Status (0x0f) plen 4 Read Remote Supported Features (0x01|0x001b) status 0x00 ncmd 0 > HCI Event: Command Status (0x0f) plen 4 Unknown (0x00|0x0000) status 0x00 ncmd 1 > HCI Event: Read Remote Supported Features (0x0b) plen 11 status 0x00 handle 64 Features: 0xfc 0x07 0x82 0x7e 0x08 0x18 0x00 0x80 > HCI Event: Command Status (0x0f) plen 4 Remote Name Request (0x01|0x0019) status 0x00 ncmd 1 > HCI Event: Remote Name Req Complete (0x07) plen 255 status 0x00 bdaddr 00:19:C1:D2:B6:C6 name 'PLAYSTATION(R)3 Controller'
After that hcidump doesn’t show anything. Even when trying to connect my iPad using PISCAN mode hcidump is still silent.
Disconnecting one controller and trying to pair the iPad again I get:
pi@retropie ~ $ hcidump HCI sniffer - Bluetooth packet analyzer ver 2.4 device: hci0 snap_len: 1028 filter: 0xffffffff > HCI Event: Disconn Complete (0x05) plen 4 status 0x00 handle 71 reason 0x13 Reason: Remote User Terminated Connection > HCI Event: Connect Request (0x04) plen 10 bdaddr B4:F0:AB:XX:XX:XX class 0x6a0110 type ACL > HCI Event: Command Status (0x0f) plen 4 Accept Connection Request (0x01|0x0009) status 0x00 ncmd 1 > HCI Event: Connect Complete (0x03) plen 11 status 0x00 handle 70 bdaddr B4:F0:AB:XX:XX:XX type ACL encrypt 0x00 > HCI Event: Command Status (0x0f) plen 4 Read Remote Supported Features (0x01|0x001b) status 0x00 ncmd 0 > HCI Event: Command Status (0x0f) plen 4 Unknown (0x00|0x0000) status 0x00 ncmd 1 > HCI Event: Read Remote Supported Features (0x0b) plen 11 status 0x00 handle 70 Features: 0xbf 0xfe 0xcf 0xfe 0xdb 0xff 0x7b 0x87 > HCI Event: Command Status (0x0f) plen 4 Read Remote Extended Features (0x01|0x001c) status 0x00 ncmd 1 > HCI Event: Read Remote Extended Features (0x23) plen 13 status 0x00 handle 70 page 1 max 1 Features: 0x07 0x00 0x00 0x00 0x00 0x00 0x00 0x00 > HCI Event: Command Status (0x0f) plen 4 Remote Name Request (0x01|0x0019) status 0x00 ncmd 1 > HCI Event: Remote Name Req Complete (0x07) plen 255 status 0x00 bdaddr B4:F0:AB:XX:XX:XX name 'iPad' > HCI Event: Disconn Complete (0x05) plen 4 status 0x00 handle 70 reason 0x13
Could it be that my dongle isn’t capable of more than two connections? I have:
Bus 001 Device 004: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
03/31/2015 at 21:29 #93301m42iParticipantIn the end I successfully got it working using bluez 5.29 following these instructions:
04/08/2015 at 20:45 #94212crazyduckParticipantThank you m42i
I was able to get all my 4 sixaxis connected. So all my PS3-bluetooth problems are solved, thank you all for your help
05/28/2015 at 12:53 #98589snorpParticipantHi,
last post is 1 month ago but after reading tons of Tutorials and Forumposts i cant fix my Problem. So I hope if I post here you can help me.
These are my Steps from Yesterday:
############################################################################ #### Raspbian & Retropie Installation Protocoll ############################################################################ #### 1. DOWNLOAD RASPBIAN IMAGE AND MOUNT IT ON MICROSD 2. EXPAND FILESYSTEM type 'sudo raspi-config' select '1 Expand Filesystem' 3. GET SYSTEM UP TO DATE AND INSTALL RETROPIE type 'sudo apt-get update' type 'sudo apt-get upgrade' type 'sudo apt-get install -y git dialog' type 'cd' type 'git clone git://github.com/petrockblog/RetroPie-Setup.git' type 'cd RetroPie-Setup' type 'chmod +x retropie_setup.sh' type 'sudo ./retropie_setup.sh' select 'Binaries-based installation' 4. CONFIGURATE TIMEZONE AND KEYBOARD LAYOUT type 'sudo raspi-config' select '4 Internationalisation Options' select 'I2 Change Timezone' > 'Europe' > 'Berlin' > 'Finish' select '4 Internationalisation Options' select 'I3 Change Keyboard Layout' > ... 5. REMOVE SPLASHSCREENS(1) AND LOGOS(2) 5.1 type 'cd RetroPie-Setup' type 'sudo ./retropie_setup.sh' select '3 Setup / Configuration (to be used post install)' select '328 Configure Splashscreen' select '2 Disable custom splashscreen on boot' type 'sudo nano /boot/config.txt' add 'disable_splash=1' 5.2 type 'sudo nano /boot/cmdline.txt' add 'logo.nologo' 6 ADD PS3 CONTROLLER VIA BLUETOOTH Shutdown Raspberry PI and connect PS3 Controller via USB Cable type 'lsusb' check controller is connected type 'cd /RetroPie-Setup/' type 'sudo ./retropie_setup.sh' select '3 Setup / Coniguration (to be used post install)' select '315 Install PS3 controller driver' select 'OK' > 'OK' > 'OK' type 'cd /opt/retropie/supplementary/ps3controller' type 'sudo ./sixpair' check Controller Address type 'sudo reboot' type 'cd /dev/input/' type 'ls' check js0 for first controller pull USB Cable and push PS Button, Controller connected (No.1) check Controller input type 'jstest js0' DO STEP 6 FOR EVERY CONTROLLER (max.16) 7 PS3 CONTROLLER KONFIGURATION not done yet... ################################################################################
I can connect 2 of 4 PS3 Controller no matter wich but max. 2. The first one gets LED1 and the second LED2. But the other 2 Controller blink.
05/29/2015 at 13:26 #98640crazyduckParticipantSnorp, you have to compile and install bluez5 with sixaxis support.
With apt-get you wont get the proper version of bluez.
An tutorial is posted in the link from m42i05/30/2015 at 13:02 #98687snorpParticipant[quote=98640]Snorp, you have to compile and install bluez5 with sixaxis support.
With apt-get you wont get the proper version of bluez.
An tutorial is posted in the link from m42i
[/quote]Thanks for your Help I tried the Tutorial but it doesnt work for me. I also posted a Comment in written Post.
06/02/2015 at 14:40 #98895m42iParticipantFor anyone who has problems with following this guide to update their bluez installation:
the easiest way would be to use my two experimental scripts:
https://raw.githubusercontent.com/m42i/RetroPie-Setup/release/scriptmodules/supplementary/bluez.sh
https://raw.githubusercontent.com/m42i/RetroPie-Setup/release/scriptmodules/supplementary/bluezps3.shTo get them into your RetroPie-Setup menu use these commands:
cd ~/RetroPie-Setup/scriptmodules/supplementary sudo wget https://raw.githubusercontent.com/m42i/RetroPie-Setup/release/scriptmodules/supplementary/bluezps3.sh sudo wget https://raw.githubusercontent.com/m42i/RetroPie-Setup/release/scriptmodules/supplementary/bluez.sh
(I’m not sure you need sudo, but just in case you do)
Now go back to the RetroPi-Setup directory and start the setup as usual
cd ~/RetroPie-Setup sudo ./retropie-setup.sh
Now you can find two new items under “Experimental packages”. First choose “bluez – Install (PS3) bluetooth controller driver (BLUEZ)”
and then
“bluezps3 – Pair PS3 bluetooth controller (BLUEZ)”Hopefully this helps.
06/15/2015 at 15:44 #99900yves1984ParticipantHi There.
Ive got now the same Bluetooth dongle (from this Video: https://www.youtube.com/watch?v=CouHTixaz94) and try it also on Retropie2.6, but i can’t connect my controller with the bluetooth dongle.
When i connect the controller with the cable i can test it with jstest js0.
But when i disconnect it and press the PS-Button all 4Led flash and nothing does work :(When i check the status with **/etc/init.d/bluetooth status** it coms a fail ==> [FAIL] bluetooth is not running … failed!
when i want run with *sudo /etc/init.d/bluetooth start* it say to me ==> [OK] Starting bluetooth: bluetooth rfcomm.
when i recheck the status it comes again the Fail :(The install from m42i i already do but its not even better.
have someone any idea?
thx for help -
AuthorPosts
- The forum ‘Controller Configuration in RetroPie’ is closed to new topics and replies.