![Gnome 蓝牙未检测到设备 -- Arch Linux](https://linux22.com/image/206031/Gnome%20%E8%93%9D%E7%89%99%E6%9C%AA%E6%A3%80%E6%B5%8B%E5%88%B0%E8%AE%BE%E5%A4%87%20--%20Arch%20Linux.png)
我在 Arch Linux 上安装了 GNOME,它与 Windows 11 操作系统双启动。
问题:
Gnome 蓝牙打开/关闭但不检测设备。
屏幕截图:
关闭时:
当其开启时:
它没有检测到任何附近的设备(“设备”标签旁边没有任何东西旋转)。
但是我的三星手机的蓝牙正在检测它(PC),但无法连接到它(这并不罕见)。
我尝试了互联网上的其他一些网站。因此,
当我运行时sudo rfkill list
,
输出:
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
1: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
另外,sudo systemctl status bluetooth
, 产生
● bluetooth.service - Bluetooth service
Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2022-05-18 23:05:56 IST; 21min ago
Docs: man:bluetoothd(8)
Main PID: 422 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 4578)
Memory: 2.5M
CPU: 80ms
CGroup: /system.slice/bluetooth.service
└─ 422 /usr/lib/bluetooth/bluetoothd
May 18 23:05:56 Someone systemd[1]: Started Bluetooth service.
May 18 23:05:57 Someone bluetoothd[422]: Bluetooth management interface 1.21 initialized
May 18 23:06:51 Someone bluetoothd[422]: Endpoint registered: sender=:1.50 path=/MediaEndpoint/A2DPSink/sbc
May 18 23:06:51 Someone bluetoothd[422]: Endpoint registered: sender=:1.50 path=/MediaEndpoint/A2DPSource/sbc
May 18 23:06:51 Someone bluetoothd[422]: Endpoint registered: sender=:1.50 path=/MediaEndpoint/A2DPSink/sbc_xq_453
May 18 23:06:51 Someone bluetoothd[422]: Endpoint registered: sender=:1.50 path=/MediaEndpoint/A2DPSource/sbc_xq_453
May 18 23:06:51 Someone bluetoothd[422]: Endpoint registered: sender=:1.50 path=/MediaEndpoint/A2DPSink/sbc_xq_512
May 18 23:06:51 Someone bluetoothd[422]: Endpoint registered: sender=:1.50 path=/MediaEndpoint/A2DPSource/sbc_xq_512
May 18 23:06:51 Someone bluetoothd[422]: Endpoint registered: sender=:1.50 path=/MediaEndpoint/A2DPSink/sbc_xq_552
May 18 23:06:51 Someone bluetoothd[422]: Endpoint registered: sender=:1.50 path=/MediaEndpoint/A2DPSource/sbc_xq_552
从: https://linuxhint.com/bluetooth_arch_linux/
所以,蓝牙似乎工作正常
我尝试过的:
尝试1:
sudo systemctl stop bluetooth
sudo systemctl start bluetooth
reboot
>> 不工作
尝试2:
sudo systemctl disable bluetooth
sudo systemctl enable bluetooth
reboot
>> 没有运气
尝试3:
sudo pacman -S blueman
- 作品好吧有点...
使用 blueman,我必须按下搜索按钮来搜索其他设备,当它找到某些东西时,gnome 设置也会随之更新(神奇地),但不会进行任何进一步的检测...
这还不能解决我的问题吗?
答:当然不是!
我应该如何获取 gnome 设置来实时检测其他蓝牙设备?
(一个月前我用 GNOME 安装了 Arch,但没有出现这个问题。)
答案1
打开终端并输入
sudo pacman -S bluez bluez-utils blueman
然后关闭蓝牙然后再打开
如果这不起作用,那么之后尝试这样做
转到设置 -> 应用程序 -> 蓝牙管理器 -> 扫描设备