New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bluetooth doesn't work for rtl8723be on linux 4.9 #187

Open
InfiniteCoder opened this Issue Dec 14, 2016 · 23 comments

Comments

Projects
None yet
@InfiniteCoder

InfiniteCoder commented Dec 14, 2016

I noticed that the repo was updated, so I cloned it and installed it.

Wifi works as usual, but bluetooth doesn't(as usual)

So when I try to enable bluetooth, it says your bluetooth adapter is powered of.

dmesg|grep -i bluetooth shows

[aditya@aditya-pc ~]$ dmesg|grep -i Bluetooth
[   14.007361] Bluetooth: Core ver 2.22
[   14.007381] Bluetooth: HCI device and connection manager initialized
[   14.007384] Bluetooth: HCI socket layer initialized
[   14.007387] Bluetooth: L2CAP socket layer initialized
[   14.007391] Bluetooth: SCO socket layer initialized
[   14.605200] Bluetooth: HCI UART driver ver 2.3
[   14.605204] Bluetooth: HCI UART protocol H4 registered
[   14.605206] Bluetooth: HCI UART protocol BCSP registered
[   14.605207] Bluetooth: HCI UART protocol LL registered
[   14.605209] Bluetooth: HCI UART protocol ATH3K registered
[   14.605210] Bluetooth: HCI UART protocol Three-wire (H5) registered
[   14.605259] Bluetooth: HCI UART protocol Intel registered
[   14.605287] Bluetooth: HCI UART protocol Broadcom registered
[   14.605289] Bluetooth: HCI UART protocol QCA registered
[   14.605290] Bluetooth: HCI UART protocol AG6XX registered
[   18.202773] Bluetooth: hci0: rtl: examining hci_ver=06 hci_rev=000b lmp_ver=06     lmp_subver=8723
[   18.202780] Bluetooth: hci0: rtl: loading rtl_bt/rtl8723b_config.bin
[   18.202896] bluetooth hci0: Direct firmware load for rtl_bt/rtl8723b_config.bin failed with error -2
[   18.202901] Bluetooth: hci0: Failed to load rtl_bt/rtl8723b_config.bin
[   18.202910] Bluetooth: hci0: rtl: loading rtl_bt/rtl8723b_fw.bin
[   18.336695] Bluetooth: hci0: rom_version status=0 version=1
[   18.336710] Bluetooth: cfg_sz 0, total size 22496
[   20.248363] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   20.248364] Bluetooth: BNEP filters: protocol multicast
[   20.248368] Bluetooth: BNEP socket layer initialized
[   54.740879] Bluetooth: RFCOMM TTY layer initialized
[   54.740894] Bluetooth: RFCOMM socket layer initialized
[   54.740904] Bluetooth: RFCOMM ver 1.11
[  150.490635] Bluetooth: hci0 urb ffff8cd7b5409d80 failed to resubmit (113)
[  261.420492] Bluetooth: hci0 urb ffff8cd6b5bcf180 failed to resubmit (113)
[  271.446815] Bluetooth: hci0 urb ffff8cd7b8d31780 failed to resubmit (113)
[  281.473363] Bluetooth: hci0 urb ffff8cd7b8d31000 failed to resubmit (113)
[  560.611981] Bluetooth: hci0 urb ffff8cd7a8712000 failed to resubmit (113)
[  570.643209] Bluetooth: hci0 urb ffff8cd7b5409600 failed to resubmit (113)

To me, the culprit seems to be

[   18.202896] bluetooth hci0: Direct firmware load for rtl_bt/rtl8723b_config.bin failed with error -2

The system is

Linux aditya-pc 4.9.0-1-MANJARO #1 SMP PREEMPT Mon Dec 5 20:22:30 UTC 2016 x86_64 GNU/Linux
@lwfinger

This comment has been minimized.

Show comment
Hide comment
@lwfinger

lwfinger Dec 14, 2016

Owner

No, that is not the problem. The latest software allows for the addition of a config file, BUT IT IS NOT MANDATORY for anything but a not yet released device.

For me, the RTL8723BE BT part works. I have no idea where the problem lies.

Owner

lwfinger commented Dec 14, 2016

No, that is not the problem. The latest software allows for the addition of a config file, BUT IT IS NOT MANDATORY for anything but a not yet released device.

For me, the RTL8723BE BT part works. I have no idea where the problem lies.

@InfiniteCoder

This comment has been minimized.

Show comment
Hide comment
@InfiniteCoder

InfiniteCoder Dec 16, 2016

