信息
我的蓝牙昨天工作正常,但是当我用 更新所有软件包时yay
,我的蓝牙无法连接。今天,我跑了:
sudo pacman -Syu
yay -Syu
现在我的蓝牙无法连接。
当我打开时bluetoothctl
,它给了我No default controller available
。
另外,您能否向我解释一下您希望我运行的所有命令,因为我对 Arch Linux 或 Linux 操作系统不太了解?感谢任何试图帮助我的人! :)
调试
我跑:
sudo systemctl enable bluetooth
sudo systemctl start bluetooth
sudo systemctl status bluetooth
给我:
● bluetooth.service - Bluetooth service
Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: disable>
Active: active (running) since Thu 2022-04-21 03:49:22 PDT; 1 day 7h ago
Docs: man:bluetoothd(8)
Main PID: 15162 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 13909)
Memory: 852.0K
CPU: 28ms
CGroup: /system.slice/bluetooth.service
└─15162 /usr/lib/bluetooth/bluetoothd --compat
Apr 21 03:49:22 hashem-damrah systemd[1]: Starting Bluetooth service...
Apr 21 03:49:22 hashem-damrah bluetoothd[15162]: Bluetooth daemon 5.64
Apr 21 03:49:22 hashem-damrah systemd[1]: Started Bluetooth service.
Apr 21 03:49:22 hashem-damrah bluetoothd[15162]: Starting SDP server
Apr 21 03:49:22 hashem-damrah bluetoothd[15162]: Bluetooth management interface 1.21 initialized
Apr 22 11:08:58 hashem-damrah systemd[1]: bluetooth.service: Current command vanished from the >
这是输出rfkill list
:
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
这是输出sudo lsusb
:
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 05c8:03d2 Cheng Uei Precision Industry Co., Ltd (Foxlink) HP TrueVision HD Camera
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
这是输出sudo lsmod | grep blue
:
bluetooth 856064 11 btrtl,btmtk,btintel,btbcm,bnep
ecdh_generic 16384 1 bluetooth
rfkill 32768 6 hp_wmi,bluetooth,cfg80211
crc16 16384 2 bluetooth,ext4
答案1
我也遇到了类似的问题,我通过在内核上卸载和加载蓝牙模块来解决,尝试:
> rmmod btusb
> modprobe btusb
每个命令之间可能需要等待几秒钟。