tedboudros / tplink-ub500-linux-patch-guide

A guide on how to get the UB500 bluetooth dongle working on <5.16 linux kernels!
53 stars 2 forks source link

could not insert 'btusb': Invalid argument #3

Open ahmedgh970 opened 2 years ago

ahmedgh970 commented 2 years ago

Hello,

Thanks a lot for the guide. It's very helpful !

I met an issue with the sudo modprobe -v btusb command, though.

insmod /lib/modules/5.15.0-52-generic/kernel/drivers/bluetooth/btusb.ko 
modprobe: ERROR: could not insert 'btusb': Invalid argument

Any idea ? Thanks

hgrw commented 1 year ago

+1

Endstarky commented 1 year ago

Yes that occured to me too but i still continued other steps and rebooted, then after tthat the adapter itself is not recognised by the system now please help!

BrelJordan commented 1 year ago

I had the same issue. I had compiled the kernel object for the wrong kernel version a look at dmesg helped me find that out. If you are on ubuntu and "uname -r" gives you the version name :"5.15.0-76-generic" for instance, download the linux kernel "linux-5.15.76.tar.xz" and not "linux-5.15.tar.xz".

After loading the compiled module, Bluetooth tried loading rtl8761bu_fw.bin and rtl8761bu_config.bin instead of rtl8761b_fw.bin and rtl8761b_config.bin. I solved that issue using sim links.