Bluetooth не працює ubuntu 18.04 LTS


11

Ця проблема, здається, є загальною, але я спробував усі рішення, запропоновані в попередніх питаннях, не пощастило. мій Bluetooth просто продовжує шукати пристрої, і він не може їх виявити.

вихід для 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), але все одно та сама проблема.


1
Якщо ви справді " без успіху випробували всі рішення, запропоновані в попередніх питаннях ", то ви витратили багато часу і сил. Ми могли б допомогти вам набагато краще, якби ви відредагували своє запитання, щоб уточнити , що саме ви спробували та які саме результати були. Як написано, ми не знаємо, що ви спробували, чи чи правильно ви спробували.
— user535733

Я, здається, не маю bluetooth взагалі! Мій висновок rfkill list: 0: phy0: Wireless LAN. Soft blocked: no. Hard blocked: no. Umm, я повинен почати нове запитання? Або я можу отримати допомогу за допомогою коментаря?
— MycrofD

Ви можете, будь ласка, переглянути? askubuntu.com/questions/1224993/…
— Kar19

Відповіді:


5

У мене була така ж проблема і було встановлено таке:

"Блискучий розробник на ім'я Такаші Івай придумав рішення, яке я включив у ядро ​​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 виявлення Bluetooth не працює

Мені довелося встановити git вручну від Synaptic. Я не розумію, що це робить, але це працювало на мене.


я вже спробував це, не вийшло.
— kk96kk

1
Це виправить лише машини з чіпсетом 0cf3: 3004 Atheros
— Jeremy31

не працював для мене
— Parth Anjaria

працює для мене якось
— 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

Ви можете зіткнутися з проблемою повільного з’єднання Wi-Fi після цього, я вирішив це за допомогою наступних команд:

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

ВАЖЛИВО : Це повністю не виправило проблему, я мушу закрити wifi, шукати і парувати Bluetooth-пристрій, а потім знову відкривати wifi. Я точно не знаю, чому це відбувається, але googling сказав мені, що драйвери 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

Я перебуваю на монетному дворі і почав отримувати цю саму "останню подію не завершено cmd (0x0f)" через мережеве з'єднання через Bluetooth після ядра, оновленого до 4.15.0.33, я нічого не вирішив би, але я завантажився в 4.15.0.32 і це працювали знову.

Оскільки Ubuntu 18.04 також використовує ядро ​​4.15, цілком ймовірно, що у вас виникає та сама проблема, спробуйте завантажитися в 4.15.0.32 або менше, і перевірте, чи це усуне проблему.


1
це питання, а не відповідь, і питання монетного двору потрібно задавати на unix.stackexchange.com
— damadam

1
Що означає, що це питання? Я роблю заяву, що використання ядра 4.15.0.33 може бути проблемою.
— Аран

Підтверджено, що ця проблема виникає на Ubuntu 18.04 для мене і вирішується завантаженням у ядро ​​до 4.15.0.33
— Aran

1
Ця проблема в мережі Bluetooth була виправлена ​​у 4.15.0.38 :-)
— Аран

Дивіться про репост
— holmberd
Використовуючи наш веб-сайт, ви визнаєте, що прочитали та зрозуміли наші Політику щодо файлів cookie та Політику конфіденційності.
Licensed under cc by-sa 3.0 with attribution required.