没有可用的默认控制器 蓝牙 Arch Linux

Sin*_*Art 3 arch-linux bluetooth

信息

\n

我的蓝牙昨天工作正常,但是当我用 更新所有软件包时yay,我的蓝牙无法连接。今天,我跑了:

\n
sudo pacman -Syu\nyay -Syu\n
Run Code Online (Sandbox Code Playgroud)\n

现在我的蓝牙无法连接。

\n

当我打开时bluetoothctl,它给了我No default controller available

\n

另外,您能否向我解释一下您希望我运行的所有命令,因为我对 Arch Linux 或 Linux 操作系统不太了解?感谢任何试图帮助我的人!:)

\n

调试

\n

我跑:

\n
sudo systemctl enable bluetooth \nsudo systemctl start bluetooth\n
Run Code Online (Sandbox Code Playgroud)\n

sudo systemctl status bluetooth给我:

\n
\xe2\x97\x8f bluetooth.service - Bluetooth service\n     Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: disable>\n     Active: active (running) since Thu 2022-04-21 03:49:22 PDT; 1 day 7h ago\n       Docs: man:bluetoothd(8)\n   Main PID: 15162 (bluetoothd)\n     Status: "Running"\n      Tasks: 1 (limit: 13909)\n     Memory: 852.0K\n        CPU: 28ms\n     CGroup: /system.slice/bluetooth.service\n             \xe2\x94\x94\xe2\x94\x8015162 /usr/lib/bluetooth/bluetoothd --compat\n\nApr 21 03:49:22 hashem-damrah systemd[1]: Starting Bluetooth service...\nApr 21 03:49:22 hashem-damrah bluetoothd[15162]: Bluetooth daemon 5.64\nApr 21 03:49:22 hashem-damrah systemd[1]: Started Bluetooth service.\nApr 21 03:49:22 hashem-damrah bluetoothd[15162]: Starting SDP server\nApr 21 03:49:22 hashem-damrah bluetoothd[15162]: Bluetooth management interface 1.21 initialized\nApr 22 11:08:58 hashem-damrah systemd[1]: bluetooth.service: Current command vanished from the >\n
Run Code Online (Sandbox Code Playgroud)\n

这是输出rfkill list

\n
0: phy0: Wireless LAN\n    Soft blocked: no\n    Hard blocked: no\n
Run Code Online (Sandbox Code Playgroud)\n

这是输出sudo lsusb

\n
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub\nBus 003 Device 002: ID 05c8:03d2 Cheng Uei Precision Industry Co., Ltd (Foxlink) HP TrueVision HD Camera\nBus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub\nBus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub\nBus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub\n
Run Code Online (Sandbox Code Playgroud)\n

这是输出sudo lsmod | grep blue

\n
bluetooth             856064  11 btrtl,btmtk,btintel,btbcm,bnep\necdh_generic           16384  1 bluetooth\nrfkill                 32768  6 hp_wmi,bluetooth,cfg80211\ncrc16                  16384  2 bluetooth,ext4\n
Run Code Online (Sandbox Code Playgroud)\n

小智 10

我也遇到了类似的问题,我通过在内核上卸载和加载蓝牙模块来解决,尝试:

> rmmod btusb
> modprobe btusb
Run Code Online (Sandbox Code Playgroud)

每个命令之间可能需要等待几秒钟。