> 技术文档 > ubuntu24.04蓝牙打不开_ubuntu蓝牙无法打开

ubuntu24.04蓝牙打不开_ubuntu蓝牙无法打开

时不时打开电脑蓝牙不能用了。

https://zhuanlan.zhihu.com/p/559430249https://zhuanlan.zhihu.com/p/559430249这个方法一步一步试基本就解决问题了,前提是先升级一下再执行:

sudo apt updatesudo apt upgrade

不然还是解决不了蓝牙打不开的问题

——————————————————————————————————————————

以上解决不了:

sudo service bluetooth start

检查蓝牙服务状态

首先,检查蓝牙服务是否正在运行。

systemctl status bluetooth.service

如果显示inactive (dead),则需要启动蓝牙服务。

sudo systemctl start bluetooth.service

重新加载btusb内核模块

卸载并重新加载支持蓝牙设备的btusb内核模块。

sudo rmmod btusb
sudo modprobe btusb

安装蓝牙工具和工具包

使用apt安装blueman蓝牙管理工具和blue-utils蓝牙实用工具。

sudo apt install blueman
sudo apt-get install blue-utils
sudo apt-get install bluez*

解除蓝牙设备的阻止

使用rfkill命令解除对蓝牙设备的阻止。

rfkill block bluetooth
rfkill unblock bluetooth

检查日志文件中的错误信息

使用dmesg命令检查日志文件中的错误信息。

sudo dmesg | grep -i bluetooth

sudo rmmod btusbsleep 1sudo modprobe btusb

这三条一起执行又可以了

—————————————————————————————————————————— 

journalctl -xe | grep -i bluetooth
systemctl status bluetooth
sudo systemctl start bluetooth
lsmod | grep btusb
sudo modprobe -r btusbsudo modprobe btusb