[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
    1. LibreELEC (community) Version: 8.0.0c
    2. LibreELEC git: e5a2b4eb5166ae2eae3e071bab75d3b7f06bdce1
    3. akaso:~ # udevadm info /sys/bus/sdio/devices/sdio*
    4. P: /devices/d0070000.sdio/mmc_host/sdio/sdio:0001/sdio:0001:1
    5. E: DEVPATH=/devices/d0070000.sdio/mmc_host/sdio/sdio:0001/sdio:0001:1
    6. E: MODALIAS=sdio:c07v02E7d9082
    7. E: SDIO_CLASS=07
    8. E: SDIO_ID=02E7:9082
    9. E: SUBSYSTEM=sdio


    Android kernel modules:

    Code
    1. akaso:~ # mkdir -p /tmp/system
    2. akaso:~ # mount /dev/system /tmp/system
    3. akaso:~ # find /tmp/system -name *.ko
    4. /tmp/system/lib/8189es.ko
    5. /tmp/system/lib/9082xs.ko
    6. /tmp/system/lib/audio_data.ko
    7. /tmp/system/lib/dhd.ko
    8. /tmp/system/lib/dwc3.ko
    9. /tmp/system/lib/dwc_otg.ko
    10. /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.

    Wetek Hub: LibreElec 8.2.3.1 (Philips 42PFL8404)
    MK808B+: LibreElec 7.0.2.7 (Samsung UE55H6270)
    OTT MXQ Pro 4k (S905): LibreElec 7.0.3.12k (Denon X1200W, 7.1, LG PF1500G)
    AKASO HM8 (S905X): CoreElec 9.0 dev build, Acer Revo 3610: Milhouse test

    Edited once, last by mmpp ().

  • Unfortunately I do not have driver source for this chip = no WiFi for now.

    Edited once, last by kszaq ().

  • That is the Akaso M8S with S912. I made a mistake, the label of my box is "HM8", with S905X.

    Wetek Hub: LibreElec 8.2.3.1 (Philips 42PFL8404)
    MK808B+: LibreElec 7.0.2.7 (Samsung UE55H6270)
    OTT MXQ Pro 4k (S905): LibreElec 7.0.3.12k (Denon X1200W, 7.1, LG PF1500G)
    AKASO HM8 (S905X): CoreElec 9.0 dev build, Acer Revo 3610: Milhouse test

    Edited once, last by mmpp ().

  • 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.

    Wetek Hub: LibreElec 8.2.3.1 (Philips 42PFL8404)
    MK808B+: LibreElec 7.0.2.7 (Samsung UE55H6270)
    OTT MXQ Pro 4k (S905): LibreElec 7.0.3.12k (Denon X1200W, 7.1, LG PF1500G)
    AKASO HM8 (S905X): CoreElec 9.0 dev build, Acer Revo 3610: Milhouse test

    Edited once, last by mmpp ().

  • 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:
    [ [email protected]] cfg80211: Calling CRDA to update world regulatory domain
    [ [email protected]] TTL902X: module init start
    [ [email protected]] TTL902X: ttl9082xs v4.3.18.2_17395.20160422
    [ [email protected]] ######platform_wifi_power_on:
    [ [email protected]] aml_wifi wifi.32: [extern_wifi_set_enable] WIFI Disable! 240
    [ [email protected]] aml_wifi wifi.32: [extern_wifi_set_enable] WIFI Enable! 240
    [ [email protected]] sdio_reset_comm():
    [ [email protected]] [sdio_reinit] finish
    [ [email protected]] bFWReady == _FALSE call reset 8051...
    [ [email protected]] TTL902X: ERROR invalid mac addr:00:00:00:00:00:00, assign random MAC
    [ [email protected]] TTL902X: tlw_ndev_init(wlan0) if1 mac_addr=00:e0:4c:de:4b:fe
    [ [email protected]] TTL902X: module init ret=0
    But I not get any wifi scan....
    I need some help...


  • It would be awesome if you could find a way to make it work.


    You can make it work, by using a USB WiFi adapter (like others have mentioned) ;)

  • As kszaq wrote above, no driver code exists. The android binary driver cannot be used in libreelec.

    Wetek Hub: LibreElec 8.2.3.1 (Philips 42PFL8404)
    MK808B+: LibreElec 7.0.2.7 (Samsung UE55H6270)
    OTT MXQ Pro 4k (S905): LibreElec 7.0.3.12k (Denon X1200W, 7.1, LG PF1500G)
    AKASO HM8 (S905X): CoreElec 9.0 dev build, Acer Revo 3610: Milhouse test

  • 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 :(