Bluetooth controller registers but will not connect
-
it may not be compatible, but perhaps you can detail the process of pairing. eg the order of things / what you typed when trying to pair manually, what buttons you pressed on the controller etc.
-
when manually configuring I used method below.
sudo bluetoothctl
scan on
(then held both home and X on controller to put it into pairing mode)
(contoller is listed with no issue)
agent on
pair MAC
(At this stage asks me to enter code again)
trust MAC
Connect MACAfter this it says it has all worked correctly but then just cycles through connecting .
-
After agent on try
default-agent
or alternatively instead of agent on try
agent NoInputNoOutput
,agent KeyboardDisplay
oragent DisplayYesNo
-
@BuZz Thanks for that it is now connecting with no problem, just not showing up as a connected controller in emulationstation but at least its a step forward.
-
you might need a udev rule - update ertropie-setup and use the retropie-setup bluetooth configuration, and choose the entry to add a udev rule.
BTW which of the above fixed it ? I may be able to improve the automatic pairing code.
-
@BuZz It was the agent KeyboardDisplay that got it going.
-
If I add those additional agents to the RetroPie-Setup bluetooth module, would you be happy to remove and try re-registering the controller ?
-
@BuZz Yeh that is no problem
-
Actually KeyboardDisplay is already available - so it might just be that it wont work via the existing code. I know with one of my controllers, sometimes i asks for a pin, but if i try a few times it will work.
-
@BuZz That might be what happened with mine but I have done a number of reboots and it connects perfectly now. Just cannot get emulationstation to register it for configuration. I have tried adding a udev rule with no change.
-
did you create the udev rule via retropie-setup or manually ?
-
@BuZz I used the setup it created the file titled 99-bluetooth.
-
hmm that's annoying then.
Please can you paste the contents of the file, and also the output of
~/RetroPie-Setup/scriptmodules/supplementary/bluetooth/bluez-test-device list
-
Both file contents are below
SUBSYTEM=="input", ATTRS{name}=="BT Gamepad", MODE="0666", ENV{ID_INPUT_JOYSTICK}="1"
FF:87:41:02:63:25 BT Gamepad
-
Does it only have one power on mode ? It may well be you cannot use this joypad with Linux currently - there is little information about it too as it's not a big brand etc - it also says on amazon it doesn't work with mac and the reviews are not too great.
Better to spend your money on a known working one, than spending so much time getting this to work.
-
@BuZz Yeh I think I will have to to be fair I use it with my phone for VR games which is what I got it for just thought it would be cool if I could use it for this as well.
Thank you for all your help.
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.