Amlogic S905X2

Done. It should be available in tonight’s build.

BTW, I am new to Coreelec and I have a small question. Where are the WiFi settings stored ? (config files path). I am used mostly to Ubuntu, Android and OpenWRT

an “lspci” and “lsusb” would be helpful to fine hardware IDs. The chip would mostly work with a bcm driver. I will do some research.

Team, WiFi now works with 5GHz!, Ethernet is slow, I don’t know how to check if I’m connected at 1Gbps instead of 100 Mbps, can we see this in KODI?
Another thing… How can I turn on my device with the remote control IR? I can turn it off but not on. Thanks!

The wake up will be fixed when I add the g12a CPU support: CoreELEC BL301 Wake-Up feature [inject_bl301]
I guess next week…

1 Like

Check this out:-

1 Like

These are PC commands for scanning PCI and USB bus, TV boxes do not have PCI and WiFi is attached via SDIO and not USB.

The command your looking for is…

udevadm info /sys/bus/sdio/devices/sdio*

Thanks for the clarification. As I said, I am mostly used to x86 and MIPS devices, sorry for that.

Are the changes merged ?

Yes, it was pushed yesterday.

Thank you for your efforts but the WiFi is so much slow compared to android. I think it must be from the driver implementation itself.

Can you use iperf to compare the performance between Android and CE?
Can you also test the build I posted and see if it’s also slow.

I will do that

I think that the problem is related to the driver it self.
I did an “iw phy” and only the HT20 mode showed up. No HT40 in the driver whilst the datasheet says that the BCM43430 chip supports 150mbps speeds

Edit: my bad, the real AMPAK datasheets says only 20 Mhz, what a crappy WiFi module. I am sure that it only costs 0.1 USD !!!

Thanks for your suggestion. iperf helped me actually to pinpoint the problem and now CoreELEC speeds are better than Android ones. The problem was the WiFi channel that my router was using for the 2.4 Ghz AP. I set it now to channel 6 and the results are below

ANDROID____

Accepted connection from 192.168.1.119, port 50412
[ 5] local 192.168.1.130 port 5201 connected to 192.168.1.119 port 50414
[ ID] Interval Transfer Bandwidth
[ 5] 0.00-1.00 sec 3.15 MBytes 26.4 Mbits/sec
[ 5] 1.00-2.00 sec 4.43 MBytes 37.2 Mbits/sec
[ 5] 2.00-3.00 sec 4.47 MBytes 37.5 Mbits/sec
[ 5] 3.00-4.00 sec 4.25 MBytes 35.7 Mbits/sec
[ 5] 4.00-5.00 sec 4.15 MBytes 34.8 Mbits/sec
[ 5] 5.00-6.00 sec 4.39 MBytes 36.9 Mbits/sec
[ 5] 6.00-7.00 sec 4.70 MBytes 39.4 Mbits/sec
[ 5] 7.00-8.00 sec 4.29 MBytes 36.0 Mbits/sec
[ 5] 8.00-9.00 sec 4.42 MBytes 37.1 Mbits/sec
[ 5] 9.00-10.00 sec 4.48 MBytes 37.6 Mbits/sec
[ 5] 10.00-10.09 sec 242 KBytes 22.0 Mbits/sec


[ ID] Interval Transfer Bandwidth
[ 5] 0.00-10.09 sec 0.00 Bytes 0.00 bits/sec sender
[ 5] 0.00-10.09 sec 43.0 MBytes 35.7 Mbits/sec receiver

Server listening on 5201

CoreELEC____

CoreELEC:~ # iperf -c 192.168.1.130
Connecting to host 192.168.1.130, port 5201
[ 5] local 192.168.1.119 port 41118 connected to 192.168.1.130 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 5.31 MBytes 44.6 Mbits/sec 0 154 KBytes
[ 5] 1.00-2.00 sec 5.26 MBytes 44.2 Mbits/sec 0 170 KBytes
[ 5] 2.00-3.00 sec 5.41 MBytes 45.4 Mbits/sec 0 170 KBytes
[ 5] 3.00-4.00 sec 5.32 MBytes 44.6 Mbits/sec 0 170 KBytes
[ 5] 4.00-5.00 sec 5.47 MBytes 45.9 Mbits/sec 0 184 KBytes
[ 5] 5.00-6.00 sec 5.37 MBytes 45.1 Mbits/sec 0 184 KBytes
[ 5] 6.00-7.00 sec 5.51 MBytes 46.2 Mbits/sec 0 184 KBytes
[ 5] 7.00-8.00 sec 5.45 MBytes 45.7 Mbits/sec 0 184 KBytes
[ 5] 8.00-9.00 sec 5.42 MBytes 45.4 Mbits/sec 0 184 KBytes
[ 5] 9.00-10.00 sec 5.48 MBytes 46.0 Mbits/sec 0 184 KBytes


[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 54.0 MBytes 45.3 Mbits/sec 0 sender
[ 5] 0.00-10.00 sec 53.7 MBytes 45.0 Mbits/sec receiver

Poor speeds are definitely down to the chip that is used as the KVIM3 is more than double that speed with 3 walls between the router and the device and it uses the exact same driver.

image

Yes, the built-in wifi in most of the cheap boxes is pretty bad. But I’m glad that CE performs better than Android after fixing the AP channel. :slight_smile:

For sure the WiFi module AP6398S is way better than those WiFi chips used on those cheap TV boxes. May I ask whether driver for AP6255 is included in the 0810 build? My X96S TV stick still couldn’t find any WiFi adapter.

So Im about to buy a T95Q S905x2, is it still recommended to install on sdcard or can one install directly on emmc?

There is no installtointernal support on kernel 4.9, and it’s not planned.