It seems to work with Debian based distros(tested on Ubuntu, Kali, Deepin), but doesn't work with Arch based ones(tested on Manjaro and another one). Or maybe it is about customisations done to kernel. If you don't know the answer, likely no one does :(

InfiniteCoder commented Dec 16, 2016

It seems to work with Debian based distros(tested on Ubuntu, Kali, Deepin), but doesn't work with Arch based ones(tested on Manjaro and another one). Or maybe it is about customisations done to kernel. If you don't know the answer, likely no one does :(

@InfiniteCoder

This comment has been minimized.

Show comment
Hide comment
@InfiniteCoder

InfiniteCoder Dec 16, 2016

BTW which distro are you using?

InfiniteCoder commented Dec 16, 2016

BTW which distro are you using?

@lwfinger

This comment has been minimized.

Show comment
Hide comment
@lwfinger

lwfinger Dec 16, 2016

Owner

I use openSUSE. There have been a lot of problems with the user-space stuff on Manjaro.

Owner

lwfinger commented Dec 16, 2016

I use openSUSE. There have been a lot of problems with the user-space stuff on Manjaro.

@celiapgt

This comment has been minimized.

Show comment
Hide comment
@celiapgt

celiapgt Dec 23, 2016

How do we ask for attention of rtl8723a develepers? Maybe they have a better clue.
I use Ubuntu 16.04

celiapgt commented Dec 23, 2016

How do we ask for attention of rtl8723a develepers? Maybe they have a better clue.
I use Ubuntu 16.04

@LeandroPessoa

This comment has been minimized.

Show comment
Hide comment
@LeandroPessoa

LeandroPessoa Jan 1, 2017

Some clue about this problem?

LeandroPessoa commented Jan 1, 2017

Some clue about this problem?

@InfiniteCoder

This comment has been minimized.

Show comment
Hide comment
@InfiniteCoder

InfiniteCoder Jan 4, 2017

How did you get bluetooth to work in openSUSE? when I tried live booting it, bluetooth worked out of the box, but now that I have installed it, it's not working. OTOH, I got wifi working properly by simply adding the ant_sel option, so I am not sure if I need to install this driver.

InfiniteCoder commented Jan 4, 2017

How did you get bluetooth to work in openSUSE? when I tried live booting it, bluetooth worked out of the box, but now that I have installed it, it's not working. OTOH, I got wifi working properly by simply adding the ant_sel option, so I am not sure if I need to install this driver.

@lwfinger

This comment has been minimized.

Show comment
Hide comment
@lwfinger

lwfinger Jan 4, 2017

Owner

Do you have the firmware file available? Check the output of dmesg

Owner

lwfinger commented Jan 4, 2017

Do you have the firmware file available? Check the output of dmesg

@InfiniteCoder

This comment has been minimized.

Show comment
Hide comment
@InfiniteCoder

InfiniteCoder Jan 5, 2017

output of dmesg is similar to that on manjaro

[    5.298890] usb 1-4: Product: Bluetooth Radio 
[   12.092008] Bluetooth: Core ver 2.22
[   12.092043] Bluetooth: HCI device and connection manager initialized
[   12.092049] Bluetooth: HCI socket layer initialized
[   12.092053] Bluetooth: L2CAP socket layer initialized
[   12.092068] Bluetooth: SCO socket layer initialized
[   12.590789] Bluetooth: HCI UART driver ver 2.3
[   12.590793] Bluetooth: HCI UART protocol H4 registered
[   12.590795] Bluetooth: HCI UART protocol BCSP registered
[   12.590796] Bluetooth: HCI UART protocol LL registered
[   12.590798] Bluetooth: HCI UART protocol ATH3K registered
[   12.590799] Bluetooth: HCI UART protocol Three-wire (H5) registered
[   12.590847] Bluetooth: HCI UART protocol Intel registered
[   12.590880] Bluetooth: HCI UART protocol Broadcom registered
[   12.590882] Bluetooth: HCI UART protocol QCA registered
[   12.590884] Bluetooth: HCI UART protocol AG6XX registered
[   12.590885] Bluetooth: HCI UART protocol Marvell registered
[   14.542002] Bluetooth: hci0: rtl: examining hci_ver=06 hci_rev=000b lmp_ver=06 lmp_subver=8723
[   14.542009] Bluetooth: hci0: rtl: loading rtl_bt/rtl8723b_config.bin
[   14.561522] bluetooth hci0: Direct firmware load for rtl_bt/rtl8723b_config.bin failed with error -2
[   14.561526] Bluetooth: hci0: Failed to load rtl_bt/rtl8723b_config.bin
[   14.561527] Bluetooth: hci0: rtl: loading rtl_bt/rtl8723b_fw.bin
[   14.576912] Bluetooth: hci0: rom_version status=0 version=1
[   14.576916] Bluetooth: cfg_sz 0, total size 22496
[   18.721559] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   18.721560] Bluetooth: BNEP filters: protocol multicast
[   18.721565] Bluetooth: BNEP socket layer initialized
[   41.450920] Bluetooth: RFCOMM TTY layer initialized
[   41.450932] Bluetooth: RFCOMM socket layer initialized
[   41.450948] Bluetooth: RFCOMM ver 1.11
[  164.908520] Bluetooth: hci0 urb ffff9f8ac8968300 failed to resubmit (113)
[  175.905912] Bluetooth: hci0 urb ffff9f8afb94fa80 failed to resubmit (113)

InfiniteCoder commented Jan 5, 2017

output of dmesg is similar to that on manjaro

[    5.298890] usb 1-4: Product: Bluetooth Radio 
[   12.092008] Bluetooth: Core ver 2.22
[   12.092043] Bluetooth: HCI device and connection manager initialized
[   12.092049] Bluetooth: HCI socket layer initialized
[   12.092053] Bluetooth: L2CAP socket layer initialized
[   12.092068] Bluetooth: SCO socket layer initialized
[   12.590789] Bluetooth: HCI UART driver ver 2.3
[   12.590793] Bluetooth: HCI UART protocol H4 registered
[   12.590795] Bluetooth: HCI UART protocol BCSP registered
[   12.590796] Bluetooth: HCI UART protocol LL registered
[   12.590798] Bluetooth: HCI UART protocol ATH3K registered
[   12.590799] Bluetooth: HCI UART protocol Three-wire (H5) registered
[   12.590847] Bluetooth: HCI UART protocol Intel registered
[   12.590880] Bluetooth: HCI UART protocol Broadcom registered
[   12.590882] Bluetooth: HCI UART protocol QCA registered
[   12.590884] Bluetooth: HCI UART protocol AG6XX registered
[   12.590885] Bluetooth: HCI UART protocol Marvell registered
[   14.542002] Bluetooth: hci0: rtl: examining hci_ver=06 hci_rev=000b lmp_ver=06 lmp_subver=8723
[   14.542009] Bluetooth: hci0: rtl: loading rtl_bt/rtl8723b_config.bin
[   14.561522] bluetooth hci0: Direct firmware load for rtl_bt/rtl8723b_config.bin failed with error -2
[   14.561526] Bluetooth: hci0: Failed to load rtl_bt/rtl8723b_config.bin
[   14.561527] Bluetooth: hci0: rtl: loading rtl_bt/rtl8723b_fw.bin
[   14.576912] Bluetooth: hci0: rom_version status=0 version=1
[   14.576916] Bluetooth: cfg_sz 0, total size 22496
[   18.721559] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   18.721560] Bluetooth: BNEP filters: protocol multicast
[   18.721565] Bluetooth: BNEP socket layer initialized
[   41.450920] Bluetooth: RFCOMM TTY layer initialized
[   41.450932] Bluetooth: RFCOMM socket layer initialized
[   41.450948] Bluetooth: RFCOMM ver 1.11
[  164.908520] Bluetooth: hci0 urb ffff9f8ac8968300 failed to resubmit (113)
[  175.905912] Bluetooth: hci0 urb ffff9f8afb94fa80 failed to resubmit (113)

