由于蓝牙导致的 bluetoothd 守护进程 spamd 日志和启动缓慢

由于蓝牙导致的 bluetoothd 守护进程 spamd 日志和启动缓慢

在 groovy 上,我有很多来自 bluetoothd 守护进程的条目,在日志调试模式下显示 [paste][1]。

/etc/bluetooth/main.conf 文件未受影响,我没有做出任何更改。

真正的问题是启动时间有点慢,因为与蓝牙有关。

systemd-analyze critical-chain 
The time when unit became active or started is printed after the "@" character.
The time the unit took to start is printed after the "+" character.

graphical.target @27.215s
└─multi-user.target @27.214s
  └─blueman-mechanism.service @9.601s +17.612s
    └─basic.target @9.545s
      └─sockets.target @9.544s
        └─uuidd.socket @9.543s
          └─sysinit.target @9.306s
            └─haveged.service @9.304s
              └─apparmor.service @7.940s +1.345s
                └─local-fs.target @7.936s
                  └─run-user-1000.mount @26.184s
                    └─local-fs-pre.target @3.738s
                      └─systemd-tmpfiles-setup-dev.service @3.624s +110ms
                        └─systemd-sysusers.service @3.035s +586ms
                          └─systemd-remount-fs.service @2.768s +149ms
                            └─systemd-journald.socket @2.615s
                              └─-.mount @2.224s
                                └─system.slice @2.224s
                                  └─-.slice @2.224s

当前运行的内核

uname -a
Linux beelzemon 5.8.0-29-generic #31-Ubuntu SMP Fri Nov 6 12:37:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

最后是硬件和模块信息

lsusb | grep -i blue
Bus 001 Device 004: ID 0a5c:21e6 Broadcom Corp. BCM20702 Bluetooth 4.0 [ThinkPad]

systool -m  btusb -v
Module = "btusb"

  Attributes:
    coresize            = "57344"
    initsize            = "0"
    initstate           = "live"
    refcnt              = "0"
    srcversion          = "833AC4BC1801D5ADA5F03CE"
    taint               = ""
    uevent              = <store method only>
    version             = "0.8"

  Parameters:
    disable_scofix      = "N"
    enable_autosuspend  = "Y"
    force_scofix        = "N"
    reset               = "Y"

  Sections:

感谢阅读。[1]:https://paste.ubuntu.com/p/cXwRVXjgM7/

相关内容