X96 S905X slow speed LAN RTL8153B USB

Hello, i have installed on nand memory CoreELEC 9.2.1, i connect USB 3.0 gigabit LANadapter RTL8153B and i have very slow download 1-14MB/s unstable , and dropped packets, but upload is fine 23MB/s and stable no drop packed. Connetion is gigabit.

How Enable Flow Control ? “rx-checksumming: off [fixed]”

“CoreELEC:~ # ethtool -A eth1 rx on tx on
Cannot get device pause settings: Operation not supported”

"Features for eth1:
rx-checksumming: off [fixed]
tx-checksumming: on
tx-checksum-ipv4: on
tx-checksum-ip-generic: off [fixed]
tx-checksum-ipv6: off [fixed]
tx-checksum-fcoe-crc: off [fixed]
tx-checksum-sctp: off [fixed]
scatter-gather: off
tx-scatter-gather: off [fixed]
tx-scatter-gather-fraglist: off [fixed]
tcp-segmentation-offload: off
tx-tcp-segmentation: off [fixed]
tx-tcp-ecn-segmentation: off [fixed]
tx-tcp6-segmentation: off [fixed]
udp-fragmentation-offload: off [fixed]
generic-segmentation-offload: off [requested on]
generic-receive-offload: on
large-receive-offload: off [fixed]
rx-vlan-offload: off [fixed]
tx-vlan-offload: off [fixed]
ntuple-filters: off [fixed]
receive-hashing: off [fixed]
highdma: off [fixed]
rx-vlan-filter: off [fixed]
vlan-challenged: off [fixed]
tx-lockless: off [fixed]
netns-local: off [fixed]
tx-gso-robust: off [fixed]
tx-fcoe-segmentation: off [fixed]
tx-gre-segmentation: off [fixed]
tx-ipip-segmentation: off [fixed]
tx-sit-segmentation: off [fixed]
tx-udp_tnl-segmentation: off [fixed]
tx-mpls-segmentation: off [fixed]
fcoe-mtu: off [fixed]
tx-nocache-copy: off
loopback: off [fixed]
rx-fcs: off [fixed]
rx-all: off [fixed]
tx-vlan-stag-hw-insert: off [fixed]
rx-vlan-stag-hw-parse: off [fixed]
rx-vlan-stag-filter: off [fixed]
l2-fwd-offload: off [fixed]
"

Adapter is fine, work on laptop in USB 2.0, speeds ar 30 download and 30MB/s upload, me network, router, cable ar fine, i’m instal older wersion LibreELEC and that same bad slow download transfer. Me BOX TV is X96 on S905X no USB 3.0, WiFi and LAN 100M work fine, max speeds ar 11MB/s.

I tested ipref, and copy file.

Maybe wrong driver ? USB ADAPTER is RTL8153B , and driver RTL8152

It’s show in router gigabit connection but :

"CoreELEC:~ # ethtool eth1
Settings for eth1:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Advertised pause frame use: Symmetric Receive-only
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Link partner advertised pause frame use: Symmetric Receive-only
Link partner advertised auto-negotiation: Yes
Link partner advertised FEC modes: Not reported
Speed: 100Mb/s
Duplex: Full
Port: MII
PHYAD: 32
Transceiver: internal
Auto-negotiation: on
Link detected: yes

Link encap:Ethernet HWaddr -------------------------
inet addr:192.168.1.54 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:575753 errors:0 dropped:366 overruns:0 frame:0
TX packets:781514 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:661266638 (630.6 MiB) TX bytes:668717926 (637.7 MiB)

ethtool -i eth1
driver: r8152
version: v1.04.0 (2014/01/15)
firmware-version:
expansion-rom-version:
bus-info: usb-xhci-hcd.0.auto-1
supports-statistics: no
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no

Download test :

