Fedora 重启后找不到蓝牙设备

Fedora 重启后找不到蓝牙设备

我刚刚重新启动了蓝牙,但没有使用而是使用了systemctl restartthen systemctl stopsystemctl start状态如下所示:

$ sudo systemctl status bluetooth
● bluetooth.service - Bluetooth service
   Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2018-10-16 09:14:16 CEST; 1min 27s ago
     Docs: man:bluetoothd(8)
 Main PID: 26199 (bluetoothd)
   Status: "Running"
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/bluetooth.service
           └─26199 /usr/libexec/bluetooth/bluetoothd

paź 16 09:14:16 jcubic systemd[1]: Starting Bluetooth service...
paź 16 09:14:16 jcubic bluetoothd[26199]: Bluetooth daemon 5.49
paź 16 09:14:16 jcubic systemd[1]: Started Bluetooth service.
paź 16 09:14:16 jcubic bluetoothd[26199]: Starting SDP server
paź 16 09:14:16 jcubic bluetoothd[26199]: Bluetooth management interface 1.14 initialized

但配置面板给我错误,没有找到适配器并且hciconfig没有给出任何结果。

我尝试安装bluez-hid2hci(我在某处读过相关内容),但没有效果后我将其卸载。

我已经重新启动了机器,但任务栏中没有出现蓝牙图标,但我在终端中看到了这个:

$ systemctl status bluetooth
● bluetooth.service - Bluetooth service
   Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
   Active: inactive (dead)
     Docs: man:bluetoothd(8)
$ dmesg | grep blue
[    8.591069] SELinux:  Class bluetooth_socket not defined in policy.

经过一番挖掘后,我注意到蓝牙内核模块未加载,因此我使用了:

# modeprobe bluetooth
# systemctl restart bluetooth
# cd /etc/modules-load.d
# echo "bluetooth" >> bluetooth.conf

现在我有与开始时相同的 systemctl status show active 但重新启动后没有图标和此输出:

# rfkill list
0: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no

dmesg 的输出:

# dmesg | grep -i blue
[    8.798170] SELinux:  Class bluetooth_socket not defined in policy.
[   16.146091] Bluetooth: Core ver 2.22
[   16.146132] Bluetooth: HCI device and connection manager initialized
[   16.146135] Bluetooth: HCI socket layer initialized
[   16.146136] Bluetooth: L2CAP socket layer initialized
[   16.146141] Bluetooth: SCO socket layer initialized
[  318.675520] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[  318.675524] Bluetooth: BNEP filters: protocol multicast
[  318.675531] Bluetooth: BNEP socket layer initialize

如何在 Fedora 或具有类似设置的任何其他 Linux 发行版上启用蓝牙?我有戴尔笔记本电脑。

答案1

在这个问题中蓝牙在 fedora-22(KDE) 中无法工作(无可用适配器)有人建议冷启动(关闭并重新启动),然后检查日志,没想到这会与重新启动有任何不同,但它使我的蓝牙再次工作。

相关内容