我正在尝试将我的蓝牙扬声器与我的笔记本电脑配对(型号:Dell Inspiron 3542)
我尝试了一周多了,并且用尽了互联网上找到的所有解决方案。
我甚至尝试过这解决方案,但它不起作用。
每当我尝试搜索我的蓝牙扬声器时,它都会显示如下图所示的内容。
我正在提供一些命令的输出。
kp@devlin:~$ bluetoothctl
Agent registered
[bluetooth]# list
Controller AC:D1:B8:D2:1E:E6 ChromeLinux_31A3 [default]
[bluetooth]# devices
[bluetooth]# scan on
Discovery started
[CHG] Controller AC:D1:B8:D2:1E:E6 Discovering: yes
[bluetooth]# power on
Changing power on succeeded
[bluetooth]#
kp@devlin:~$ lspci -knn | grep Net -A3; lsusb
06:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n [14e4:4365] (rev 01)
Subsystem: Dell Wireless 1704 802.11n + BT 4.0 [1028:0016]
Kernel driver in use: wl
Kernel modules: bcma, wl
Bus 001 Device 005: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 004: ID 0a5c:21d7 Broadcom Corp. BCM43142 Bluetooth 4.0
Bus 001 Device 003: ID 0c45:6a04 Microdia
Bus 001 Device 002: ID 8087:8000 Intel Corp.
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 002: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
kp@devlin:~$ rfkill list
0: dell-rbtn: Wireless LAN
Soft blocked: no
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
2: brcmwl-0: Wireless LAN
Soft blocked: no
Hard blocked: no
7: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
kp@devlin:~$ dmesg | grep Blue
[ 17.229294] Bluetooth: Core ver 2.22
[ 17.229321] Bluetooth: HCI device and connection manager initialized
[ 17.229326] Bluetooth: HCI socket layer initialized
[ 17.229329] Bluetooth: L2CAP socket layer initialized
[ 17.229337] Bluetooth: SCO socket layer initialized
[ 17.350102] Bluetooth: hci0: BCM: chip id 70
[ 17.351087] Bluetooth: hci0: BCM: features 0x06
[ 17.367122] Bluetooth: hci0: BCM43142A
[ 17.367125] Bluetooth: hci0: BCM (001.001.011) build 0000
[ 17.437473] Bluetooth: hci0: BCM: Patch brcm/BCM.hcd not found
[ 19.456037] Bluetooth: hci0: command 0x1003 tx timeout
[ 21.631788] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 21.631790] Bluetooth: BNEP filters: protocol multicast
[ 21.631794] Bluetooth: BNEP socket layer initialized
[ 33.433294] Bluetooth: RFCOMM TTY layer initialized
[ 33.433301] Bluetooth: RFCOMM socket layer initialized
[ 33.433307] Bluetooth: RFCOMM ver 1.11
[ 1048.039364] Bluetooth: hci0: BCM: chip id 70
[ 1048.040359] Bluetooth: hci0: BCM: features 0x06
[ 1048.056394] Bluetooth: hci0: BCM43142A
[ 1048.056400] Bluetooth: hci0: BCM (001.001.011) build 0000
[ 1048.056434] Bluetooth: hci0: BCM: Patch brcm/BCM.hcd not found
[ 1050.085335] Bluetooth: hci0: command 0x1003 tx timeout
[ 1377.020244] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 1392.894086] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 1761.969305] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 1777.846113] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 1793.978498] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 1809.851781] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 1825.981117] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 1841.853740] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 1857.982819] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 1873.854417] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 1889.980832] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 1905.852787] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 1921.978821] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 1937.850544] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 1953.976194] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 1969.846715] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 1985.973205] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 2001.844633] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 2017.972661] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 2033.848892] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 2049.979862] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 2067.648838] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 2083.779546] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 2099.909565] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 2115.782413] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 2131.911866] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 2147.785892] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 2163.914707] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 2179.786245] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 2195.914849] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 2211.787167] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 2227.915229] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 2243.788302] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 2259.915199] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 2275.787912] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 2291.914610] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 2307.786179] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 2323.913500] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 2339.785130] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 2355.912519] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 2371.784721] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 2387.912105] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 2403.783382] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 2419.913572] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 2435.781665] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 2451.907940] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 2467.779072] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 2483.905092] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 2499.777184] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 2515.905372] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 2531.778022] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 2547.907920] Bluetooth: hci0: last event is not cmd complete (0x0f)
kp@devlin:~$ sudo systemctl status bluetooth.service
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset
Active: active (running) since Sat 2019-04-27 11:13:25 IST; 20min ago
Docs: man:bluetoothd(8)
Main PID: 1023 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 4568)
CGroup: /system.slice/bluetooth.service
└─1023 /usr/lib/bluetooth/bluetoothd
Apr 27 11:13:25 devlin systemd[1]: Started Bluetooth service.
Apr 27 11:13:25 devlin bluetoothd[1023]: Starting SDP server
Apr 27 11:13:26 devlin bluetoothd[1023]: Bluetooth management interface 1.14 ini
Apr 27 11:13:29 devlin bluetoothd[1023]: Loading LTKs timed out for hci0
Apr 27 11:13:57 devlin bluetoothd[1023]: Endpoint registered: sender=:1.70 path=
Apr 27 11:13:57 devlin bluetoothd[1023]: Endpoint registered: sender=:1.70 path=
Apr 27 11:14:49 devlin bluetoothd[1023]: Endpoint unregistered: sender=:1.70 pat
Apr 27 11:14:49 devlin bluetoothd[1023]: Endpoint unregistered: sender=:1.70 pat
Apr 27 11:14:55 devlin bluetoothd[1023]: Endpoint registered: sender=:1.96 path=
Apr 27 11:14:55 devlin bluetoothd[1023]: Endpoint registered: sender=:1.96 path=
kp@devlin:~$ sudo systemctl is-enabled bluetooth.service
enabled
kp@devlin:~$ cat /etc/bluetooth/main.conf | grep -i -E 'DiscoverableTimeout|AutoEnable'
#DiscoverableTimeout = 0
# AutoEnable defines option to enable all controllers when they are found.
AutoEnable=true
kp@devlin:~$ dmesg | grep -i bluetooth
[ 22.106360] Bluetooth: Core ver 2.22
[ 22.106383] Bluetooth: HCI device and connection manager initialized
[ 22.106387] Bluetooth: HCI socket layer initialized
[ 22.106389] Bluetooth: L2CAP socket layer initialized
[ 22.106395] Bluetooth: SCO socket layer initialized
[ 23.214304] Bluetooth: hci0: BCM: chip id 70
[ 23.215235] Bluetooth: hci0: BCM: features 0x06
[ 23.231250] Bluetooth: hci0: BCM43142A
[ 23.231256] Bluetooth: hci0: BCM (001.001.011) build 0000
[ 23.292126] bluetooth hci0: Direct firmware load for brcm/BCM.hcd failed with error -2
[ 23.292131] Bluetooth: hci0: BCM: Patch brcm/BCM.hcd not found
[ 25.308057] Bluetooth: hci0: command 0x1003 tx timeout
[ 32.169411] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 32.169415] Bluetooth: BNEP filters: protocol multicast
[ 32.169423] Bluetooth: BNEP socket layer initialized
[ 34.620101] Bluetooth: hci0: command 0x1003 tx timeout
[ 63.106027] Bluetooth: RFCOMM TTY layer initialized
[ 63.106034] Bluetooth: RFCOMM socket layer initialized
[ 63.106041] Bluetooth: RFCOMM ver 1.11
kp@devlin:~$ rfkill
ID TYPE DEVICE SOFT HARD
0 wlan dell-rbtn unblocked unblocked
1 wlan phy0 unblocked unblocked
2 wlan brcmwl-0 unblocked unblocked
3 bluetooth hci0 unblocked unblocked
kp@devlin:~$ pulseaudio
E: [pulseaudio] pid.c: Daemon already running.
E: [pulseaudio] main.c: pa_pid_file_create() failed.
编辑:
完成指定的步骤后@蓝牙 Broadcom 43142 无法正常工作
kp@devlin:~$ dmesg | grep -i blue
[ 19.863558] Bluetooth: Core ver 2.22
[ 19.863576] Bluetooth: HCI device and connection manager initialized
[ 19.863580] Bluetooth: HCI socket layer initialized
[ 19.863582] Bluetooth: L2CAP socket layer initialized
[ 19.863588] Bluetooth: SCO socket layer initialized
[ 19.990391] Bluetooth: hci0: BCM: chip id 70
[ 19.991374] Bluetooth: hci0: BCM: features 0x06
[ 20.007412] Bluetooth: hci0: BCM43142A
[ 20.007417] Bluetooth: hci0: BCM (001.001.011) build 0000
[ 20.063292] bluetooth hci0: Direct firmware load for brcm/BCM.hcd failed with error -2
[ 20.063296] Bluetooth: hci0: BCM: Patch brcm/BCM.hcd not found
[ 22.076034] Bluetooth: hci0: command 0x1003 tx timeout
[ 26.992912] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 26.992915] Bluetooth: BNEP filters: protocol multicast
[ 26.992921] Bluetooth: BNEP socket layer initialized
[ 29.279488] Bluetooth: hci0: command 0x1003 tx timeout
[ 36.330763] Bluetooth: RFCOMM TTY layer initialized
[ 36.330775] Bluetooth: RFCOMM socket layer initialized
[ 36.330785] Bluetooth: RFCOMM ver 1.11
[ 92.542294] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 100.547223] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 116.676067] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 137.412157] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 153.538647] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 169.664917] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 185.534037] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 208.827103] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 221.370067] Bluetooth: hci0: last event is not cmd complete (0x0f)
有人能建议我还能做些什么来解决这个问题吗?
答案1
我正在寻找的是 Broadcom Bluetooth 的固件文件。
在@Jeremy31 的帮助下,我使用以下命令找到了答案。
kp@devlin:~$ dmesg | grep Blue
[ 17.229294] Bluetooth: Core ver 2.22
[ 17.229321] Bluetooth: HCI device and connection manager initialized
[ 17.229326] Bluetooth: HCI socket layer initialized
[ 17.229329] Bluetooth: L2CAP socket layer initialized
[ 17.229337] Bluetooth: SCO socket layer initialized
[ 17.350102] Bluetooth: hci0: BCM: chip id 70
[ 17.351087] Bluetooth: hci0: BCM: features 0x06
[ 17.367122] Bluetooth: hci0: BCM43142A
[ 17.367125] Bluetooth: hci0: BCM (001.001.011) build 0000
[ 17.437473] Bluetooth: hci0: BCM: Patch brcm/BCM.hcd not found
[ 19.456037] Bluetooth: hci0: command 0x1003 tx timeout
[ 21.631788] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 21.631790] Bluetooth: BNEP filters: protocol multicast
[ 21.631794] Bluetooth: BNEP socket layer initialized
[ 33.433294] Bluetooth: RFCOMM TTY layer initialized
[ 33.433301] Bluetooth: RFCOMM socket layer initialized
[ 33.433307] Bluetooth: RFCOMM ver 1.11
[ 1048.039364] Bluetooth: hci0: BCM: chip id 70
[ 1048.040359] Bluetooth: hci0: BCM: features 0x06
[ 1048.056394] Bluetooth: hci0: BCM43142A
[ 1048.056400] Bluetooth: hci0: BCM (001.001.011) build 0000
[ 1048.056434] Bluetooth: hci0: BCM: Patch brcm/BCM.hcd not found
[ 1050.085335] Bluetooth: hci0: command 0x1003 tx timeout
[ 1377.020244] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 1392.894086] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 1761.969305] Bluetooth: hci0: last event is not cmd complete (0x0f)
记下所需的 .hcd 文件名,如上面命令输出的第 10 行和第 22 行所示。(在本例中为 BCM.hcd)
我们可以使用此处显示的步骤制作该文件蓝牙 Broadcom 43142 无法正常工作
或者
您可以使用以下命令逐一下载它。
如果还没有安装 git
sudo apt-get install git
下载 .hcd 文件
git clone https://github.com/winterheart/broadcom-bt-firmware/blob/master/brcm/BCM43142A0-0a5c-21d7.hcd
将 .hcd 文件复制到 /lib/firmware/brcm 目录
cp BCM43142A0-0a5c-21d7.hcd /lib/firmware/brcm/.
将 .hcd 文件重命名为所需的名称(如第一步的命令输出中所述)
mv BCM43142A0-0a5c-21d7.hcd BCM.hcd
关闭电脑(不重启)& 重新开始