Log In
Ask Solus is a community edited knowledge base and support forum for Solus. We are not endorsed or supported by Solus Project.
0 votes

Posted by :Pilleo19

Hello! I have a laptop with mediatek wifi-bluetooth module. It does not work without compiling that driver-
I am able to compile both wifi and bluetooth drivers under ubuntu. Also i can compile wifi for solus, but i cannot do the same with bluetooth easily. And it is important, because i have a bluetooth keyboard.

I was able to make bluetooth work like that:
I did not find *.c files in usr/src directory even after

sudo eopkg install -c system.devel kernel-headers

So i downloaded from sources of the 4.8.11 kernel, as i had 4.8.11 kernel in solus at the moment.
After that i copied to the linux sources from that file and renamed it to .config

cp "/usr/src/linux-headers-$(uname -r)/Module.symvers"

as in–with-mt7630e tutorial

Modified btusb.c file as said in the tutorial above
Finally build the module:

make prepare
    make modules_prepare
    make M=scripts/mod
    make M=drivers/bluetooth/ modules
    sudo cp drivers/bluetooth/btusb.ko /lib/modules/$(uname -r)/kernel/drivers/bluetooth
    sudo service bluetooth start

Now bluetooth works. Can anyone say how should i do that properly? Thank you.

16k points 5 27 61

Please log in or register to answer this question.