You need to enable JavaScript to run this app.
最新活动
大模型
产品
解决方案
定价
生态与合作
支持与服务
开发者
了解我们

Ubuntu无法检测内置蓝牙适配器问题求助

Ubuntu无法检测内置蓝牙适配器问题求助

你好,我来帮你梳理和分析这个蓝牙检测的问题~

先总结下你的情况:

  • 设备:Acer TravelMate P440
  • 系统:Ubuntu 23.10,此前使用最新LTS版本
  • 异常现象:内置蓝牙适配器完全无法被系统检测,重装blueZ后依旧无效;但外接蓝牙dongle可以正常工作

你提供的诊断命令输出:

$ lspci -nnk|grep -iA3 net; lsusb;

02:00.1 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 14)
Subsystem: Acer Incorporated [ALI] RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1025:0947]
Kernel driver in use: r8169
Kernel modules: r8169

03:00.0 Network controller [0280]: Intel Corporation Wireless 7265 [8086:095a] (rev 48)
Subsystem: Intel Corporation Dual Band Wireless-AC 7265 [Stone Peak 2 AC] [8086:5010]
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi

Bus 001 Device 002: ID 8087:8001 Intel Corp. Integrated Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 015: ID 1c7a:0603 LighTuning Technology Inc. ES603 Swipe Fingerprint Sensor
Bus 002 Device 003: ID 04f2:b520 Chicony Electronics Co., Ltd HD WebCam
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
$ sudo dmesg|egrep -i 'blue|firm'

[    0.102929] DMAR: [Firmware Bug]: No firmware reserved region can cover this RMRR [0x000000009d800000-0x000000009fffffff], contact BIOS vendor for fixes
[    0.102937] DMAR: [Firmware Bug]: Your BIOS is broken; bad RMRR [0x000000009d800000-0x000000009fffffff]
[    0.104163] Spectre V2 : Enabling Restricted Speculation for firmware calls
[    0.142790] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[    2.286662] systemd[1]: systemd-pcrmachine.service - TPM2 PCR Machine ID Measurement was skipped because of an unmet condition check (ConditionPathExists=/sys/firmware/efi/efivars/StubPcrKernelImage-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f).
[    3.213996] iwlwifi 0000:03:00.0: loaded firmware version 17.3216344376.0 7265-17.ucode op_mode iwlmvm
[    3.249082] Bluetooth: Core ver 2.22
[    3.249117] NET: Registered PF_BLUETOOTH protocol family
[    3.249121] Bluetooth: HCI device and connection manager initialized
[    3.249126] Bluetooth: HCI socket layer initialized
[    3.249129] Bluetooth: L2CAP socket layer initialized
[    3.249137] Bluetooth: SCO socket layer initialized
[    5.656319] audit: type=1400 audit(1705486854.821:98): apparmor="STATUS" operation="profile_load" profile="unconfined" name="snap-update-ns.firmware-updater" pid=692 comm="apparmor_parser"
[   26.098035] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   26.098042] Bluetooth: BNEP filters: protocol multicast
[   26.098047] Bluetooth: BNEP socket layer initialized
[ 9045.185310] audit: type=1107 audit(1705498707.211:276): pid=744 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/" interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" mask="send" name="org.bluez" pid=20038 label="snap.postman.postman" peer_pid=2750 peer_label="unconfined"
[10655.857080] audit: type=1400 audit(1705507203.657:325): apparmor="DENIED" operation="open" class="file" profile="snap.firmware-updater.firmware-notifier" name="/proc/sys/vm/max_map_count" pid=26422 comm="firmware-notifi" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[19976.578687] audit: type=1400 audit(1705518008.588:408): apparmor="DENIED" operation="open" class="file" profile="snap.firmware-updater.firmware-notifier" name="/proc/sys/vm/max_map_count" pid=45548 comm="firmware-notifi" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[20618.544710] audit: type=1400 audit(1705547681.787:410): apparmor="DENIED" operation="open" class="file" profile="snap.firmware-updater.firmware-notifier" name="/proc/sys/vm/max_map_count" pid=47393 comm="firmware-notifi" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[21681.253746] audit: type=1400 audit(1705550408.608:465): apparmor="DENIED" operation="open" class="file" profile="snap.firmware-updater.firmware-notifier" name="/proc/sys/vm/max_map_count" pid=52532 comm="firmware-notifi" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[28372.555315] audit: type=1400 audit(1705561208.575:503): apparmor="DENIED" operation="open" class="file" profile="snap.firmware-updater.firmware-notifier" name="/proc/sys/vm/max_map_count" pid=56594 comm="firmware-notifi" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[37870.930775] audit: type=1400 audit(1705572008.369:567): apparmor="DENIED" operation="open" class="file" profile="snap.firmware-updater.firmware-notifier" name="/proc/sys/vm/max_map_count" pid=87902 comm="firmware-notifi" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0

问题分析:

从诊断输出里能看到两个关键信息:

  1. lspcilsusb完全没有内置蓝牙设备的条目:你的Intel Wireless 7265无线网卡通常是整合了蓝牙模块的(一般是通过USB接口内置在主板上),但系统根本没识别到这个蓝牙硬件,这是核心问题。
  2. dmesg里只有蓝牙核心模块的加载日志,没有任何关于内置蓝牙适配器的初始化/固件加载记录:这进一步说明系统没检测到硬件,和软件驱动的关系不大——毕竟外接蓝牙dongle能正常工作,说明blueZ和蓝牙核心服务是正常的。

下一步排查建议:

  • 先检查BIOS/UEFI设置:开机时按F2或Delete键进入BIOS,找到「Wireless」或「Bluetooth」相关选项,确认蓝牙功能是开启状态,保存设置后重启系统再试。
  • 排查硬件故障:如果BIOS已经开启蓝牙,那大概率是硬件问题——比如内置蓝牙模块的连接线松动、模块损坏。这种情况如果在保修期内可以联系Acer售后,过保的话可以尝试拆机检查内部连接线(注意静电防护)。
  • 系统层面的小概率尝试
    • 更新系统到最新补丁:sudo apt update && sudo apt full-upgrade,重启后再检测
    • 检查是否有蓝牙模块被黑名单:执行cat /etc/modprobe.d/* | grep -i bluetooth,如果看到类似blacklist btusb的条目,注释掉后重启

备注:内容来源于stack exchange,提问作者Muhammad Talha Naqshbandi

火山引擎 最新活动