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.
If you need more details or logs, pls let me know.
Steps to reproduce:
play some video (LiveTV-stream here)
switch on BT-device (CE connects and shows message, sound is now over BT)
switch off BT-device (CE disconnects and shows message)
There is no sound anymore, Kodi buffers
stop video and try to play another video (Pic freezes ~20 sec, no sound at all)
restarting kodi helps
Unofrtunately there is no change and the bug is still present.
I deleted the installed service.coreelec.settings in $KODI/addon and updated with CE_2104 (newest from today)
It seems, that Kodi is (still) trying to play sound over the BT-device or over BT which causes the buffering and no sound.
CE detects on/off of the device correctly and displays a message.
Kodi/CE should
not try to play over BT, if no BT-device is present (display message, and/or stop playing
switch to default audio before BT-connection, and/or stop playing
I have no new logs, because the error is the same as before
The python3 exception should be gone now. I will create a debug image later for you. The error is located in your user settings or your Bluetooth client.
Boot once into Kodi and setup the audio system that you have sound.
If it’s working connect the bt dongle and reboot.
After reboot connect your bt client and check how it works.
Please upload ce debug logs again. They are found in ce settings, complete log with kodi.log is required.
OK, but please be patient and don’t expect any results before saturday. RL keeps me busy.
btw: if I reboot with “reboot”, then it takes very long for the system to restart. With “reboot -f” (force) it is instantly. Are there any disadvantages using “-f” for rebooting?
Thx
@Portisch
Here are the debug-logs: https://filebin.net/uij33x099t6j61pd
But in the debug-build it is working! very strange.
Turning BT-device on and off while playing switches between TV and BT-audio almost instantly.
I tried it back and forth.
So, no error or bug with this debug-build.
What can I do to make my other installation working like the debug-build? deleting userdata/addon-data?
You did setup something wrong or restored some old user data.
The exception you had did only happen on your system. So something is faulty on your setup.
Perform a complete clean install and try again with Nightly image.
After renameing kodi-dir and restarting everything is working as expected.
I’ll move addon-data back, step by step and see, whats causing the issue.
Will report back, if I find something
Thx