Skip to content

Connect bluetooth controller manually (EN)

valvolt edited this page Oct 14, 2017 · 3 revisions

You can connect your bluetooth controller manually.

You will need to get a root access

If your recalbox version is 4.0.x or below

Put your bluetooth controller in association mode, and type :
hcitool scan

That will return the mac address of the controller :
aa:bb:cc:dd:ee:ff Name:Bluetooth HID

Then create the connection to the controller :
hidd --connect aa:bb:cc:dd:ee:ff

And restart emulationstation :
/etc/init.d/S31emulationstation start

If your recalbox version is 4.1.x or later

You have 2 possible ways. One may fail, so try the other after. Start your controller in pairing mode, make sure you previously resetted it and deleted any existing association. Please note : for now, you must start your BT controller #AFTER# Emulationstation has started.

Using simple-agent

Find the mac address of your controller (in upper case format) using /recalbox/scripts/bluetooth/test-device list. Try several times if your controller isn't listed. If after a few tries, your controller is still not listed, switch to method B.

If your controller is listed, then type /recalbox/scripts/bluetooth/simple-agent hci0 "AA:BB:CC:DD:EE:FF" where AA:BB:CC:DD:EE:FF is the mac address of your peripheral in uppercase. It may ask you a PIN code, so refer to your pad documentation. If you still can't pair, try the next method.

Using bluetoothctl

Start bluetoothctl then type the following commands :

agent on
power on
scan on

Wait until bluetoothctl lists your device then

connect AA:BB:CC:DD:EE:FF
Clone this wiki locally
You can’t perform that action at this time.