neurobin / MT7630E

Modified easy installation package
https://neurobin.org/projects/softwares/unix/MT7630E/
232 stars 70 forks source link

Bluetooth doesn't work #96

Closed xcrsx closed 5 years ago

xcrsx commented 5 years ago

System info

Entry Details
OS Linux Mint 19.2
Kernel version 4.15.0-58-generic

When I'm trying to execute ./bpatch I get this error: *** Copying configuration... ./bpatch: line 164: cd: drivers/bluetooth/: No such file or directory

When I executing ./test I get these errors: insmod: ERROR: could not insert module ./rt2x00/mt7630e.ko: File exists insmod: ERROR: could not insert module ./btloader/mt76xx.ko: File exists

What should I do? Thanks

drotor commented 5 years ago

I think problem begins when a different source is automatically selected, i.e. Picking 'linux-signed' as source package instead of 'linux-image-4.15.0-63-generic'. Others suggested using sudo apt-get source linux instead of apt-get source linux-image-$(uname -r) to get the kernel source code manually. Ran into problems even doing this only to have the modified driver rejected at boot time because of mismatched version magic numbers. Finally got the kernel from kernel.org . HOWEVER, the best solution can be found at https://github.com/jeremyb31/newbtfix-4.15 It is simply to follow and install.

xcrsx commented 5 years ago

I think problem begins when a different source is automatically selected, i.e. Picking 'linux-signed' as source package instead of 'linux-image-4.15.0-63-generic'. Others suggested using sudo apt-get source linux instead of apt-get source linux-image-$(uname -r) to get the kernel source code manually. Ran into problems even doing this only to have the modified driver rejected at boot time because of mismatched version magic numbers. Finally got the kernel from kernel.org . HOWEVER, the best solution can be found at https://github.com/jeremyb31/newbtfix-4.15 It is simply to follow and install.

Thank you very much!