AXT1800 not working with Realtek 8153 Ethernet adaptor

I have an Ethernet USB Hub adaptor that works fine in Linux (Ubuntu 24.01) and macos. The device is recognized as Realtek 8153. But AXT1800 doesn't recognize the device correctly. I installed this package kmod-usb-net-rtl8152, and dmesg is showing:

r8152 2-1.2:1.0 (unnamed net_device) (uninitialized): Unknown version 0x6010
r8152 2-1.2:1.0 (unnamed net_device) (uninitialized): Unknown Device

Firmware version: 4.6.8
OpenWrt Version: 21.02-SNAPSHOT r16399+173-c67509efd7

I tested the same ethernet adaptor on another device (GL-E750). It didn't work on the first try, but after installing the package kmod-usb-net-rtl8152, the adaptor was recognized correctly.

I believe there is some issue with the AXT-1800 firmware or maybe the compiled version of the package.

GL-E750 recognizes the device as follows:

load rtl8153b-2 v1 10/23/19 successfully                                                                                                                                                  
r8152 1-1.3.2:1.0 eth1: v1.11.11   

I'm guessing AXT1800's kernel is too old and predates the r8153 support.

Looks like r8153 support was added starting from linux 4.13: r8152: support RTL8153B · torvalds/linux@65b82d6 · GitHub

But AXT1800's QSDK appears to be on 4.4.60-based: openwrt-sdk-ipq807x-2102/build_dir/target-arm_cortex-a7_musl_eabi/linux-ipq807x_ipq60xx at master · gl-inet-builder/openwrt-sdk-ipq807x-2102 · GitHub

Unless someone manually backported the r8153 support back to that 4.4.60 kernel, chances are that it won't work.

Not sure if it’s a kernel problem. I will check by comparing the two devices kernels.

Is there an option to compile the driver? Will that solve the issue?

@yaxi Your assumption is correct. The kernel is very old. The one installed on GL-E750 is 5.10.176, while AXT1800 has a kernel version 4.4.6