rtl8723au_bt icon indicating copy to clipboard operation
rtl8723au_bt copied to clipboard

BT stops working if Wifi connected on RTL8723BE

Open freechelmi opened this issue 9 years ago • 31 comments

On RTL8723BE (13d3:3410 ) Mini PCIe (Brix N2807) BT works great with the new branch, but stops connecting to devices if wifi is connected to a hotspot. btcoexist is loaded.

Will give details later on.

freechelmi avatar Dec 31 '14 13:12 freechelmi

i have the same issue... anyone can help?

chzw517 avatar Jan 23 '15 16:01 chzw517

What driver are you using for the RTL8723BE? There are some fixes for BT coexistence that are in the process of being submitted for kernel 3.20. You can use those by building driver rtl8723be from the 'troy' branch of the repo at http://github.com/lwfinger/rtlwifi_new.git.

lwfinger avatar Jan 23 '15 20:01 lwfinger

Just tried troy's branch with 3.18.3 and kernel panic.

sunny0 avatar Jan 24 '15 03:01 sunny0

Pl.ease post a photo of the panic. Otherwise I cannot help.

lwfinger avatar Jan 24 '15 04:01 lwfinger

How's this? img_20150123_231744

sunny0 avatar Jan 24 '15 04:01 sunny0

It causes a kernel panic!....I using ubuntu15.04 alpha1 with kernel 3.18.0...and...then...nothing left...:'(

chzw517 avatar Jan 24 '15 05:01 chzw517

The panic should be fixed now.

lwfinger avatar Jan 24 '15 07:01 lwfinger

Can you tell us what was the problem ?and How can you fix that?

chzw517 avatar Jan 24 '15 08:01 chzw517

It was a coding mistake. If you want the details, then do 'git show caa1026'.

lwfinger avatar Jan 24 '15 16:01 lwfinger

Ok, no more panic, but still no devices shown in bluetoothctl. rfkill shows no blocks too...

sunny0 avatar Jan 24 '15 17:01 sunny0

Hi..sunny0...pls keep us informed if you solved the problem...thank you very much...

chzw517 avatar Jan 26 '15 15:01 chzw517

Same problem with last two Ubuntu 14.10 kernels (3.16.0-29 and 3.16.0-30). I had to do modprobe -r rtl8723be in order to get bluetooth to work but then wifi is gone...

EDIT: Everything's working again with kernel 3.19 RC 7.

krlk89 avatar Jan 31 '15 20:01 krlk89

FYI, there is a new 'kernel' branch that has code that will be in kernel 3.21. It handles the Realtek devices just like any other kernel device. Thus far, no changes for older kernels have been included. As problems are reported, I will fix them.

lwfinger avatar Feb 11 '15 01:02 lwfinger

Not sure where to reply anymore... haha

Anyway, I tried out the latest wifi and bluetooth drivers against 3.18.3 on opensuse from the newly made kernel branches. Still no devices listed in bluetoothctl, no blocks, nothing in dmesg. Wifi works fine, bluetooth is invisible...

sunny0 avatar Feb 12 '15 21:02 sunny0

Please check the output of the dmesg command. Anything show up there? In particular, did you 'sudo make install' so that the firmware is availablle.

lwfinger avatar Feb 12 '15 22:02 lwfinger

Yes, i did 'sudo make install' after 'make'. Checked dmesg and nothing new is shown.

sunny0 avatar Feb 12 '15 22:02 sunny0

Reverted back to the 3.18.3 firmware and modules, did 'sudo make install' for just the bluetooth kernel branch, then 'sudo modprobe -rv btusb', and 'sudo modprobe -v btusb', and this is dmesg:

usbcore: deregistering interface driver btusb Bluetooth: hci0 urb ffff880436678700 failed to resubmit (2) usbcore: registered new interface driver btusb Bluetooth: hci0: hci_ver=06 hci_rev=1e3e lmp_ver=06 lmp_subver=4ce1 Bluetooth: rtl8723b: assuming no firmware upload needed.

