[100% Working] Bluetooth keep searching for device in linux (specially Ubuntu 17.10)
Note: All command mention below works for Debian varient destro only like debian, ubuntu, linux mint etc.
I want to Solve your problem in some steps:
1. Simply turn off and on or restart your system (I think you might done it before reading this.)
2. [It WORKED in my case]
Open terminal by pressing Ctrl+Alt+T , and then type
nmcli networking off
and then type, nmcli networking on
and then try searching again in your bluetooth device.
3. You should better manually connect using bluetoothctl via terminal
If you want to learn how to use bluetoothctl command in terminal click here to watch video(skip the advertisment as it help blog to continue)
or, with bluetooth manager (to install on ubuntu run sudo apt install blueman in terminal).
In case if you connecting wireless headphones the you
4. To turn on the bluetooth radio type
After doing this the status changed
next, with the device on discovery mode type
This outputs the name and MAC address of the device. Copy this down in a text box or something, you'll need it later.
I couldn't find the command via hcitool to add the device, which I am sure tehre is one. I tried hcitool --help and from there I tried hcitool lecc which is labeled Create a LE connection. That didn't seem to do anything. It just timed out after a while. After finding another page, https://help.ubuntu.com/community/Bl...#Setup_Devices I did a
and used the hidd command
and it should work.
One of above method must be working, if none work then kindly check your bluetooth driver and report on some debian or ubuntu forum your problem for debugging.
I will update in case i found auto switch mode
I want to Solve your problem in some steps:
1. Simply turn off and on or restart your system (I think you might done it before reading this.)
2. [It WORKED in my case]
Open terminal by pressing Ctrl+Alt+T , and then type
nmcli networking off
and then type, nmcli networking on
and then try searching again in your bluetooth device.
3. You should better manually connect using bluetoothctl via terminal
If you want to learn how to use bluetoothctl command in terminal click here to watch video(skip the advertisment as it help blog to continue)
or, with bluetooth manager (to install on ubuntu run sudo apt install blueman in terminal).
In case if you connecting wireless headphones the you
4. To turn on the bluetooth radio type
Code:
sudo hciconfig hci0 up
Code:
hciconfig
hci0: Type: BR/EDR Bus: USB
BD Address: 80:86:F2:19:F5:40 ACL MTU: 1021:5 SCO MTU: 96:5
UP RUNNING
RX bytes:1699 acl:0 sco:0 events:152 errors:0
TX bytes:21255 acl:0 sco:0 commands:151 errors:0
Code:
hcitool scan
I couldn't find the command via hcitool to add the device, which I am sure tehre is one. I tried hcitool --help and from there I tried hcitool lecc which is labeled Create a LE connection. That didn't seem to do anything. It just timed out after a while. After finding another page, https://help.ubuntu.com/community/Bl...#Setup_Devices I did a
Code:
sudo apt-get install bluez-compat
Code:
sudo hidd --connect AA:BB:CC:DD:EE
Source: Ubuntu Forum
One of above method must be working, if none work then kindly check your bluetooth driver and report on some debian or ubuntu forum your problem for debugging.
Bonus tip: If you trying to connect wireless headphones then after connecting bluetooth wireless headphones to linux they don't start playing/switch to it automatically. Your have to manually switch to it.
I get this after reading the source:
For manually switching, firstly install volume control by typing in terminal
sudo apt install pulseaudio pulseaudio-utils pavucontrol pulseaudio-module-bluetooth
I think pulseaudio bluetooth is installed by default, anyway, next…
sudo gedit /etc/bluetooth/audio.conf
For some reason this file doesn’t exist, I tried looking the files up on some Ubuntu VMs I have, those files… diddly squat, anyway, add this file or edit this file to include the following
# This section contains options which are not specific to any
# particular interface
[General]
Enable=
# Switch to master role for incoming connections (defaults to true)
#Master=true
and finally restart the bluetooth service, like so… (make sure your bluetooth manager is closed)
sudo service bluetooth restart
Go ahead and add your headset, and on sound settings choose high fidelity audio.
I will update in case i found auto switch mode
Comments
Post a Comment