ubuntu20.04 蓝牙搜索不到设备(实测有效)
ubuntu20.04 蓝牙搜索不到设备(实测有效)
一、问题本来蓝牙是没问题的,突然间无法搜到到设备了我是ubuntu 20.04二、分析尝试了很多教程,都不行1、sudo rmmod btusbsleep 1sudo modprobe btusb2、sudo apt install bluemansudo apt-get install blue-utilssudo apt-get install bluez*3、sudo service blu
一、问题
本来蓝牙是没问题的,突然间无法搜到到设备了
我是ubuntu 20.04
二、分析
尝试了很多教程,都不行
1、
sudo rmmod btusb
sleep 1
sudo modprobe btusb
2、
sudo apt install blueman
sudo apt-get install blue-utils
sudo apt-get install bluez*
3、
sudo service bluetooth start
4、
rfkill block bluetooth
rfkill unblock bluetooth
三、解决
最后通过 dmesg | grep -i blue 发现问题
发现了这条问题
RTL: firmware file rtl_bt/rtl8761b_fw.bin not found
使用了以下两种方法,最后重启之后终于好了!
但是不清楚是哪种奏效,大家尝试之后,希望可以和我说一下
1、
git clone https://github.com/pedrovagner/fix-ubuntu-bluetooth-adapter
sh fix-ubuntu-bluetooth-adapter/project.sh fix
2、
cd /tmp
# Fetch rtl8761b_config and rtl8761b_fw from https://github.com/Realtek-OpenSource/android_hardware_realtek
wget https://raw.githubusercontent.com/Realtek-OpenSource/android_hardware_realtek/rtk1395/bt/rtkbt/Firmware/BT/rtl8761b_config
wget https://raw.githubusercontent.com/Realtek-OpenSource/android_hardware_realtek/rtk1395/bt/rtkbt/Firmware/BT/rtl8761b_fw
mv rtl8761b_config /lib/firmware/rtl_bt/rtl8761b_config.bin
mv rtl8761b_fw /lib/firmware/rtl_bt/rtl8761b_fw.bin
sudo modprobe btusb
sudo systemctl start bluetooth.service
hciconfig -a # will show that the bluetooth-device is up
四、资料
drivers - Ubuntu 21.04 - bluetooth 5.0 dongle does not work and says there's no firmware - Ask Ubuntuhttps://askubuntu.com/questions/1339825/ubuntu-21-04-bluetooth-5-0-dongle-does-not-work-and-says-theres-no-firmwareHow to setup Bluetooth v5 - Unix & Linux Stack Exchangehttps://unix.stackexchange.com/questions/640370/how-to-setup-bluetooth-v5/643707#643707
来源:https://huaweicloud.csdn.net/635637e7d3efff3090b5aeaf.html