Skip to content

Setting up hands‐free calling

ItsJustAGitHubMichealWhosGonnaSeeIt5Ppl edited this page Oct 11, 2024 · 3 revisions

Requirements

  • Microphone
  • External Bluetooth adapter (Tested adapters below)* Some Pi's do support calling, try removing ofono before buying an adapter
    • TP-LINK UB4A

Setup

Disable onboard Bluetooth

  1. run sudo nano /etc/modprobe.d/raspi-blacklist.conf

  2. Add the following lines

blacklist btbcm

blacklist hci_uart

  1. Save and close

Uninstall oFono

For some reason oFono causes the switch to HFP to fail, so it must be removed.

  1. run sudo apt purge ofono

Reboot!

Pair your phone

  1. Open terminal and run bluetooth ctl
  2. run list and confirm only one device appears. If two devices (controllers) appear, you have not disabled the onboard bluetooth.
  3. run power on to turn on the bluetooth adapter (may already be on)
  4. run discoverable on to allow your phone to find your Pi.
  5. On your phone, connect to your Pi.
  6. Once you attempt to connect to your Pi, you should see a prompt appear on both the Pi and the phone asking you to confirm a pin. Confirm the Pin on the Pi first!.
  7. Wait 10 - 15 seconds, and close any remaining Bluetooth connection prompts.
  8. Confirm that audio and calling works.

Troubleshooting

Can't hear other person, but they can hear me.

This can be caused by having both the microphone and audio output connected to the same sound card, try connecting to another sound card (or the internal one)

Clone this wiki locally