-
Notifications
You must be signed in to change notification settings - Fork 65
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
3.17.6-1-ARCH There is no controller in bluetoothctl #18
Comments
You need to run 'sudo make install' in the repo for 8723au, and delete that line of mywifi.conf. Blacklisting r8723au is needed, but that is enough. When the kernel scans the USB system, it will find the USB ID and load 8723au. For the BT, I suggest you use the "new" branch, rather than "master", and again make and sudo make install. After I do that and reboot,bluetoothctl finds the controller, and entering "scan on" shows my cell phone, which has BT enabled for use in the car. |
Thanks for quick reply.
And here what I got:
I cannot make it. Is it my mistake or code error? By the way, when I am running sudo wifi-menu
Maybe this is the problem? I just do not know, but want to provide full information. |
I had failed to push my latest changes. It should build now after a git pul. I have no idea what the AUR package does. |
I have completely remove my local repo folder, than I git cloned this repo again (rtl8723au_bt). Nothing changed, as I can see. While I run make I got the same error as desribed above.
Please, help. What exactly should I do? |
Here is my sequence of steps: finger@linux: I am using a 3.18 kernel, but it should work with 3.17 unless ARCH is messing around with kernel sources the way that Ubuntu has been doing lately. |
Hmm, strange... My sequence is the same. But when run make I still got error. |
The part of the code that is erroring is inside the compiler directives: #ifndef hci_recv_fragment #endif I have no idea why that code is being compiled if one of your headers is defining hci_recv_fragment. There is something wrong with you kernel headers. No, I do not use Arch. I just pushed a change that might help. |
Oh, thanks for quick reply. And thanks for fix. It is buildable now.
|
When you did "sudo make install", you replaced the standard btusb. If you blacklist it, then nothing will load. On the other hand, rtk_btusb must not be loaded. Either blacklist it, or delete it from the /lib/modules/... tree. That is what is screwing up your BT. |
Still not working. I have blacklisted module rtk_btusb, then reboot and here what I get:
|
Strange, for now I have btusb loaded, but still there is no controller in bluetooth prompt (I have checked, that bluetooth is not rfkilled) :
Have you any suggestions? |
No. I do not have any RTL8723AU devices, but it works fine with RTL8723AE and RTL8723BE. What does 'hcitool dev' show? |
Nothing:
|
What does the command lsusb show? |
Here is my lsusb
I see here Realtek Semiconductor Corp. RTL8723AU 802.11n WLAN Adapter. Is it for wifi and bluetooth at the same time or no? If no, does it means that my bluetooth usb device is missing? Also, I have checked if some options in UEFI interface can cause problem. I have disabled DPTF (Dynamic Platform and Thermal Framework), disabled Intel Virtual Technology and disabled Secure boot. |
Apparently, Realtek only has created a single USB ID for the two devices. At the moment, I am not sure if there is any way to have both wifi and BT at the same time. As a test, please try the following: sudo modprobe -rv 8723au Does bluetoothctl or hcidev show a BT controller now? |
Negative
Rfkill is not causing, because I checked, that neither wifi nor bluetooth was soft or hard blocked. |
A reboot was not needed. Please post the output of lsusb -v -d 0bda:1724 |
Here you are
|
OK, your device has more USB end points than does the BT part of my RTL8723BE. We need to see why it is being rejected in the probe step. Please pull from the repo, and rebuild with make and ;sudo make install'. After that, do the following: sudo modprobe -rv btusb There should be some entries at the end of the dmesg output, starting with btusb_probe intf .... Post that line and those that follow. |
Did this several times. But I cannot see any string in dmesg output containing "btusb_probe"
There was such line[ 429.224967] usbcore: deregistering interface driver btusb |
Now I again removed and probed btusb. I have
line in dmesg output. So, I think problem is not in probing. |
If it is not probing, then it will never work! |
I mean, when I blacklist rtk_btusb, then btusb is not AUTOMATICALLY loading. If I probe it manually it probes. |
You can load it with modprobe, but the code will only start if the SB ID is recognized, and that is not happening. I do not know why. Module rtk_btusb has nothing to do with the problem. I have written the maintainer of r8723au to see if he is using BT. Maybe he will have some info. |
Ok, thank you! I will wait for responding. |
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. |
I have the same problem than @laptander . Wifi is working great but not bluetooth. I followed your sequence + Do you have any idea? |
@Erwyn, I did the following and it solved problem:
After that bluetoothctl showed me my controller. |
Sometimes a cold reboot is necessary after the new driver and firmware are installed. These devices change the lmp_subver readout after firmware is loaded. Thus the device will not be recognized following a unload/reload of the driver or a warm reboot, and the firmware will not be reloaded. |
I'm having the same issue, and the commands @laptander posted don't work:
|
Your setup for building out-of-kernel drivers is wrong. As I do not use ARCH, I do not know the exact steps needed. Check on their forums for instructions. |
Woot! Got it working. I needed to install the linux-headers package. |
If /lib/modules/ |
Hi lwfinger, I am trying to compile the branch Kernel. I am working in Ubuntu. Kernel : 3.13.0-76-generic make -C /lib/modules/3.13.0-76-generic/build M=/home/raul/tmp/blueth/rtl8723au_bt modules do you have a tip for me? |
The "kernel" branch is only for kernels 4.1 or later. For 3.13, you probably need to switch to the "master" branch. If that does not work, then try the "troy" branch. |
Just to add a data point: the sequence above, posted by @laptander on 30 Jun 2015, worked for me on a Yoga 11s. |
Hello.
I am using ArchLinux now with 3.17.6-1 kernel and Lenovo yoga 13 ideapad.
My bluetooth is not working. As I explained here lwfinger/rtl8723au#53 about wifi, I have blacklisted r8723au, and then probed 8723au. My /etc/modprobe.d/mywifi.conf is the following
Now I am trying to get bluetooth work.
I have git cloned this repo, made it and installed. By the way, it says
for some reason...
If I run #bluetoothctl there are not any controllers shown.
Please, help me.
The text was updated successfully, but these errors were encountered: