蓝牙无法正常工作Ubuntu 18.04 LTS


11

这个问题似乎很普遍,但是我尝试了前面问题中提出的所有解决方案,但都没有运气。我的蓝牙只是继续搜索设备而无法检测到它们。

输出为rfkill list

0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
1: hci0: Bluetooth
Soft blocked: no
Hard blocked: no

输出为dmesg | grep Blue

[    1.725292] usb 2-4: Product: Bluetooth Radio 
[   22.987302] Bluetooth: Core ver 2.22
[   22.987324] Bluetooth: HCI device and connection manager initialized
[   22.987326] Bluetooth: HCI socket layer initialized
[   22.987328] Bluetooth: L2CAP socket layer initialized
[   22.987331] Bluetooth: SCO socket layer initialized
[   24.192938] Bluetooth: hci0: rtl: examining hci_ver=06 hci_rev=000b lmp_ver=06 lmp_subver=8723
[   24.192940] Bluetooth: hci0: rtl: loading rtl_bt/rtl8723b_config.bin
[   24.262074] Bluetooth: hci0: rtl: loading rtl_bt/rtl8723b_fw.bin
[   24.279971] Bluetooth: hci0: rom_version status=0 version=1
[   24.279990] Bluetooth: hci0: cfg_sz 0, total size 22496
[   31.827382] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   31.827384] Bluetooth: BNEP filters: protocol multicast
[   31.827387] Bluetooth: BNEP socket layer initialized
[   69.606019] Bluetooth: RFCOMM TTY layer initialized
[   69.606024] Bluetooth: RFCOMM socket layer initialized
[   69.606029] Bluetooth: RFCOMM ver 1.11
[  133.549264] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  149.425182] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  165.416224] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  195.195275] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  210.934271] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  227.034314] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  242.896317] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  259.043361] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  274.227449] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  289.383402] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  305.511470] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  321.387453] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  337.520479] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  353.398532] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  369.458540] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  385.298590] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  401.410629] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  417.274763] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  433.471653] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  449.380746] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  465.528845] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  481.409819] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  497.533809] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  513.404936] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  529.532964] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  545.408026] Bluetooth: hci0: last event is not cmd complete (0x0f)

输出为lspci -knn | grep Net -A2; lsusb

0a:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter [10ec:b723]
    Subsystem: Hewlett-Packard Company RTL8723BE PCIe Wireless Network Adapter [103c:2231]
    Kernel driver in use: rtl8723be
    Kernel modules: rtl8723be
Bus 001 Device 002: ID 8087:8001 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 0bda:b001 Realtek Semiconductor Corp. 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

在尝试了太多解决方案之后,我擦除了整个磁盘并安装了新的18.04 LTS版本(我使用的是HP 15 Notebook),但仍然存在相同的问题。


1
如果您确实“ 没有运气尝试了先前问题中提出的所有解决方案 ”,那么您将花费大量的时间和精力。我们将能够帮助您更好,如果您编辑您的问题阐述正是你尝试和究竟什么样的结果。按照书面规定,我们不知道您尝试了什么,或者您是否尝试正确。
user535733

我似乎根本没有蓝牙!我的输出rfkill list0: phy0: Wireless LAN. Soft blocked: no. Hard blocked: no. 嗯,我应该开始一个新的问题吗?还是可以通过评论获得一些帮助?
MycrofD

你可以复习一下吗?askubuntu.com/questions/1224993/...
Kar19

Answers:


5

我遇到了同样的问题,发现了这一点:

“一位名叫Takashi Iwai的杰出开发人员提出了一个解决方案,该解决方案我已整合到4.15内核中

sudo apt install git build-essential dkms
git clone https://github.com/jeremyb31/newbtfix-4.15.git
sudo dkms add ./newbtfix-4.15
sudo dkms install btusb/4.0

重启”

在这里找到 ubuntu 18.04 LTS蓝牙发现无效

我必须从Synaptic手动安装git。我不知道它的作用,但是对我有用。


已经尝试过了,没有用。
kk96kk

1
那只会修复带有0cf3:3004 Atheros芯片组的机器
Jeremy31 '18

没有为我工作
Parth Anjaria '18

以某种方式为我工作
goksel

你可以复习一下吗?askubuntu.com/questions/1224993/...
Kar19

3

我部分解决了运行以下命令的问题:

sudo apt-get install build-essential git
git clone https://github.com/lwfinger/rtlwifi_new/
cd rtlwifi_new
make
sudo make install
echo "options rtl8723be fwlps=0" | sudo tee /etc/modprobe.d/rtl8723be.conf

之后,您可能会遇到WiFi连接缓慢的问题,我使用以下命令修复了该问题:

sudo modprobe -r iwlwifi sudo modprobe iwlwifi 11n_disable=1
echo "options iwlwifi 11n_disable=1" | sudo tee /etc/modprobe.d/iwlwifi.conf

重要信息:这不能完全解决问题,我必须关闭wifi,搜索并配对蓝牙设备,然后再次打开wifi。我不知道为什么会这样,但是谷歌搜索告诉我,ubuntu驱动程序像我的rtl8723b适配器有问题


3

升级系统后,我遇到了同样的问题。我在发现以下错误/var/log/dpkg.log

2019-03-23 16:37:24 status half-configured pulseaudio-module-bluetooth:amd64 1:11.1-1ubuntu7.1
2019-03-23 16:37:24 status half-installed pulseaudio-module-bluetooth:amd64 1:11.1-1ubuntu7.1
2019-03-23 16:37:24 status config-files pulseaudio-module-bluetooth:amd64 1:11.1-1ubuntu7.1
2019-03-23 16:37:24 status config-files pulseaudio-module-bluetooth:amd64 1:11.1-1ubuntu7.1
2019-03-23 16:37:24 status config-files pulseaudio-module-bluetooth:amd64 1:11.1-1ubuntu7.1
2019-03-23 16:37:24 status not-installed pulseaudio-module-bluetooth:amd64 <none>

因此,我重新安装了该软件包,然后重新启动pulseaudio,最终解决了该问题:

sudo apt-get install --reinstall pulseaudio-module-bluetooth
pulseaudio -k
sudo alsa force-reload

为我工作!谢谢!!!
贝妮

1

我在Mint上,并在内核更新到4.15.0.33之后开始得到同样的“最后一个事件未完成cmd(0x0f)”蓝牙网络连接问题,我没有做任何修复,但是我启动到4.15.0.32,它再次工作。

因此,由于Ubuntu 18.04也使用4.15内核,很可能您遇到了相同的问题,请尝试在4.15.0.32或更低版本上启动,然后查看是否可以解决问题。


1
这是一个问题,而不是一个答案,必须在unix.stackexchange.com
damadam

1
你是什​​么意思?我声明使用内核4.15.0.33可能是问题。
阿兰(Aran)

证实了在Ubuntu 18.04出现这个问题对我来说,并通过启动之前4.15.0.33解决到一个内核
阿伦

1
这款蓝牙联网问题已被固定在4.15.0.38 :-)
阿伦

参见bug重新发布,bugs.launchpad.net / ubuntu
+
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.