RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Retropie 3.8 Bluetooth Configure Issue

    Scheduled Pinned Locked Moved Help and Support
    bluetoothps38bitdo
    40 Posts 12 Posters 28.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      Ransom
      last edited by Ransom

      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.

      1 Reply Last reply Reply Quote 0
      • R
        Ransom
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • Z
          zakhounet
          last edited by

          @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.

          1 Reply Last reply Reply Quote 0
          • R
            Ransom
            last edited by Ransom

            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.

            edmaul69E 1 Reply Last reply Reply Quote 0
            • FloobF
              Floob
              last edited by

              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.

              Please read the Docs before asking a new question.
              RetroPie Help Guides: https://goo.gl/3gcNsT

              1 Reply Last reply Reply Quote 0
              • edmaul69E
                edmaul69 @Ransom
                last edited by

                @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

                R 1 Reply Last reply Reply Quote 0
                • R
                  Ransom @edmaul69
                  last edited by

                  @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).

                  B 1 Reply Last reply Reply Quote 0
                  • B
                    bigkurz @Ransom
                    last edited by bigkurz

                    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.

                    1 Reply Last reply Reply Quote 0
                    • S
                      sreisig1 @GJ007
                      last edited by

                      @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 available

                      I 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?

                      1 Reply Last reply Reply Quote 0
                      • R
                        RadBrad87
                        last edited by

                        I had the following error that occurs if you configure a PS3 controller before attempting to configure an 8bitdo gamepad:

                        Traceback (most recent call last): 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/osmc/RetroPie-Setup/scriptmodules/supplementary/bluetooth/bluez-simple-agent", line 118, in pair_reply dev_connect(dev_path) File "/home/osmc/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 available

                        The solution is to remove the PS3 controller driver via the retropie_setup.sh script ([Manage packages] -> [driver]->[ps3controller]->[uninstall/remove]).

                        Afterward, manually remove all packages/dependencies related to it. Basically any package mentioned in the PS3 controller setup guide:

                        https://github.com/retropie/retropie-setup/wiki/Setting-up-a-PS3-controller

                        sudo apt-get --purge remove sixad
                        sudo apt-get --purge remove sixpair
                        sudo apt-get --purge remove bluetooth
                        sudo apt-get --purge remove blueman
                        sudo apt-get --purge remove bluez-hcidump
                        sudo apt-get --purge remove checkinstall
                        sudo apt-get --purge remove libusb-dev
                        sudo apt-get --purge remove libbluetooth-dev
                        sudo apt-get --purge remove joystick
                        sudo apt-get --purge remove pkg-config
                        sudo apt-get --purge remove python-gobject
                        sudo apt-get --purge remove bluez-utils
                        sudo apt-get --purge remove pi-bluetooth

                        Then,

                        sudo apt-get install pi-bluetooth

                        Then follow the normal 8bitdo setup guide:
                        https://github.com/retropie/retropie-setup/wiki/Setting-up-an-8bitdo-Bluetooth-controller

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        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.