Bluetooth 通过rfkill阻止蓝牙
rfkill列表1 命令给了我:Bluetooth 通过rfkill阻止蓝牙,bluetooth,ubuntu-18.04,Bluetooth,Ubuntu 18.04,rfkill列表1 命令给了我: 1: ideapad_bluetooth: Bluetooth Soft blocked: no Hard blocked: no 但是,当我运行以下命令时 sudo systemctl状态bluetooth.service 我得到这个错误: bluetooth.service - Bluetooth service Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor
1: ideapad_bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
但是,当我运行以下命令时
sudo systemctl状态bluetooth.service
我得到这个错误:
bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2019-01-27 13:55:21 +03; 1h 4min ago
Docs: man:bluetoothd(8)
Main PID: 950 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 4915)
CGroup: /system.slice/bluetooth.service
└─950 /usr/lib/bluetooth/bluetoothd
systemd[1]: Starting Bluetooth service...
bluetoothd[950]: Starting SDP server
systemd[1]: Started Bluetooth service.
bluetoothd[950]: Bluetooth management interface 1.14 initialized
bluetoothd[950]: Failed to set mode: Blocked through rfkill (0x12)
bluetoothd[950]: Failed to set mode: Blocked through rfkill (0x12)
bluetoothd[950]: Failed to set mode: Blocked through rfkill (0x12)
bluetoothd[950]: Failed to set mode: Blocked through rfkill (0x12)
bluetoothd[950]: Failed to set mode: Blocked through rfkill (0x12)
bluetoothd[950]: Failed to set mode: Failed (0x03)
我使用Ubuntu 18.04.1 LTS。当我启动蓝牙时,它会搜索设备,但永远不会结束。我目前在X1碳素ThinkPad上的Mint 19.3(内核5.4.0-48-generic)中遇到了这个问题。我的
rfkill
显示蓝牙为硬阻塞。不知道为什么有必要这样做,但这对我来说很有效:
sudo rfkill unblock bluetooth
在过去的两周里,我已经做了两次,这表明一些随机的事情正在发生,导致蓝牙在重启后被阻塞。随机问题总是很棘手。我也遇到了同样的问题:
rfkill
没有显示设备已被阻止,但命令
# rfkill block bluetooth
# rfkill unblock bluetooth
为我工作
我希望我能帮上忙
PS:
#
意味着以root用户身份运行(通过sudo
或其他方式)我在Dell Latitude上运行Ubuntu 18.04时也遇到同样的问题。我能够使用GUI连接到我的耳机。我曾有一段时间通过耳机输出声音,但后来连接中断。我遇到了与@Ben alsoAlso在Manjaro GNOME上为我工作时相同的问题!记得在那之后重启蓝牙,用sudo systemctl restart Bluetooth
解决了这个问题(Ubuntu 21.04)也有同样的问题,这个解决方案在Linux 5.13.0-1-MANJARO x86_64 21.0.7 Ornara上也适用。