Posted by :Pilleo19
Hello! I have a laptop with mediatek wifi-bluetooth module. It does not work without compiling that driver- https://github.com/neurobin/MT7630E
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 kernel.org 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 kernel.org that file https://git.solus-project.com/packages/kernel/tree/files/configs/kernel-x86_64-config#n1539 and renamed it to .config
cp "/usr/src/linux-headers-$(uname -r)/Module.symvers"
as in https://github.com/neurobin/MT7630E/wiki/Get-bluetooth-working-in-Linux-kernel–with-mt7630e tutorial
Modified btusb.c file as said in the tutorial above
Finally build the module:
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.