But, with the latest from kernel_latest i get no errors from 'dmesg | grep bt' except

btcoexist(O) btusb(O)

'dmesg | grep rtl'

Bluetooth: rtl8723b: assuming no firmware upload needed. Using firmware rtlwifi/rtl8723befw.bin ieee80211 phy0: Selected rate control algorithm 'rtl_rc' rtlwifi: wireless switch is on rtl8723be 0000:02:00.0 wlp2s0: renamed from wlan0 rtl_pci(O) rtlwifi(O)

setup_arp_tx.isra.23+0x5e/0x70 [rtlwifi] [] rtl_is_special_data+0x16a/0x390 [rtlwifi] [] rtl_tx_status+0x5c/0x150 [rtlwifi]

sunny0 avatar Feb 12 '15 23:02 sunny0

Your posting is confusing. First it did not load BT firmware, then it did.

It appears that your device needs code changes. I add some code to handle that subversion. Do a 'git pull' on the kernel branch and try again to 'make', 'sudo make install', 'sudo modprobe -rv btusb', and 'sudo modprove -v install'.

lwfinger avatar Feb 13 '15 00:02 lwfinger

That fixed it!

Btw, this is now working on a Lenovo Z40, for anyone else that owns this brand.

sunny0 avatar Feb 13 '15 11:02 sunny0

Please post the full output of the dmesg command.

lwfinger avatar Feb 13 '15 16:02 lwfinger

Hi lwfinger... what branch should I pull? Is it master?

chzw517 avatar Mar 02 '15 07:03 chzw517

I suggest the kernel branch.

lwfinger avatar Mar 02 '15 16:03 lwfinger

Hi Larry , sirry I was not really responding on this point for few weeks.

We want to work on Ubuntu 3.16 Kernel , What branch for Wifi & BT do you recommand for rtl8723be ?

I 'm a bit lost here because it seems that the 'kernel' branch might not work on older kernel ?

I will try the kernel branch anyway.

freechelmi avatar Mar 12 '15 14:03 freechelmi

The best BT code is in the kernel branch. It will work for any kernel 3.14 or newer.

The best wifi code is in http://github.com/lwfinger/rtlwifi_new.git using the master or troy branch.

lwfinger avatar Mar 12 '15 15:03 lwfinger

Thanks larry. your work is really valuable.

Will try to produce dkms deb as before. as I get this now should work with Wifi+BT at the same time which is great.

freechelmi avatar Mar 12 '15 15:03 freechelmi

Hi , I tried the kernel branch on lastest Ubuntu 14.04.2 (kernel 3.16.X) , and even if the firmware seems correctly loaded the result is the same as the mainline btusb : no discovering anything. anybody experienced this ?

freechelmi avatar Mar 30 '15 13:03 freechelmi

Hi, Yes, same here ! :-)

Akhenaton avatar Mar 30 '15 13:03 Akhenaton

The only sure way to get this to work is to use the kernel branch of this repo. The first kernel with this version of the driver will be 4.1-rc1, which will be out in about one month.

lwfinger avatar Mar 30 '15 15:03 lwfinger

Yes we all use the kernel branch as I said.

freechelmi avatar Mar 30 '15 15:03 freechelmi

Sorry, I misread your comment.

@freechelmi: I see you have RTL8723BE hardware. Your device is in the USB tables, and it should be recognized.

Do you have the latest version, which includes commit 47629cd82ce0? That fixed a typo that prevented the firmware from being installed correctly.

If you have that commit, please post the section of the output of dmesg where the device is first recognized.

lwfinger avatar Mar 30 '15 16:03 lwfinger

Same issue (bt stops when wifi is on): Kernel version 4.4.0-45 Wifi driver: rtlwifi_new, rock.new_btcoex branch, BT driver: this one, kernel branch

Any help please???

Read something about making a git pull, I don't know if it is suitable for my situation, not very familiarized with git commands and their effects... sorry.

soyzenitram avatar Nov 03 '16 10:11 soyzenitram