GMKTEC M5 / No Wifi & BT Interface

  • Hello Community,

    i hope all of you have a nice weekend, i use mine to setup my GMKTEC NucBox M5. :)
    Installation was almost flawless, but after the first boot i recognized that i had no Wifi Interface available and also Bluetooth Adapter was listed.
    Here is what dmesg | paste produced:

    https://paste.libreelec.tv/genuine-camel.log%C2%B4

    I am running the latest nightly build for generic x86_64.

    As far as i know the drivers for the MediaTek MT7922 should be supported since kernel 5.17.

  • Driver may be there - check with lspci -k - but firmware may be missing and is only added by request..

    You can download missing firmware from here and put it into /storage/.config/firmware/mediatek

  • That did sadly not work.

    here is the output from lspci -k

    I downloaded:
    BT_RAM_CODE_MT7922_1_1_hdr.bin
    WIFI_MT7922_patch_mcu_1_1_hdr.bin
    WIFI_RAM_CODE_MT7922_1.bin

    from here and put it into the path /storage/.config/firmware/mediatek you provided. /firmware/mediatek/ weren't there, so i just made it and set permissions to 0755


    wifi interface and bt adapter still don't show up in the kodi libreelec settings.

  • Hello all,

    Much like Reminder6775 I have a GMKTEC NucBox M5 (specifically a "plus") with a MEDIATEK Corp. MT7922 802.11ax PCI Express Wireless Network Adapter and associated Bluetooth. LibreELEC-Generic.x86_64-12.0.2.img install process was easy and KODI looked nice and snappy at UHD - but also no wifi or BT via the Kodi interface. How can I get those working on this hardware?

    TL;DR Reminder6775 did you get wifi and BT working on your NucBox with LibreELEC? If so how?

    I am assuming that LibreELEC 12 from early 2025 is downstream of the above merge in Sept 2024 so the kernel should have the MT7921E kernel module enabled. It would be good to have this confirmed.

    But I note that MT7922 firmware is apparently absent:

    Bash
    # ls /usr/lib/firmware/mediatek/
    BT_RAM_CODE_MT7961_1_2_hdr.bin     mt7610u.bin
    WIFI_MT7961_patch_mcu_1_2_hdr.bin  mt7662u.bin
    WIFI_RAM_CODE_MT7961_1.bin         mt7662u_rom_patch.bin

    "ip a" returned lo, eth0, eth1 devices, so no wireless. I am not sure of a good diagnostic command at the terminal for bluetooth.

    "dmesg | grep -i wir", "dmesg | grep -i wif", "dmesg | grep -i blu" retuned nothing while "dmesg | grep -i bt" retuned "[ 1.354248] Btrfs loaded, zoned=no, fsverity=no"

    Via the overlay system described in the wiki and advice above I added:

    Bash
    # ls /storage/.config/firmware/mediatek/
    BT_RAM_CODE_MT7922_1_1_hdr.bin     WIFI_RAM_CODE_MT7922_1.bin
    WIFI_MT7922_patch_mcu_1_1_hdr.bin

    After a reboot:

    Bash
    # ls /usr/lib/firmware/mediatek/
    BT_RAM_CODE_MT7922_1_1_hdr.bin     WIFI_RAM_CODE_MT7961_1.bin
    BT_RAM_CODE_MT7961_1_2_hdr.bin     mt7610u.bin
    WIFI_MT7922_patch_mcu_1_1_hdr.bin  mt7662u.bin
    WIFI_MT7961_patch_mcu_1_2_hdr.bin  mt7662u_rom_patch.bin
    WIFI_RAM_CODE_MT7922_1.bin

    But "ip a" returned lo, eth0, eth1 devices, so no wireless.

    On my first attempt at a reboot I saw:

    And

    Thanks to the LibreELEC devs and community - it looks great. Hoping to get past the inevitable hardware challenges.

  • Run "dmesg | paste" and share the URL so we can see the full log. Always share a full log; every time you share log snippets you are leaving out useful info/context on the device.

  • Thanks:

    https://paste.libreelec.tv/magical-eagle.log

    Code
    # ls /usr/lib/firmware/mediatek/
    BT_RAM_CODE_MT7922_1_1_hdr.bin     WIFI_RAM_CODE_MT7961_1.bin
    BT_RAM_CODE_MT7961_1_2_hdr.bin     mt7610u.bin
    WIFI_MT7922_patch_mcu_1_1_hdr.bin  mt7662u.bin
    WIFI_MT7961_patch_mcu_1_2_hdr.bin  mt7662u_rom_patch.bin
    WIFI_RAM_CODE_MT7922_1.bin

    Seems less successful this time

    Code
    # lsusb -tv
    /:  Bus 001.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/4p, 480M
        ID 1d6b:0002 Linux Foundation 2.0 root hub
    /:  Bus 002.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/2p, 10000M
        ID 1d6b:0003 Linux Foundation 3.0 root hub
    /:  Bus 003.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/4p, 480M
        ID 1d6b:0002 Linux Foundation 2.0 root hub
    /:  Bus 004.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/2p, 10000M
        ID 1d6b:0003 Linux Foundation 3.0 root hub