how to

Bluetooth open but cant find device

Jun 24, 2024
osubuntubluetooth
2 Minutes
334 Words

Bluetooth open but cant find device

Try this first

1
sudo rmmod btusb
2
sleep 1
3
sudo modprobe btusb

If failed, try:

ref: https://blog.51cto.com/u_14193285/5985919

1
# 关闭蓝牙设备
2
sudo hciconfig hci0 down
3
# 卸载蓝牙模块
4
sudo rmmod btusb
5
# 重加载蓝牙模块
6
sudo modprobe btusb
7
# 解锁蓝牙设备
8
sudo rfkill unblock bluetooth
9
# 开启蓝牙设备
10
sudo hciconfig hci0 up
11
#重启蓝牙服务
12
sudo systemctl restart bluetooth

我这边做到 hci0 up 就无法继续了,但是没关系,关机 30s 后恢复,蓝牙就正常工作了。

下午又挂了!而且上面方法没用了!

试试这个,又成功启动了:

https://blog.csdn.net/Insight__/article/details/132777714

1
# 卸载并重新加载btusb内核模块(支持蓝牙设备的内核模块)
2
sudo rmmod btusb
3
sleep 1
4
sudo modprobe btusb
5
6
# 安装蓝牙工具和工具包
7
# 使用apt安装blueman蓝牙管理工具
8
sudo apt install blueman
9
# 使用apt-get安装blue-utils蓝牙实用工具
10
sudo apt-get install blue-utils
11
# 使用apt-get安装bluez蓝牙套件的所有相关包
12
sudo apt-get install bluez*
13
14
# 3、启动蓝牙服务
15
sudo service bluetooth start
6 collapsed lines
16
17
# 4、重新解除蓝牙设备的阻止
18
# 阻止蓝牙设备
19
rfkill block bluetooth
20
# 解除对蓝牙设备的阻止
21
rfkill unblock bluetooth

this cmd verified to be effective on 24.6.25

this cmd verified to be effective on 24.6.25 again, the rmmod and modprobe is enough

this cmd verified to be effective on 24.6.27 again, the rmmod and modprobe is enough

this cmd verified to be effective on 24.9.9 on linux, the rmmod and modprobe is enough

Article title:Bluetooth open but cant find device
Article author:Julyfun
Release time:Jun 24, 2024
Copyright 2025
Sitemap