(2018-12-08, 10:14)aw87 Wrote: [ -> ]I am trying to get bluetooth working on an Intel Compute Stick STCK1A8LFC. Build #1207
I found this http://sources.libreelec.tv/mirror/rtl8723bs_bt/
And also found the driver under the CoreELEC packages
How would I go about implementing the rtl8723bs_bt driver?
Can you post your dmesg output?
The Realtek bluetooth drivers are included in the kernel
but the firwmare files are probably missing.
@Milhouse can you include rtl_bt/*.bin in the x86 kernel firmware package? Scratch that, rtl_bt seems to be already included.. Dmesg should tell more.
so long,
Hias
After a closer look the rtl8723bs_fw.bin and rtl8723bs_config files indeed seems to be missing in LibreELEC.
@
aw87 can you run the following commands, then reboot and check if it works?
Code:
mkdir -p /storage/.config/firmware/rtl_bt
wget -O /storage/.config/firmware/rtl_bt/rtl8723bs_config https://github.com/lwfinger/rtl8723bs_bt/raw/master/rtlbt_config
wget -O /storage/.config/firmware/rtl_bt/rtl8723bs_fw.bin https://github.com/lwfinger/rtl8723bs_bt/raw/master/rtlbt_fw
There's also a second (newer) firmware available, if the standard one doesn't work run this to get the newer one:
Code:
wget -O /storage/.config/firmware/rtl_bt/rtl8723bs_fw.bin https://github.com/lwfinger/rtl8723bs_bt/raw/master/rtlbt_fw_new
so long,
Hias
@
Milhouse did you noticed that the live tv streams with the tvheadend client won’t start anymore with #1207?
I’ve got the same on my raspberry pi3b+
Build #1206 is working fine on both.
If needed i can later this day provide some logs.
(2018-12-08, 15:58)Pienoet Wrote: [ -> ]@Milhouse did you noticed that the live tv streams with the tvheadend client won’t start anymore with #1207?
I’ve got the same on my raspberry pi3b+
Build #1206 is working fine on both.
If needed i can later this day provide some logs.
Can you test build #1207c:
Generic
It has reverted PR15010.
(2018-12-08, 16:18)Milhouse Wrote: [ -> ] (2018-12-08, 15:58)Pienoet Wrote: [ -> ]@Milhouse did you noticed that the live tv streams with the tvheadend client won’t start anymore with #1207?
I’ve got the same on my raspberry pi3b+
Build #1206 is working fine on both.
If needed i can later this day provide some logs.
Can you test build #1207c: Generic
It has reverted PR15010.
I can confirm this one works.
Can anyone pls. provide a kodi debug log for the PVR issue?
(2018-12-08, 16:18)Milhouse Wrote: [ -> ] (2018-12-08, 15:58)Pienoet Wrote: [ -> ]@Milhouse did you noticed that the live tv streams with the tvheadend client won’t start anymore with #1207?
I’ve got the same on my raspberry pi3b+
Build #1206 is working fine on both.
If needed i can later this day provide some logs.
Can you test build #1207c: Generic
It has reverted PR15010.
This is working for me too.
Thank you.
(2018-12-08, 19:00)Pienoet Wrote: [ -> ]This is working for me too.
Can you try #1207e:
Generic
It includes PR15020, a fix for PR15010.
(2018-12-08, 13:23)HiassofT Wrote: [ -> ]After a closer look the rtl8723bs_fw.bin and rtl8723bs_config files indeed seems to be missing in LibreELEC.
@aw87 can you run the following commands, then reboot and check if it works?
Code:
mkdir -p /storage/.config/firmware/rtl_bt
wget -O /storage/.config/firmware/rtl_bt/rtl8723bs_config https://github.com/lwfinger/rtl8723bs_bt/raw/master/rtlbt_config
wget -O /storage/.config/firmware/rtl_bt/rtl8723bs_fw.bin https://github.com/lwfinger/rtl8723bs_bt/raw/master/rtlbt_fw
There's also a second (newer) firmware available, if the standard one doesn't work run this to get the newer one:
Code:
wget -O /storage/.config/firmware/rtl_bt/rtl8723bs_fw.bin https://github.com/lwfinger/rtl8723bs_bt/raw/master/rtlbt_fw_new
so long,
Hias
I tried both methods, through Samba verified the files were in the appropriate \\LIBREELEC\Configfiles\firmware\rtl_bt folder.
Verified bluetooth was enabled in the BIOS and in LibreELEC services. I issued the commands/reboot on a configured LibreELEC and also hard reset and issued the commands/reboot. Bluetooth is still not working.
Here is the dmesg output pre hard reset.
Here is the dmesg output post hard reset.
New LibreELEC.tv Leia build #1208:
Generic
(Supercedes previous build)
SHA256 Checksum:
66688ae81e3f487670df78f72ef8b03cd26e41d160272c1cf7a8d4664b5b685e
(Generic)
text:
# uname -a
Linux NUC 4.19.8 #1 SMP Sat Dec 8 21:04:36 GMT 2018 x86_64 GNU/Linux
# lsb_release
LibreELEC (Milhouse): devel-20181208210307-#1208-g6db1ac5 [Build #1208]
# Kodi version
(18.0-RC3 Git:8cdec8f). Platform: Linux x86 64-bit
Based on tip of
LibreELEC.tv master (6db1ac5,
changelog) and tip of
XBMC master (8cdec8f,
changelog) with the following modifications:
- Includes latest kodi-platform master (e8574b8)
- Includes latest libcec master (f759324)
- Includes latest libnfs master (6dfc87d, ahead +10)
- Includes latest p8-platform master (1eb12b1)
- Includes latest addons: inputstream.adaptive (efd4b4f), inputstream.rtmp (ce7f559), peripheral.joystick (1f4225a), peripheral.xarcade (f09a0e7), pvr.argustv (83aa1e9), pvr.demo (964686d), pvr.dvblink (4ae42fe), pvr.dvbviewer (cda813e), pvr.filmon (e850633), pvr.hdhomerun (a9d7309), pvr.hts (6a12442), pvr.iptvsimple (90a8d6f), pvr.mediaportal.tvserver (b17fdad), pvr.mythtv (d3a5af2), pvr.nextpvr (ccdfd63), pvr.njoy (4467cac), pvr.octonet (203f800), pvr.pctv (b60b971), pvr.stalker (2245b0d), pvr.teleboy (50689bd), pvr.vbox (6ed2f63), pvr.vdr.vnsi (cbb75ab), pvr.vuplus (1207082), pvr.wmc (81e2090), pvr.zattoo (4688f45), vfs.libarchive (6d39012), vfs.rar (0f56401), vfs.sftp (6749200)
- Include [env] compare (perma): kodi (RPi, Generic): next
- Include [env] compare (perma): TESTING: increase timeout to ensure OS is able to create core dump/crash log
- Include [env] patch: RPi/RPi2: enable Broadcom WiFi debugging (see details)
- Include [env] patch: kodi: use upstream repo for Milhouse RPi builds
- Include [env] patch: kodi: remove annoying, excessively repetitive addon logging
- Include [env] patch: HACK: Disable multiple PVR addons during migration. Always enable inputstream.* and os.*
- Include [env] patch: rev hack for kodi
- Include [env] patch: Bump included addon versions to prevent online updates
- Include [env] patch: Add experimental splash video for RPi
- Include [env] patch: Add kodi binary addons (pvr, adsp, inputstream, vfs, peripheral.joystick/xarcade, other)
- Include [env] PR:3130 (perma): linux (RPi/Generic): update to linux-4.19.8
- Include [env] PR:3151 (perma): Generic: add support for more bluetooth devices
- Include [env] PR:3153 (perma): sqlite: update to 3.26
- Include [env] PR:3154 (perma): libpng: update to 1.6.36
- Include [env] PR:3156 (perma): web: update to libmicrohttpd-0.9.61/curl-7.62.0
- Include [env] PR:3157 (perma): openssh: update to 7.9p1
- Include [env] PR:3158 (perma): openssl: update to 1.0.2q
- Include [env] PR:3159 (perma): mesa: update to mesa-18.3.0
- Include [pkg] PR:107 (perma): Updates menu (service.libreelec.settings)
- Include [pkg] PR:108 (perma): add ssh passwd change to wizard (service.libreelec.settings)
- Include [pkg] PR:137 (perma): Load config if enabled (pvr.vuplus)
- Include [pkg] PR:14924 (perma): [games] Fix crash in PCSX ReARMed with BIOS
- Include [pkg] PR:15007 (perma): cmake: add freetype2 PATH_SUFFIX to FindFreeType.cmake
- Include [pkg] PR:15011 (perma): [cmake] Fix ninja (fixes: #15008)
- Include [pkg] PR:15016 (perma): Resolution: Don't add half refreshrates by default
- Include [pkg] PR:15020 (perma): [DemuxClient] Call SetStreamProps only if OpenStream succeeds
Build Highlights:
- New 4.19.8 kernel
- PR15020 fixes PR15010
- [Settings] Fix regression for time oldformat setting
Build Details:
- XBMC:
- [ios] - add support for new iOS devices (PR:15000, 3 commits, 24 files changed)
- [Settings] Fix regression for time oldformat setting (PR:14979, 2 commits, 5 files changed)
- Additional commits/pull requests/changes not yet merged upstream:
- Added: [env] PR:3130 (perma): linux (RPi/Generic): update to linux-4.19.8
- Added: [pkg] PR:15020 (perma): [DemuxClient] Call SetStreamProps only if OpenStream succeeds
(2018-12-08, 22:55)aw87 Wrote: [ -> ]Here is the dmesg output pre hard reset. Here is the dmesg output post hard reset.
The links you have posted do not link to anything relevant - wrong links?
Also, what is a "hard reset"? There is that option in the LibreELEC Settings addon, and you most certainly did not want to use that.
You could just upload the latest zip file from the "Logfiles" Samba share to somewhere like dropbox, that might be easiest for you.
(2018-12-08, 23:31)Milhouse Wrote: [ -> ] (2018-12-08, 22:55)aw87 Wrote: [ -> ]Here is the dmesg output pre hard reset. Here is the dmesg output post hard reset.
The links you have posted do not link to anything relevant - wrong links?
Also, what is a "hard reset"? There is that option in the LibreELEC Settings addon, and you most certainly did not want to use that.
You could just upload the latest zip file from the "Logfiles" Samba share to somewhere like dropbox, that might be easiest for you.
I did use the hard reset option in LibreELEC settings. Before doing so I made a backup and saved it to an external location
The links were the output after using the
dmesg | paste
command.
Oddly enough, after upgrading to the latest build #1208 and using the
dmesg | paste
command I can see that the output actually posts relevant information.
Before using the commands suggested by HiassofT in the
logs I see this
[ 6.729583] bluetooth hci0: Direct firmware load for rtl_bt/rtl8723bs_fw.bin failed with error -2
[ 6.729590] Bluetooth: hci0: RTL: firmware file rtl_bt/rtl8723bs_fw.bin not found
After the commands I see this in the
log output
[ 6.601016] bluetooth hci0: Direct firmware load for rtl_bt/rtl8723bs_config-OBDA8723.bin failed with error -2
[ 6.601023] Bluetooth: hci0: RTL: mandatory config file rtl_bt/rtl8723bs_config not found
I can confirm the rtl8723bs_config is in the rtl_bt folder.
This is the file
(2018-12-09, 01:01)aw87 Wrote: [ -> ]After the commands I see this in the log output
[ 6.601016] bluetooth hci0: Direct firmware load for rtl_bt/rtl8723bs_config-OBDA8723.bin failed with error -2
[ 6.601023] Bluetooth: hci0: RTL: mandatory config file rtl_bt/rtl8723bs_config not found
Ah, the driver is looking for the config file under a different name. Can you try renaming the rtl8723bs_config file in .config/firmware/rtl_bt to rtl8723bs_config-OBDA8723.bin?
so long,
Hias