[ ID] Interval Transfer Bitrate
[ 5] 0.00-1.00 sec 373 KBytes 3.06 Mbits/sec
[ 5] 1.00-2.00 sec 282 KBytes 2.31 Mbits/sec
[ 5] 2.00-3.00 sec 3.58 MBytes 30.0 Mbits/sec
[ 5] 3.00-4.00 sec 11.5 MBytes 96.7 Mbits/sec
[ 5] 4.00-5.00 sec 10.5 MBytes 88.4 Mbits/sec
[ 5] 5.00-6.00 sec 9.91 MBytes 83.1 Mbits/sec
[ 5] 6.00-7.00 sec 6.90 MBytes 57.9 Mbits/sec
[ 5] 7.00-8.00 sec 9.65 MBytes 81.0 Mbits/sec
[ 5] 8.00-9.00 sec 7.69 MBytes 64.5 Mbits/sec
[ 5] 9.00-10.00 sec 8.54 MBytes 71.6 Mbits/sec
[ 5] 10.00-11.00 sec 7.31 MBytes 61.3 Mbits/sec
[ 5] 11.00-12.00 sec 11.8 MBytes 99.2 Mbits/sec
[ 5] 12.00-13.00 sec 8.32 MBytes 69.7 Mbits/sec
[ 5] 13.00-14.00 sec 7.13 MBytes 59.8 Mbits/sec
[ 5] 14.00-15.00 sec 16.5 MBytes 138 Mbits/sec
[ 5] 15.00-16.00 sec 2.84 MBytes 23.9 Mbits/sec
[ 5] 16.00-17.00 sec 9.18 MBytes 77.0 Mbits/sec
[ 5] 17.00-18.00 sec 8.81 MBytes 73.9 Mbits/sec
[ 5] 18.00-19.00 sec 8.98 MBytes 75.3 Mbits/sec
[ 5] 19.00-20.00 sec 4.48 MBytes 37.5 Mbits/sec
[ 5] 20.00-21.00 sec 8.03 MBytes 67.4 Mbits/sec
[ 5] 21.00-22.00 sec 4.81 MBytes 40.3 Mbits/sec
[ 5] 22.00-23.00 sec 7.42 MBytes 62.3 Mbits/sec
[ 5] 23.00-24.00 sec 6.86 MBytes 57.6 Mbits/sec
[ 5] 24.00-25.00 sec 3.94 MBytes 33.0 Mbits/sec
[ 5] 25.00-26.00 sec 5.27 MBytes 44.2 Mbits/sec
[ 5] 26.00-27.00 sec 6.32 MBytes 53.0 Mbits/sec
[ 5] 27.00-28.00 sec 9.02 MBytes 75.7 Mbits/sec
[ 5] 28.00-29.00 sec 6.21 MBytes 52.1 Mbits/sec
[ 5] 29.00-30.00 sec 2.84 MBytes 23.9 Mbits/sec


[ ID] Interval Transfer Bitrate
[ 5] 0.00-30.00 sec 215 MBytes 60.1 Mbits/sec

Upload :

