Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| bluetooth_controllers_-_manual_setup [2022/08/02 06:43] – [Batocera is automatically pairing a device I don't want it to!] add proper info on how to block devices atari | bluetooth_controllers_-_manual_setup [2023/01/11 06:19] (current) – [Pair Bluetooth Controllers - manual setup] no more blank spaces atari | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Pair Bluetooth Controllers - manual setup ====== | ====== Pair Bluetooth Controllers - manual setup ====== | ||
| - | First ensure that Bluetooth is enabled on your device. | + | First ensure that Bluetooth is enabled on your device. |
| Establish an [[: | Establish an [[: | ||
| Line 7: | Line 7: | ||
| Now you are in the Bluetooth control unit. Type following commands and confirm every single one with '' | Now you are in the Bluetooth control unit. Type following commands and confirm every single one with '' | ||
| - | | + | < |
| - | default-agent | + | agent on |
| - | power on | + | default-agent |
| - | scan on | + | power on |
| + | scan on | ||
| + | </ | ||
| Now set the controller in pairing mode! This strongly depends from your [[: | Now set the controller in pairing mode! This strongly depends from your [[: | ||
| Line 85: | Line 87: | ||
| Some devices out there break Bluetooth protocol and are always in " | Some devices out there break Bluetooth protocol and are always in " | ||
| - | Enter the Bluetooth ctl: | + | To work around this, it is possible |
| - | + | ||
| - | <code bash> | + | |
| - | bluetoothctl | + | |
| - | </ | + | |
| - | + | ||
| - | then turn on scanning: | + | |
| - | + | ||
| - | <code bash> | + | |
| - | scan on | + | |
| - | </ | + | |
| - | + | ||
| - | Wait for your malfunctional device | + | |
| - | + | ||
| - | <code bash> | + | |
| - | block < | + | |
| - | </ | + | |
| - | + | ||
| - | where ''< | + | |
| < | < | ||
| - | block 69: | + | batocera-bluetooth trust-pad |
| - | </ | + | |
| - | + | ||
| - | <WRAP center round important> | + | |
| - | Write down the MAC address somewhere, you'll need to know this if you ever want to unblock the device in the future! | + | |
| - | </ | + | |
| - | + | ||
| - | You can check if the device had unintentionally paired by running the following: | + | |
| - | + | ||
| - | <code bash> | + | |
| - | paired-devices | + | |
| - | </ | + | |
| - | + | ||
| - | and if it has, remove it: | + | |
| - | + | ||
| - | <code bash> | + | |
| - | remove <MAC> | + | |
| </ | </ | ||
| - | If you change your mind in the future | + | Batocera will explicitly only search for and connect |
| < | < | ||
| - | unblock <MAC> | + | [root@RPI3-BATOCERA / |
| + | Pairing 8BitDo M30 gamepad... | ||
| + | Trusting 8BitDo M30 gamepad... | ||
| + | [root@RPI3-BATOCERA / | ||
| </ | </ | ||
| - | --> Using the live_devices function (currently broken) # | + | The Bluetooth controller can now be used with Batocera. |
| - | This can be avoided by utilizing the '' | + | Conversely, the same can be done to connect strictly to audio devices: |
| - | + | ||
| - | <WRAP center round todo> | + | |
| - | Demonstration needed! | + | |
| - | </ | + | |
| - | + | ||
| - | Run: | + | |
| < | < | ||
| - | batocera-bluetooth | + | batocera-bluetooth |
| </ | </ | ||
| - | |||
| - | Note down which device you want to connect to. Then: | ||
| - | |||
| - | < | ||
| - | batocera-bluetooth trust [MAC address] | ||
| - | </ | ||
| - | |||
| - | <-- | ||
| --> Blacklisting a device in Batocera v33 # | --> Blacklisting a device in Batocera v33 # | ||
| <WRAP center round important> | <WRAP center round important> | ||
| - | The functionality of this has been supplanted by '' | + | The functionality of this has been supplanted by '' |
| - | </ | + | |
| - | + | ||
| - | <WRAP center round todo> | + | |
| - | Demonstration needed! | + | |
| </ | </ | ||
| Line 197: | Line 150: | ||
| < | < | ||
| batocera-bluetooth list Print the list of currently trusted and saved Bluetooth devices. | batocera-bluetooth list Print the list of currently trusted and saved Bluetooth devices. | ||
| - | batocera-bluetooth list_blacklistable | + | batocera-bluetooth trust Scan for and trust a new, randomly(?) selected device. Good luck! |
| - | batocera-bluetooth trust Trust a new, randomly(?) selected device. Good luck! | + | batocera-bluetooth trust-pad |
| + | batocera-bluetooth trust-audio | ||
| + | batocera-bluetooth starttrust | ||
| + | batocera-bluetooth stoptrust | ||
| batocera-bluetooth remove <device address> | batocera-bluetooth remove <device address> | ||
| batocera-bluetooth save Saves the newly trusted device to memory. | batocera-bluetooth save Saves the newly trusted device to memory. | ||
| Line 208: | Line 164: | ||
| < | < | ||
| + | batocera-bluetooth list_blacklistable | ||
| batocera-bluetooth blacklist <device address> <device name> | batocera-bluetooth blacklist <device address> <device name> | ||
| batocera-bluetooth unblacklist <device address> | batocera-bluetooth unblacklist <device address> | ||
- bluetooth_controllers_-_manual_setup.1659422601.txt.gz
- Last modified: 4 years ago
- by atari