[S905X] Unknown WLAN chip

  • Hello,

    I received a really cheap S905X box "Akaso MH8 HM8". Libreelec 8 boots fine with standard reset switch procedure, if gxl_p212_1g.dtb is used. Sadly, wlan does not work.

    sdio devices:

    Code
    LibreELEC (community) Version: 8.0.0c
    LibreELEC git: e5a2b4eb5166ae2eae3e071bab75d3b7f06bdce1
    akaso:~ # udevadm info /sys/bus/sdio/devices/sdio*
    P: /devices/d0070000.sdio/mmc_host/sdio/sdio:0001/sdio:0001:1
    E: DEVPATH=/devices/d0070000.sdio/mmc_host/sdio/sdio:0001/sdio:0001:1
    E: MODALIAS=sdio:c07v02E7d9082
    E: SDIO_CLASS=07
    E: SDIO_ID=02E7:9082
    E: SUBSYSTEM=sdio

    Android kernel modules:

    Code
    akaso:~ # mkdir -p /tmp/system
    akaso:~ # mount /dev/system /tmp/system
    akaso:~ # find /tmp/system -name *.ko
    /tmp/system/lib/8189es.ko
    /tmp/system/lib/9082xs.ko
    /tmp/system/lib/audio_data.ko
    /tmp/system/lib/dhd.ko
    /tmp/system/lib/dwc3.ko
    /tmp/system/lib/dwc_otg.ko
    /tmp/system/lib/mali.ko

    I have not found any information on this "9082xs" but I saw that you contacted someone on github who seems to have access to some kind of driver source.

    Edited once, last by mmpp (February 24, 2017 at 11:49 PM).

  • I checked with a terminal apk in Android: my version of the box loads the 9082xs module. I use only wired ethernet, so I do not mind. Also, plugging in an usb wlan adapter worked fine in libreelec, so I can use one of these if I really need wlan.

    HaselnuesseTo: If you want to check yourself, install Terminal Emulator 1.0.70 by Jack Palevich and type "su" (accept root privilege) and "lsmod" when connected to wlan in Android. It is possible that multiple versions of this golden box exist.

    kszaq: Thank you for clarifying the driver issue, and as always thanks for your continued support of these builds.

    Edited once, last by mmpp (February 25, 2017 at 9:54 AM).

  • kszaq
    My T95x Box also has that 9082xs wifi chip, so unfortunately I can't use your LibreElec builds.
    It would be awesome if you could find a way to make it work.


  • 8189ETV is supported from the very first builds.

    9082xs is not supported yet and the person who compiled the driver in Android firmwares doesn't respond to my requests: 9082xs Driver Source Code · Issue #1 · jolin90/jolin · GitHub

    9082xs is not officially supported by Amlogic (1st hand info) so the only way to get the driver is from author/chip manufacturer.

    I read script inside jolin repository and I found a file called replace2.sh, in this file I find some function about rename of rtl8189es driver to work with Tilk9082xs, the scripts works, but some txt files are missing in that repo. The missing .txt files defines the rules of sed -i to change functions names. So I follow the breadcrumbs, and I made a repository with this experiments:
    GitHub - Akir4d/Tilk9082x: Rtl8189e modified to works with 9082x
    Actually the driver recongnize device, and try to initialize:
    [ 1299.922831@1] cfg80211: Calling CRDA to update world regulatory domain
    [ 1299.942495@1] TTL902X: module init start
    [ 1299.942512@1] TTL902X: ttl9082xs v4.3.18.2_17395.20160422
    [ 1299.942516@1] ######platform_wifi_power_on:
    [ 1299.942548@1] aml_wifi wifi.32: [extern_wifi_set_enable] WIFI Disable! 240
    [ 1300.447063@2] aml_wifi wifi.32: [extern_wifi_set_enable] WIFI Enable! 240
    [ 1300.957054@2] sdio_reset_comm():
    [ 1300.976901@1] [sdio_reinit] finish
    [ 1300.979099@1] bFWReady == _FALSE call reset 8051...
    [ 1302.039450@1] TTL902X: ERROR invalid mac addr:00:00:00:00:00:00, assign random MAC
    [ 1302.040888@3] TTL902X: tlw_ndev_init(wlan0) if1 mac_addr=00:e0:4c:de:4b:fe
    [ 1302.091830@2] TTL902X: module init ret=0
    But I not get any wifi scan....
    I need some help...

  • It's not a single file, it should be a folder with 9082xs kernel driver source code. 9082xs.so from your shared folder is the kernel module that we need sources for. :)


  • It's not a single file, it should be a folder with 9082xs kernel driver source code. 9082xs.so from your shared folder is the kernel module that we need sources for. :)

    I asked, but the wifi manufacturer don't give the source code...
    The latest Tanix TX3 Pro have the same 9082C chipset :(