Skip to content
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

Does the driver support Linux Kernel 5.4 (LTS) ? #74

Closed
mochnaufals opened this issue Apr 11, 2021 · 8 comments
Closed

Does the driver support Linux Kernel 5.4 (LTS) ? #74

mochnaufals opened this issue Apr 11, 2021 · 8 comments

Comments

@mochnaufals
Copy link

Hello,

I've been using this driver for about 1 year in my Linux Mint. It worked for me. But then, I was switching to windows for another year and now I am dualbooting my Windows with Manjaro Linux. I followed the instructions in #40 (when I was using Linux Mint, this 'hack' worked for me). But now, I got an error saying:
No rule to make target 'bluetooth'
I installed the proper linux kernel headers for my kernel (5.4 LTS) but I stil cannot install the driver (still got the same error). I also did some research regarding this Bluetooth Driver issue (my laptop is Toshiba Satellite C55D), but what I get are older posts (more than 3 years ago).

Hence, I wonder if this driver still works for kernel 5.4 LTS.
Any suggestions?

Many thanks,
Naufal

@lwfinger
Copy link
Owner

For kernels as new as 5.4, the btusb and rtlusb drivers built into the kernel should work without needing an external driver. Is this not the case?

The error message you are quoting looks like a makefile error. As this driver is not maintained, that is certainly a possibility.

@mochnaufals
Copy link
Author

For kernels as new as 5.4, the btusb and rtlusb drivers built into the kernel should work without needing an external driver. Is this not the case?

The error message you are quoting looks like a makefile error. As this driver is not maintained, that is certainly a possibility.

Unfortunately, I cannot use my Bluetooth after fresh install my Manjaro Linux. I used the 5.10 and 5.4 kernels but alao didn't work. I also switched off my Bluetooth in my Windows 10 OS but still didn't work

@lwfinger
Copy link
Owner

I just checked my rtl8723au_bt repo, and it compiled correctly. That error is likely being caused by something in your distro.

Please do a 'make clean' and 'make'. Send me everything that shows on your terminal.

@mochnaufals
Copy link
Author

Here is the output for sudo make clean,
rm -rf *.o *.mod.c *.mod.o *.ko *.symvers *.order *.a

And here is the output for sudo make
make -C /lib/modules/5.4.108-1-MANJARO/build M=/home/mochnaufals/Downloads/driver bluetooth toshiba/rtl8723au_bt-master modules make[1]: Entering directory '/usr/lib/modules/5.4.108-1-MANJARO/build' make[1]: *** No rule to make target 'bluetooth'. Stop. make[1]: Leaving directory '/usr/lib/modules/5.4.108-1-MANJARO/build' make: *** [Makefile:15: all] Error 2

@lwfinger
Copy link
Owner

The make line should be
make -C /lib/modules/5.11.0-rc6-02523-g9e2fd29864c5-dirty/build M=/home/finger/rtl8723au_bt modules

That bluetooth there is wrong!! Have you changed the Makefile?

@mochnaufals
Copy link
Author

I did not change anything. I also downloaded the file again and try make, still got the same error. I see that my working directory has space, probably that's the problem.

Let me try again and I will inform you.
Thank you in advance

@mochnaufals
Copy link
Author

@lwfinger Hello, I renamed my working directory (folders) so the Makefile can be executed. After that, the script can be executed and seems running properly. Before I ran it, I follow the instructions from #40 (add one line of my vendor ID). The script seems to be fine. I also follow the instruction guide from Readme to do sudo modprobe. But then, the bluetooth still scanning without finding a device (I tried several different devices, still not works). I rebooted my laptop, and execute sudo modprobe again, but still not working.

Do you have any suggestions?

@lwfinger
Copy link
Owner

No, other than to check that the firmware is being found. I do not support debugging BT.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants