search
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
71 views

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
executed

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 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.

...