Ubuntu – How to set up bluetooth in ubuntu 18.04

18.04bluetoothfirmwareheadphoneswireless

I've installed Ubuntu 18.04.I have a headset and I'm trying to connect it to my laptop(hp),when I try switching bluetooth to "On" it displays:"No bluetooth found,plugin a dongle to use bluetooth",I tried to install Blue Managerand blueZ but it displays me :No adapters !,Any one knows the steps of bluetooth configuration ?

1-No Bluetooth found
Blueman is disable

I've tried lspci -nnk | grep -iA3 net;lsusb;dmesg | egrep -i 'blue|firm commands and the results are :

:~$ lspci -nnk | grep -iA3 net
07:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8188EE Wireless Network Adapter [10ec:8179] (rev 01)
    Subsystem: Hewlett-Packard Company RTL8188EE mini-PCIe card [103c:197d]
    Kernel driver in use: rtl8188ee
    Kernel modules: rtl8188ee
08:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [10ec:8136] (rev 07)
    Subsystem: Hewlett-Packard Company RTL810xE PCI Express Fast Ethernet controller [103c:1970]
    Kernel driver in use: r8169
    Kernel modules: r8169
:~$ lsusb
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 005: ID 19d2:1405 ZTE WCDMA Technologies MSM 
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 04f2:b3a6 Chicony Electronics Co., Ltd 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


:~$ dmesg | egrep -i 'blue|firm
> 

Edit 1:
After some googling ,I found that I need to buy a Bluetooth adapter to connect my PC to headphone,I bought one (Bluetooth Dongle (Cambridge Silicon Radio, Ltd)) and it plugged to my pc and my bluetooth is "On" but my laptop can not detect my device.
enter image description here
After I plugged the bluetooth adpater and run lspci -knn | grep Net -A2; lsusb the result is :

07:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8188EE Wireless Network Adapter [10ec:8179] (rev 01)
    Subsystem: Hewlett-Packard Company RTL8188EE mini-PCIe card [103c:197d]
    Kernel driver in use: rtl8188ee
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 014: ID 19d2:1405 ZTE WCDMA Technologies MSM 
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 04f2:b3a6 Chicony Electronics Co., Ltd 
Bus 003 Device 006: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

When I run hcitool ,it does not detect the adapter (Bus 003 Device 003: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode),and the result is :

 hcitool dev
Devices:

Best Answer

I've struggled for years with bluetooth. The bluetooth stack is very complex and has issues but it gets better year by year.

Here's what I have done and it works great

  • get yourself a Plugable usb bluetooth adapter (Amazon)
  • hot plug it, no need to reboot

  • find and install blueman from the repos (bluez never has worked well for me)

  • power up your headphones, ready to pair
  • open blueman, select devices, find your headphones in the list
  • select setup, choose how you want to connect and click next
  • after a couple seconds, it should pair

  • open sound, scroll to find and select your headphones from the list

Note: You'll have to pair again and select in sound after every boot.

Related Question