Hi folks and especially @kaszaq,
I own a Mini M8S II and Libreelec 8.0c works like a charm. However, I must confess that both wifi and bluetooth gives me grief.
First things first: My box has an AP6212a and thus a BCM43438 chip inside. As far as I can tell from the dmesg log, the appropriate driver for this chip is loaded. Unfortunately, the version is not the latest. The version number I see is
[ 21.101938@0] Firmware version = wl0: Sep 21 2016 14:52:37 version 7.46.57.4.ap.r3 ...
The most recent version is AFAIK 7.46.57.189. At least that is what was shipped with Andoid. Can't tell the difference between both, but would like to see the new one included because it might fix my problems.
Speaking of which, my wifi connection is extremely flaky. I live in an appartment and I'm surrounded by many, many other wifi routers that all broadcast in full madness. I managed to find a channel in which only 3 other routers broadcast. Between my router and the TV box is a hallway and two doors. Should not be that much of an obstacle.
Since I live in Germany I want to use channels 12 and 13, however, I don't get a connection once my router broadcasts on these channels. The culprit is a misconfigured "regulatory domain", which is first set to China during the boot process and then to the fallback Global because the domain cannot be set ... why ever ... See here:
LibreELEC:~ # iw phy0 reg get
global
country 00: DFS-UNSET
(2402 - 2472 @ 40), (6, 20), (N/A)
(2457 - 2482 @ 40), (6, 20), (N/A), PASSIVE-SCAN
(2474 - 2494 @ 20), (6, 20), (N/A), NO-OFDM, PASSIVE-SCAN
(5170 - 5250 @ 160), (6, 20), (N/A), PASSIVE-SCAN
(5250 - 5330 @ 160), (6, 20), (N/A), DFS, PASSIVE-SCAN
(5490 - 5730 @ 160), (6, 20), (N/A), DFS, PASSIVE-SCAN
So I used the 'iw' command from the Network Tools addon to set the domain to DE or alternatively to EU. Here is what I got:
LibreELEC:~ # iw reg set DE
LibreELEC:~ # iw phy0 reg get
global
country 00: DFS-UNSET
(2402 - 2472 @ 40), (6, 20), (N/A)
(2457 - 2482 @ 40), (6, 20), (N/A), PASSIVE-SCAN
(2474 - 2494 @ 20), (6, 20), (N/A), NO-OFDM, PASSIVE-SCAN
(5170 - 5250 @ 160), (6, 20), (N/A), PASSIVE-SCAN
(5250 - 5330 @ 160), (6, 20), (N/A), DFS, PASSIVE-SCAN
(5490 - 5730 @ 160), (6, 20), (N/A), DFS, PASSIVE-SCAN
LibreELEC:~ # iw reg set EU
LibreELEC:~ # iw phy0 reg get
global
country 00: DFS-UNSET
(2402 - 2472 @ 40), (6, 20), (N/A)
(2457 - 2482 @ 40), (6, 20), (N/A), PASSIVE-SCAN
(2474 - 2494 @ 20), (6, 20), (N/A), NO-OFDM, PASSIVE-SCAN
(5170 - 5250 @ 160), (6, 20), (N/A), PASSIVE-SCAN
(5250 - 5330 @ 160), (6, 20), (N/A), DFS, PASSIVE-SCAN
(5490 - 5730 @ 160), (6, 20), (N/A), DFS, PASSIVE-SCAN
Display More
So no chance for me to set the regulatory domain to something different. Would be very pleased if somebody could have a look into this.
Ah, by the way, before I forget about this: If somebody of you wants to try this little hack here : A95X External Antenna Mod & Results
I recommend don't. It isn't worth the hassle. You get better reception, yes, that's true, but also more interferences from other routers in the vicinity and that will definitely not boost the throughput.
My other problem is Bluetooth. Yes it works, my TV box can see my Aukey BR-C1, a Bluetooth 3.0 audio receiver, but is unable to connect to it. As a side note, my box is perfectly able to connect to my smartphone. Here is what I do manually to connect to it:
LibreELEC:~ # hcitool scan
Scanning ...
00:11:67:C8:BE:C3 n/a
LibreELEC:~ # hcitool name 00:11:67:C8:BE:C3
BR-C1
LibreELEC:~ # hcitool cc 00:11:67:C8:BE:C3
Can't create connection: Input/output error
So here is my question: What should I do in order to connect to this audio receiver? I can't get any connection either from command line not from Kodi UI.
@kaszaq: How do you make sure, that hciattach does indeed load the appropriate *.hcd firmware?
Thanks for your interest. Help is highly appreciated.
Cheers,
Dietrich