Retropie 3.8 Bluetooth Configure Issue
-
@Floob I know you have videos on how to pair both PS3 controller and as posted above, FC30 Pro controllers. Have you ever had success pairing both on a Pi3? As riddix pointed out and in the link I posted in my original post, there's a belief that the PS3 bluetooth driver is overriding the Pi's, and I'm curious if anyone has had success pairing both controllers as the same time.
-
on windows the 3dr part ds3 driver actually overrides the microsoft bluetooth one so it seems plausible thtat this is the case here too, wich would explain why we have both the same issue. Btw i got a fresh 3.8.1 image!
-
The manual implies there will be a conflict:
http://qtsixa.sourceforge.net/manual.pdfHere is a fork that supports a non-official PS3 device, maybe it could help here.
https://github.com/ryonlabaw/qtsixaAlthough the process does seem to have a conflict generally with the standard bluetooth drivers.
I'm afraid I dont have a PS3 controller to hand so I can try this out. -
you cant use ps3controllers and the built in bluetooth stack at the same time currently. Known limitation of the ps3 pairing software.
-
so any idea how to work around that? am i able to use a extra bluetooth dongle to pair my extra controllers ?
a quick link to a guid would be very helpful cause i dont find anything that helped me
anyways thx Floob and BuZz <3
-
@BuZz said in Retropie 3.8 Bluetooth Configure Issue:
you cant use ps3controllers and the built in bluetooth stack at the same time currently. Known limitation of the ps3 pairing software.
Ahh there we go, been scratching my head for a week trying to figure out why I couldn't pair both my ps3 controller and then a bluetooth keyboard at the same time (didn't help that the bluetooth script had a bug at the same time haha). Same question as riddix, one dongle for the ps3 controller and another for all other bluetooth needs?
-
no. That wont work either currently. The ps3controller software is set to disable the internal bluetooth stack.
-
Ahh well. My thinking is if it gets the controller to work with the Pi then it can do what it pleases really. Will have to try a standard wireless keyboard until that changes, and I hope it does because I aim to get bluetooth headphones as well. Thanks!
-
The solution is to pair the ps3 controller without sixpair and instead use bluez. However although I can do this on my Ubuntu desktop machine, I couldn't do it reliably on the RPI (I think I did a couple of times, but it wasn't something I could automate). Probably some bugs in the Bluez stack which we will have to revisit in a newer Raspbian. If you can get the ps3controller to manually pair using bluetoothctl (google for some howtos), then you can use other bluetooth devices also.
-
Thanks for all the great responses everyone. This is the only thread where I've seen a definitive answer to this issue.
The question I have now, is there a way to effectively uninstall the PS3 driver, and get control of the bluetooth stack back? I had used the "sudo apt-get --purge remove sixad", which disabled the PS3 controller, but the issue of me not being able to open the bluetooth configuration menus persisted, so I'm not sure it worked.
Starting to feel like I may have to reinstall the whole thing, but hoping to avoid that.
EDIT: Seems like this thread may have some relevant info on getting a PS3 controller to pair natively with the bluetooth, rather than rely on sixad. Haven't done any testing myself, as I'll need to be able to get access to the configuration first, but seems like there may be potential in using other drivers. https://retropie.org.uk/forum/topic/42/shanwan-ps3-controller-pi3-retropie-3-6-bluetooth-setup/123
-
there is an remove option in retropie-setup for it - if bluetooth is still not starting you can try
chmod 755 /usr/sbin/bluetoothd
-
Just an update, using the
chmod 755 /usr/sbin/bluetoothd
command worked (needed to sudo it) to allow me to regain control of the bluetooth configuration settings. I then set about setting up my 8bitdo controller, using @Floob 's video. However, something has gone wrong in the meantime.I started to have a lot of success from the video, getting so far as to run
sudo bluetoothctl
so see my controller, and use that to select that controller in the setup menu. So far so good.At this point, the controller still wasn't working in BT mode, so I opted to manually set up the
sudo nano /etc/udev/rules.d/10-local.rules
, but here's where things go weird.From this point, I can no longer run
sudo bluetoothctl
successfully, as it just seems to stall. I read this is due to the bluetooth daemon not running, so I ran "systemctl status bluetooth" and it's telling me"● bluetooth.service - Bluetooth service Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled) Active: failed (Result: exit-code) since Mon 2016-06-20 02:18:36 UTC; 7min ago Docs: man:bluetoothd(8) Process: 2872 ExecStart=/usr/lib/bluetooth/bluetoothd (code=exited, status=203/EXEC) Main PID: 2872 (code=exited, status=203/EXEC)"
If I run
sudo systemctl start bluetooth
, I get"Job for bluetooth.service failed. See 'systemctl status bluetooth.service' and 'journalctl -xn' for details."
Lastly, if I go back into my bluetooth configuration menu and choose display and register connected devices I get a long error that reads in part:
"Traceback (most recent call last): │ │ File │ │ "/home/pi/RetroPie-Setup/scriptmodules/supplementary/blu │ │ etooth/bluez-test-device", line 44, in <module> │ │ adapter = bluezutils.find_adapter(options.dev_id) │ │ File │ │ "/home/pi/RetroPie-Setup/scriptmodules/supplementary/blu │ │ etooth/bluezutils.py", line 14, in find_adapter │ │ return │ │ find_adapter_in_objects(get_managed_objects(), pattern) │ │ File │ │ "/home/pi/RetroPie-Setup/scriptmodules/supplementary/blu │ │ etooth/bluezutils.py", line 9, in get_managed_objects │ │ manager = dbus.Interface(bus.get_object("org.bluez"
Sorry, I know this is a long message and I'm not sure how to format the code, but have I somehow mucked things up? Any help appreciated.
-
Just an update, I ended up reinstalling Retropie since there didn't seem to be any solutions to the issue I had above. Bluetooth is back to working as it should, and set up the FC30 Pro.
Now attempting to get the PS3 controller to play nice with the default bluetooth by using a patched bluez build, primarily from these instructions https://luetzels.raspiblog.com/?p=1870
The instructions assume a working knowledge of raspian, which I don't have, so it's proving to be a challenge, but I'll update if I can successfully get a PS3 and FC30 controller both working together.
-
@Ransom thanks for all you effort and thanks to let us know if you succesfully get PS3 dual shock and your FC3O pro working at the same time.
I am having the same issue but with a NES30 joystick. -
Hi all. I wanted to thank everyone again for their help and give an update.
Unfortunately, getting the FC30 Pro up and running smoothly was more trouble than it was worth. I got it working, but then it wanted to forget the bluetooth connection, so the controller would stop functioning after each restart, requiring a repairing.
Getting the PS3 controller to work within the normal bluetooth settings as outlined in the links I provided above also turned out to be a bit over my head.
All in all, I'd say this turned out to be a bit of a folly in my case. I had a perfectly functioning RetroPie with PS3 controllers, but now since reinstalling and trying to get my original setup, I've got several issues I never had before ( @Floob 's Video Manager no longer seems to apply settings, and MAME has utterly broke).
So I'll be posting more questions to try and resolve these issues, but looks like I've got a lot of work just to get back to where I was :/
Good luck to anyone following this trying to get the same result as me, I hope there's a workable solution to a more experienced user.
-
I think trying to get PS3 and the standard bluetooth drivers working together will be very difficult at the moment, there doesnt seem to be a way around that. I'm sure if you try a new clean image you'll find the 8bitdo controllers a breeze to install now with the updated process.
-
@Ransom said in Retropie 3.8 Bluetooth Configure Issue:
I've got several issues I never had before ( @Floob 's Video Manager no longer seems to apply settings, and MAME has utterly broke).What do you mean by mame has utterly broke and what mame version broke? I personally had tested 6 times that if i updated retropie-setup in retropie-setup to 4.0 beta 2 then did a full install update to 4.0 beta 2, mame 2000 libretro (mame4all) no longer worked at all. And apple ii was horribly messed up. But if i did the quick install to 4.0 beta 2 then did the full install everything worked. Not sure if blutooth or anything else was a problem but those were the ones i noticed immedietly and could not fix no matter what. So i had to do the quick install first to have everything working
-
@edmaul69 I've had MAME (mame4all) pulling the roms off a USB drive, which always worked prior. Since reinstalling RetroPie, and resetting the es_system.cfg to look for the MAME roms off the USB, the games would show in Retropie, but all of them would report "missing files" errors, and go back to the RetroPie screen.
I ended up solving it by having to go into the MAME cfg file and pointing part of the config to the same USB directory. It was just weird that I never had to do that before, but in any case the MAME issue seems to have been solved.
Your issue is interesting though, because I opted to use the full install as well, and it's since that I've experienced these "fringe" issues, like MAME directories not working and Retroarch not installing the overlays directory (or allowing the video manager script the permissions to alter those directories). I wonder if there's a connection, since I had never used that update option in prior installations, but only started using it in the latest attempts (the ones giving me issues).
-
Hey guys,
So I'm really new to raspberry pi and honestly not as tech savvy as most all of you here. So I'll end up being wrong more than I'm right I'm sure.
I came across this forum because of this problem. I was using my SNES 8bitdo controllers just fine. Then I installed the PS3 drivers and went through that pairing (also easy) and suddenly couldn't sync my SNES 8bitdos anymore.
Thankfully I learned from you guys that the ds3 config "takes over" the Bluetooth. Which is why I kept freezing too.
But I wanted to add that I was able to remove the PS3 drivers package through that same retropie-setup.sh and once I did I was able to sync up my 8bitdos once again without starting over. (Wish I had tried this last night when I re-flashed my sd and installed everything again).
I'll be keeping an eye here for a fix. I like both the ds3 and 8bitdos and would love to have both paired without any problems.
EDIT: SPoke too soon. When i rebooted they werent working once again. oh well. i like using DS3 so its fine just not ideal.
-
@GJ007 said in Retropie 3.8 Bluetooth Configure Issue:
not much luck. BT seems to be working... but a lot of retrying before i even see the nes30 pro... and when i try to connect;
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 604, in msg_reply_handler
reply_handler(*message.get_args_list(**get_args_opts))
File "/home/pi/RetroPie-Setup/scriptmodules/supplementary/bluetooth/bluez-simple-agent", line 118, in pair_reply
dev_connect(dev_path)
File "/home/pi/RetroPie-Setup/scriptmodules/supplementary/bluetooth/bluez-simple-agent", line 38, in dev_connect
dev.Connect()
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in call
return self._proxy_method(*args, **keywords)
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in call
**keywords)
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.bluez.Error.NotAvailable: Operation currently not availableI also got that exact error. I'm on newly installed Retropie 3.8 from fresh image. I'm using NES30 Pro's. I was able to connect 1 controller via the bluetooth and configured/controlled/and pairs when turned on no problem.
When I went through the same steps to try and get the second controller connected, it discovered my controller with different MAC address, I clicked it and tried to connect hitting displayyesno and then received the above error. Can't figure this one out. Anyone?
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.