Tanix tx6 no wifi & bt drivers

  • Can you please confirm the model number on the bottom.

    Tanix TX6 - linux-sunxi.org

    As I believe this is not a model I have/have tested. Mine both use the rtw88 driver.

    Code
    [    5.943731] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4330-sdio for chip BCM4330/4
    [    5.943879] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac4330-sdio.oranth,tanix-tx6.bin failed with error -2
    [    5.944689] usbcore: registered new interface driver brcmfmac
  • You can check if this changes/fixes the wireless with the bcm4330

    Code
    mkdir -p /storage/.config/firmware/brcm
    cd /storage/.config/firmware/brcm
    ln -s /lib/firmware/brcm/brcmfmac4330-sdio.bin brcmfmac4330-sdio.oranth,tanix-tx6.bin
    ln -s /lib/firmware/brcm/brcmfmac4330-sdio.txt brcmfmac4330-sdio.oranth,tanix-tx6.txt
    
    reboot
  • The "error" messages related to brcmfmac are harmless since the driver falls back to the generic filenames automatically and no device has the clm_blob file available (and it's not essential. All looks good to me; so there should be a wlan0 device in the OS and you should be able to configure a WiFi connection. If not, share "journalctl | paste" after attempting to configure a connection.

  • Code
    mkdir -p /storage/.config/firmware/brcm
    wget http://ix.io/4tpc -O /storage/.config/firmware/brcm/brcmfmac4330-sdio.oranth,tanix-tx6.txt
    reboot

    ^ see if that nvram config works better. Run "pastekodi" and "ifconfig | paste" after boot and share the URLs. Also ensure the correct wireless regulatory domain has been configured in LE settings.

  • Thanks, now wifi works but only 2.4, 5ghz&bt not

    iw dev wlan0 scan

    BSS b8:69:f4:d9:6b:36(on wlan0)

    last seen: 42.585s [boottime]

    TSF: 0 usec (0d, 00:00:00)

    freq: 2412

    beacon interval: 100 TUs

    capability: ESS Privacy ShortPreamble ShortSlotTime (0x0431)

    signal: -34.00 dBm

    last seen: 104 ms ago

    SSID: neutrino-digital.com

    Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0

    DS Parameter set: channel 1

    ERP: <no flags>

    HT capabilities:

    Capabilities: 0x102c

    HT20

    SM Power Save disabled

    RX HT20 SGI

    No RX STBC

    Max AMSDU length: 3839 bytes

    DSSS/CCK HT40

    Maximum RX AMPDU length 65535 bytes (exponent: 0x003)

    Minimum RX AMPDU time spacing: No restriction (0x00)

    HT RX MCS rate indexes supported: 0-15

    HT TX MCS rate indexes are undefined

    RSN: * Version: 1

    * Group cipher: CCMP

    * Pairwise ciphers: CCMP

    * Authentication suites: PSK

    * Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000)

    Extended supported rates: 24.0 36.0 48.0 54.0

    HT operation:

    * primary channel: 1

    * secondary channel offset: no secondary

    * STA channel width: 20 MHz

    * RIFS: 0

    * HT protection: no

    * non-GF present: 0

    * OBSS non-GF present: 0

    * dual beacon: 0

    * dual CTS protection: 0

    * STBC beacon: 0

    * L-SIG TXOP Prot: 0

    * PCO active: 0

    * PCO phase: 0

    WMM: * Parameter version 1

    * u-APSD

    * BE: CW 15-1023, AIFSN 3

    * BK: CW 15-1023, AIFSN 7

    * VI: CW 7-15, AIFSN 2, TXOP 3008 usec

    * VO: CW 3-7, AIFSN 2, TXOP 1504 usec

    http://ix.io/4vtc

    http://ix.io/4vt2

    Edited once, last by atari (May 8, 2023 at 4:45 PM).

  • Make sure the Wireless Regulatory Domain matches your country (or what the router is configured as). No idea why BT is not probing... but then I have low/no real knowledge of Allwinner hardware.