Which directory does the firmware go into, in what form and how? I have 2 files, rtl8761b_config and rtl8761b_fw and thought that they went into /usr/lib/kernel-overlays/base/lib/firmware/rtl_bt but this directory seems to be read only.
I also tried to follow the steps manually and noted that when running the command insmod /storage/btrtl.ko ir returned an error insmod: ERROR: could not insert module /storage/btrtl.ko: File exists
Does the firmware go inside /storage/.config/firmware/rtl_bt?
Yes
mkdir -p /storage/.config/firmware/rtl_bt
copy firmware into /storage/.config/firmware/rtl_bt
At first, you must disable btrtl,btusb autoloaded.
Otherwise insmod will return error: could not insert module /storage/btrtl.ko: File exists.
Because built-in btrtl.ko has registered into kernel.
I see, the source is complete different. Would be nice if you can create a “backport” to include both device types in one driver. We look forward to merge a provided PR to include it in CE
After following the first part an then rebooting, if I then go through the process manually, when I run insmod /storage/btrtl.ko it returns the error insmod: ERROR: could not insert module /storage/btrtl.ko: Unknown symbol in module
Nothing prevents any existing BT module from being disabled.
the module from vpeter seems to work, bu CE can’t find the BT-dongle
I manually "modprobe -r"d btsub and btrtl (blacklisting them seems not to work)
then insmod insmod ./btrtl_rev_a_and_b.ko
the rfkill does also not work, because hciconfig -a gives:
After a reboot, if I physically unplug and re-attach the dongle, the end of dmesg shows this:
[ 216.756813@3] usb 1-1.2: USB disconnect, device number 7
[ 219.051724@3] usb 1-1.2: new full-speed USB device number 8 using xhci-hcd
[ 219.176802@3] usb 1-1.2: New USB device found, idVendor=0bda, idProduct=8771
[ 219.176817@3] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 219.176824@3] usb 1-1.2: Product: Bluetooth Radio
[ 219.176831@3] usb 1-1.2: Manufacturer: Realtek
[ 219.176837@3] usb 1-1.2: SerialNumber: 00E04C239987
[ 219.192259@3] Bluetooth: hci0: rtl: examining hci_ver=0a hci_rev=000b lmp_ver=0a lmp_subver=8761
[ 219.192275@3] Bluetooth: hci0: rtl: loading rtl_bt/rtl8761a_config.bin
[ 219.192458@3] bluetooth hci0: Direct firmware load for rtl_bt/rtl8761a_config.bin failed with error -2
[ 219.192468@3] Bluetooth: hci0: Failed to load rtl_bt/rtl8761a_config.bin
[ 219.192473@3] Bluetooth: hci0: rtl: loading rtl_bt/rtl8761a_fw.bin
[ 219.194206@3] Bluetooth: hci0: rom_version status=0 version=1
[ 219.194245@3] Bluetooth: cfg_sz 0, total size 20204
[ 221.287797@3] Bluetooth: hci0 command 0xfc20 tx timeout
[ 229.383731@3] Bluetooth: hci0: download fw command failed (-110)
This would seem to indicate that rtl8761a_fw.bin is being referenced and not rtl8761b_fw.bin
It seems odd that if we are all following the same paths that we get differing results, with the only fundamental differences likely being the boxes that we have,
But after disconnecting the BT-device, I have a freezing picture and no sound in Live-TV. Haven’t tested video streams.
Will report back tomorrow. My wife is occupying the TV
Thx
Here is my bug-report. I don’t know, if it is BT and/or rtl8761b related or a Kodi bug:
N2 with vpeters testbuild, rtl8761b BT-dongle, CE19
Connecting and disconnecting BT device over CE-settings seems fine.
After conecting, everything plays fine, but after disconnecting (turning off) my BT-device (JBL Go2), I have a freezing pic and NO sound at all while Live-TV and e.g. amazon streams. CE showed “disconnected device” before.
If this does not fit here, please let me know or separate this post. I can also file a bug report on github, if you want
I played 2 Live-TV channels over BT, then I turned off the device and tried to play another channel, which did not work.