@LeandroPessoa

This comment has been minimized.

Show comment
Hide comment
@LeandroPessoa

LeandroPessoa Feb 5, 2017

@lwfinger how did you get bluetooth work on opensuse with kernel 4.9?

LeandroPessoa commented Feb 5, 2017

@lwfinger how did you get bluetooth work on opensuse with kernel 4.9?

@lwfinger

This comment has been minimized.

Show comment
Hide comment
@lwfinger

lwfinger Feb 6, 2017

Owner

Make certain that the BT firmware (/lib/firmware/rtl_bt/rtl8723b_fw.bin) is installed, that the BT modules are configured in the kernel, and boot.

Owner

lwfinger commented Feb 6, 2017

Make certain that the BT firmware (/lib/firmware/rtl_bt/rtl8723b_fw.bin) is installed, that the BT modules are configured in the kernel, and boot.

@sunitknandi

This comment has been minimized.

Show comment
Hide comment
@sunitknandi

sunitknandi May 1, 2017

Remove the tlp package.

If you are on Manjaro with Linux 4.9, a simple
pacman -Rc tlp tlp-rdw
and rebooting does the job. Basically you just remove the tlp packages. And voila, BT is working for me.

The number of duplicates on this topic is immense. A tlp conflict is confusing everyone out here.

sunitknandi commented May 1, 2017

