Rtl8761b bluetooth driver fix

Please make me a new kodi.log!

download and extract this addon to:
/storage/.kodi/addons

https://mega.nz/file/3Sx3jQ6B#JyVm5sYnrJx-QSTq0SH86JMZCXshMMZktfaj5g__bg4

So end path is:
/storage/.kodi/addons/service.coreelec.settings

Alternative:

cd /storage/.kodi/addons
megadl https://mega.nz/file/3Sx3jQ6B#JyVm5sYnrJx-QSTq0SH86JMZCXshMMZktfaj5g__bg4
sync

The zip must be extracted! It’s not a addon to be installed!

If all is copied just restart kodi:
systemctl restart kodi

Then reproduce the error and upload the kodi.log. There is a crash in the bluetooth interface added function.

Any news on this @Solo0815 ?

Sorry, I was a little bit busy lately.
Here are the logs (kodi-debug and last 5000 lines of dmesg)
https://filebin.net/mq9qva6k1ghvpw9l

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

Please try tomorrow with new nightly again.

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

  1. not try to play over BT, if no BT-device is present (display message, and/or stop playing
  2. 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.

@Solo0815

Please take your matching img and create a new clean install:
https://mega.nz/folder/CeIiBTjR#ZmYIcAuzO9GF3CY6bK4kXA

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

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.