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 [2021/10/06 22:51] – added batocera-bluetooth commands 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 ====== | ||
| - | You need to establish a [[access_the_batocera_via_ssh|SSH connection]] or a terminal windows with keyboard to accomblish this further. You can connect your bluetooth controller manually by doing some commands step by step. | + | First ensure that Bluetooth is enabled on your device. First, the line '' |
| - | Get started by typing '' | + | Establish an [[: |
| 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 80: | Line 82: | ||
| | | ||
| [CHG] Controller 90: | [CHG] Controller 90: | ||
| + | |||
| + | ===== Batocera is automatically pairing a device I don't want it to! ===== | ||
| + | |||
| + | Some devices out there break Bluetooth protocol and are always in " | ||
| + | |||
| + | To work around this, it is possible to pair to only strictly pads. Put your controller into its pairing mode and then run the following: | ||
| + | |||
| + | < | ||
| + | batocera-bluetooth trust-pad | ||
| + | </ | ||
| + | |||
| + | Batocera will explicitly only search for and connect to Bluetooth controllers. This may take a while as it methodically goes through, parses and accepts/ | ||
| + | |||
| + | < | ||
| + | [root@RPI3-BATOCERA / | ||
| + | Pairing 8BitDo M30 gamepad... | ||
| + | Trusting 8BitDo M30 gamepad... | ||
| + | [root@RPI3-BATOCERA / | ||
| + | </ | ||
| + | |||
| + | The Bluetooth controller can now be used with Batocera. | ||
| + | |||
| + | Conversely, the same can be done to connect strictly to audio devices: | ||
| + | |||
| + | < | ||
| + | batocera-bluetooth trust-audio | ||
| + | </ | ||
| + | |||
| + | --> Blacklisting a device in Batocera v33 # | ||
| + | |||
| + | <WRAP center round important> | ||
| + | The functionality of this has been supplanted by '' | ||
| + | </ | ||
| + | |||
| + | There might be some device that is perpetually in pairing mode that you don't want your Batocera machine to connect to (such as your neighbor' | ||
| + | |||
| + | In order to do this via SSH, run the following command: | ||
| + | |||
| + | < | ||
| + | batocera-bluetooth blacklist <device address> <device name> | ||
| + | </ | ||
| + | |||
| + | For example: | ||
| + | |||
| + | FIXME | ||
| + | |||
| + | To show a list of all the currently blacklisted devices: | ||
| + | |||
| + | < | ||
| + | batocera-bluetooth list_blacklistable | ||
| + | </ | ||
| + | |||
| + | To remove a device from the blacklist: | ||
| + | |||
| + | < | ||
| + | batocera-bluetooth unblacklist <device address> | ||
| + | </ | ||
| + | |||
| + | <-- | ||
| ===== Using batocera-bluetooth ===== | ===== Using batocera-bluetooth ===== | ||
| Line 88: | Line 149: | ||
| < | < | ||
| - | 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 trust Trust a new, randomly(?) selected device. Good luck! | + | batocera-bluetooth trust Scan for and trust a new, randomly(?) selected device. Good luck! |
| - | batocera-bluetooth remove <device address> | + | batocera-bluetooth trust-pad |
| - | batocera-bluetooth save Saves the newly trusted device to memory. | + | batocera-bluetooth trust-audio |
| - | batocera-bluetooth restore | + | batocera-bluetooth starttrust |
| + | batocera-bluetooth stoptrust | ||
| + | batocera-bluetooth remove <device address> | ||
| + | batocera-bluetooth save Saves the newly trusted device to memory. | ||
| + | batocera-bluetooth restore | ||
| + | batocera-bluetooth live_devices | ||
| </ | </ | ||
| + | |||
| + | --> v33 specific commands# | ||
| + | |||
| + | < | ||
| + | batocera-bluetooth list_blacklistable | ||
| + | batocera-bluetooth blacklist <device address> <device name> | ||
| + | batocera-bluetooth unblacklist <device address> | ||
| + | </ | ||
| + | |||
| + | <-- | ||
- bluetooth_controllers_-_manual_setup.1633560667.txt.gz
- Last modified: 5 years ago
- by atari