我看过以前的类似问题,但仍然无法解决。
我已经尝试过使用以前的内核(顺便说一句,我最近没有升级)。
在我的 Intel NUC8 bios 中启用了蓝牙。
但是,如果我尝试连接到我的蓝牙扬声器,我只会看到:
? ~ bluetoothctl
[bluetooth]# connect 00:22:37:54:51:53
No default controller available
Run Code Online (Sandbox Code Playgroud)
我不确定这会有所帮助,但我注意到这个命令
? ~ dmesg | grep -i bluetooth
[ 3.801286] Bluetooth: Core ver 2.22
[ 3.801773] Bluetooth: HCI device and connection manager initialized
[ 3.801777] Bluetooth: HCI socket layer initialized
[ 3.801779] Bluetooth: L2CAP socket layer initialized
[ 3.801784] Bluetooth: SCO socket layer initialized
[ 4.500700] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 4.500702] Bluetooth: BNEP filters: protocol multicast
[ 4.500705] Bluetooth: …Run Code Online (Sandbox Code Playgroud) 我在旧的(ish)笔记本电脑上运行 ubuntu 18.04,它是带有升级内存(16GB)和 SSD 的 hp dv7 6180sl。它很旧,但对于我的工作来说仍然足够快。
由于有几个 ubuntu 版本(我总是在每个版本中完全重新安装,所以我不是来自旧版本)看起来 cpu 从来没有真正空闲过,因此粉丝们一直在工作。今天我决定找出正在使用我的cpu的东西。
我在这里和谷歌上阅读了很多答案,但没有什么能真正解决我的问题。顶是这样说的:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
5501 tox 20 0 3911436 324668 68984 S 12,5 4,0 30:04.86 gnome-shell
Run Code Online (Sandbox Code Playgroud)
以 gnome-shell 的 PID 为例,我试图做一个 strace 来看看幕后发生了什么,我看到有一个recvmsg系统调用会产生大量错误,几乎占用了 30% 的时间(这是大约一分钟后):
strace: Process 5501 attached
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
29.71 0.100941 2 46612 39214 recvmsg
24.81 0.084290 5 17842 poll
22.21 0.075445 3 …Run Code Online (Sandbox Code Playgroud)