[ ID] Interval Transfer Bandwidth
[ 5] 0.00-1.00 sec 20.8 MBytes 174 Mbits/sec
[ 5] 1.00-2.00 sec 22.1 MBytes 185 Mbits/sec
[ 5] 2.00-3.00 sec 22.1 MBytes 185 Mbits/sec
[ 5] 3.00-4.00 sec 22.1 MBytes 185 Mbits/sec
[ 5] 4.00-5.00 sec 22.1 MBytes 185 Mbits/sec
[ 5] 5.00-6.00 sec 22.1 MBytes 185 Mbits/sec
[ 5] 6.00-7.00 sec 22.1 MBytes 185 Mbits/sec
[ 5] 7.00-8.00 sec 22.1 MBytes 185 Mbits/sec
[ 5] 8.00-9.00 sec 22.1 MBytes 185 Mbits/sec
[ 5] 9.00-10.00 sec 22.1 MBytes 185 Mbits/sec
[ 5] 10.00-11.00 sec 22.1 MBytes 185 Mbits/sec
[ 5] 11.00-12.00 sec 22.0 MBytes 185 Mbits/sec
[ 5] 12.00-13.00 sec 22.1 MBytes 185 Mbits/sec
[ 5] 13.00-14.00 sec 22.1 MBytes 185 Mbits/sec
[ 5] 14.00-15.00 sec 22.1 MBytes 185 Mbits/sec
[ 5] 15.00-16.00 sec 22.1 MBytes 185 Mbits/sec
[ 5] 16.00-17.00 sec 22.1 MBytes 185 Mbits/sec
[ 5] 17.00-18.00 sec 22.1 MBytes 185 Mbits/sec
[ 5] 18.00-19.00 sec 22.1 MBytes 185 Mbits/sec
[ 5] 19.00-20.00 sec 22.1 MBytes 185 Mbits/sec
[ 5] 20.00-21.00 sec 22.1 MBytes 185 Mbits/sec
[ 5] 21.00-22.00 sec 22.1 MBytes 185 Mbits/sec
[ 5] 22.00-23.00 sec 22.1 MBytes 185 Mbits/sec
[ 5] 23.00-24.00 sec 22.1 MBytes 185 Mbits/sec
[ 5] 24.00-25.00 sec 22.1 MBytes 185 Mbits/sec
[ 5] 25.00-26.00 sec 22.1 MBytes 185 Mbits/sec
[ 5] 26.00-27.00 sec 22.1 MBytes 185 Mbits/sec
[ 5] 27.00-28.00 sec 22.1 MBytes 185 Mbits/sec
[ 5] 28.00-29.00 sec 22.1 MBytes 185 Mbits/sec
[ 5] 29.00-30.00 sec 22.1 MBytes 185 Mbits/sec
[ 5] 30.00-30.06 sec 1.42 MBytes 184 Mbits/sec


[ ID] Interval Transfer Bandwidth
[ 5] 0.00-30.06 sec 0.00 Bytes 0.00 bits/sec sender
[ 5] 0.00-30.06 sec 663 MBytes 185 Mbits/sec receiver"

This doesn’t work?

ethtool -K eth1 rx on tx on

“Cannot change rx-checksumming
Could not change any device features”

hmmm i try add “ethtool -K eth1 rx on tx on” to autostart.sh but nothing happen. all time “rx-checksumming: off [Fixed]”

What’s the results for

ethtool -k eth1

“Operation not supported” messages indicates that your ethernet device does not seem to support the command.

You need to upgrade the driver I imagine.

how do that ?? im poor in linux ;/

CoreELEC:~ # lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0413:0308 Leadtek Research, Inc.
Bus 001 Device 002: ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Eth ernet Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Maybe update driver in CoreELEC 9.2.2 ??

I hope that too for TP-Link UE300 / UE330 (based on Realtek RTL8153)

It’s WORK ! Big thanks to @TheCoolest !!!

His bulid on S905X : https://test.coreelec.org/arthur/CoreELEC-Amlogic.arm-9.2-devel-1591990402.tar

CoreELEC:~ # ethtool -i eth1
driver: r8152
version: v2.12.0 (2019/04/29)
firmware-version:
expansion-rom-version:
bus-info: usb-xhci-hcd.0.auto-2
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no
CoreELEC:~ # ethtool eth1
Settings for eth1:
        Supported ports: [ MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supported pause frame use: No
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  10baseT/Half 10baseT/Full
                                             100baseT/Half 100baseT/Full
                                             1000baseT/Half 1000baseT/Full
        Link partner advertised pause frame use: No
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 1000Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 32
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00007fff (32767)
                               drv probe link timer ifdown ifup rx_err tx_err tx_queued intr tx_done rx_status pktdata hw wol
        Link detected: yes

The new driver was pushed, and should be available in the next nightly build for both amlogic and amlogic-ng builds.

About | FAQ | Terms of Service | Privacy Policy | Legal Notice