Remove the tlp package.

If you are on Manjaro with Linux 4.9, a simple
pacman -Rc tlp tlp-rdw
and rebooting does the job. Basically you just remove the tlp packages. And voila, BT is working for me.

The number of duplicates on this topic is immense. A tlp conflict is confusing everyone out here.

@milkice233

This comment has been minimized.

Show comment
Hide comment
@milkice233

milkice233 Jun 3, 2017

@sunitknandi Thanks! That solved it
I'm wondering if the uninstall of tlp will case the misbehave of the system,but currently everything is good.

milkice233 commented Jun 3, 2017

@sunitknandi Thanks! That solved it
I'm wondering if the uninstall of tlp will case the misbehave of the system,but currently everything is good.

@deojames

This comment has been minimized.

Show comment
Hide comment
@deojames

deojames Jun 27, 2017

had the same issue, problem solved after removing tlp & tlp-drw on ubuntu 17.04, guessing this tlp was messing up

deojames commented Jun 27, 2017

had the same issue, problem solved after removing tlp & tlp-drw on ubuntu 17.04, guessing this tlp was messing up

@kpuku

This comment has been minimized.

Show comment
Hide comment
@kpuku

kpuku Jul 8, 2017

@sunitknandi It really works for me on openSUSE Tumbleweed with kernel v4.11.8-1. Thanks!

kpuku commented Jul 8, 2017

@sunitknandi It really works for me on openSUSE Tumbleweed with kernel v4.11.8-1. Thanks!

@xavier83

This comment has been minimized.

Show comment
Hide comment
@xavier83

xavier83 Nov 1, 2017

people who have problem with tlp don't have to uninstall it completely, just setting USB_BLACKLIST_BTUSB=1 in /etc/default/tlp and rebooting solved the problem for me.

xavier83 commented Nov 1, 2017

people who have problem with tlp don't have to uninstall it completely, just setting USB_BLACKLIST_BTUSB=1 in /etc/default/tlp and rebooting solved the problem for me.

@teratzu

This comment has been minimized.

Show comment
Hide comment
@teratzu

teratzu Dec 14, 2017

Same issue with "Kali Linux" hopefully one of these solves it.

teratzu commented Dec 14, 2017

Same issue with "Kali Linux" hopefully one of these solves it.

@glats

This comment has been minimized.

Show comment
Hide comment
@glats

glats Dec 20, 2017

Same issue with kali linux but i don't have installed tlp-drw

glats commented Dec 20, 2017

Same issue with kali linux but i don't have installed tlp-drw

@InfiniteCoder

This comment has been minimized.

Show comment
Hide comment
@InfiniteCoder

InfiniteCoder Dec 20, 2017

@glats Do you have tlp installed? If both are not there, then it could be some other issue

InfiniteCoder commented Dec 20, 2017

@glats Do you have tlp installed? If both are not there, then it could be some other issue

@Ivan-Shestakov

This comment has been minimized.

Show comment
Hide comment
@Ivan-Shestakov

Ivan-Shestakov Apr 17, 2018

Linux Mint 18.3 user here. Couldn't get noname Bluetooth mouse to be detected and paired.
sudo apt remove tlp and reboot - solved it for me.

Ivan-Shestakov commented Apr 17, 2018

Linux Mint 18.3 user here. Couldn't get noname Bluetooth mouse to be detected and paired.
sudo apt remove tlp and reboot - solved it for me.

@teratzu

This comment has been minimized.

Show comment
Hide comment
@teratzu

teratzu Apr 22, 2018

teratzu commented Apr 22, 2018

@dguerrini

This comment has been minimized.

Show comment
Hide comment
@dguerrini

dguerrini Jul 19, 2018

I'm using debian stretch 4.9.0.7-amd64 kernel, don't have tlp installed, have already moved rtl8723b_config.bin to proper folder just so i don't see the message while in boot, and my bluetooth does not work. Can someone help?

dguerrini commented Jul 19, 2018

I'm using debian stretch 4.9.0.7-amd64 kernel, don't have tlp installed, have already moved rtl8723b_config.bin to proper folder just so i don't see the message while in boot, and my bluetooth does not work. Can someone help?

@InfiniteCoder

This comment has been minimized.

Show comment
Hide comment
@InfiniteCoder

InfiniteCoder Jul 21, 2018

@dguerrini bluetooth works to some extent on kernel 4.17(it causes issues for WiFi). Haven't tested 4.18 yet

InfiniteCoder commented Jul 21, 2018

@dguerrini bluetooth works to some extent on kernel 4.17(it causes issues for WiFi). Haven't tested 4.18 yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment