Help disabling internal wifi on X96Air

  • Hi all,
    Since the last few versions of coreelec my onboard wifi basically sucks. Lucky to get 1Mb/s.

    I have a USB WIFI adapter which i have put in. The thing is depending on the way it boots its sometimes wlan 0 and sometimes its wlan 1

    According to running this command this is the drivers

    CoreELECx96Air:~ # readlink /sys/class/net/wlan1/device/driver

    ../../../../../../../bus/sdio/drivers/rtl88x2cs

    CoreELECx96Air:~ # readlink /sys/class/net/wlan0/device/driver

    ../../../../../../../../bus/usb/drivers/8812au

    So i added this to my blacklist.conf

    blacklist rtl88x2cs

    Rebooted and still both are showing up

    here is my dmesg

    http://ix.io/4FTz

    My Lsmod is shown

    Module Size Used by

    hidp 32768 0

    meson_remote 57344 0

    rfcomm 53248 6

    hci_uart 77824 1

    btqca 16384 1 hci_uart

    btbcm 16384 1 hci_uart

    btintel 24576 1 hci_uart

    bluetooth 385024 37 hidp,hci_uart,btintel,btqca,btbcm,rfcomm

    8822cs 2519040 0

    8812au 1740800 0

    mali_kbase 462848 3

    openvfd 192512 1

    nfsd 327680 3

    exportfs 16384 1 nfsd

    nfs_acl 16384 1 nfsd

    wireguard 118784 0

    ip6_udp_tunnel 16384 1 wireguard

    udp_tunnel 16384 1 wireguard

    wifi_dummy 16384 0

    amvdec_vp9 139264 0

    amvdec_av1 172032 0

    amvdec_vc1 77824 0

    amvdec_real 49152 0

    amvdec_ports 163840 0

    v4l2_common 16384 1 amvdec_ports

    videobuf2_dma_contig 20480 1 amvdec_ports

    videobuf2_memops 16384 1 videobuf2_dma_contig

    v4l2_mem2mem 24576 1 amvdec_ports

    videobuf2_v4l2 24576 2 amvdec_ports,v4l2_mem2mem

    videobuf2_core 45056 3 amvdec_ports,v4l2_mem2mem,videobuf2_v4l2

    amvdec_mpeg4 73728 0

    amvdec_mpeg12 131072 0

    amvdec_mmpeg4 49152 0

    amvdec_mmpeg12 53248 0

    amvdec_mmjpeg 32768 0

    amvdec_mjpeg 45056 0

    amvdec_mh264 184320 0

    amvdec_h265 176128 0

    amvdec_h264mvc 61440 0

    amvdec_h264 167936 0

    amvdec_mavs 61440 0

    amvdec_avs 81920 0

    amvdec_avs2 233472 0

    stream_input 208896 13 amvdec_h265,amvdec_mavs,amvdec_mh264,amvdec_h264mvc,amvdec_av1,amvdec_ports,amvdec_real,amvdec_vp9,amvdec_h264,amvdec_avs2,amvdec_mpeg12,amvdec_avs,amvdec_mmpeg12

    decoder_common 245760 19 amvdec_h265,amvdec_mavs,amvdec_mjpeg,amvdec_mh264,amvdec_mmpeg4,amvdec_h264mvc,amvdec_av1,amvdec_mmjpeg,amvdec_ports,amvdec_real,stream_input,amvdec_vp9,amvdec_h264,amvdec_avs2,amvdec_mpeg12,amvdec_avs,amvdec_vc1,amvdec_mmpeg12,amvdec_mpeg4

    firmware 28672 19 amvdec_h265,amvdec_mavs,amvdec_mjpeg,amvdec_mh264,amvdec_mmpeg4,amvdec_h264mvc,amvdec_av1,amvdec_mmjpeg,decoder_common,amvdec_real,stream_input,amvdec_vp9,amvdec_h264,amvdec_avs2,amvdec_mpeg12,amvdec_avs,amvdec_vc1,amvdec_mmpeg12,amvdec_mpeg4

    media_clock 40960 17 amvdec_h265,amvdec_mavs,amvdec_mh264,amvdec_mmpeg4,amvdec_av1,amvdec_mmjpeg,decoder_common,amvdec_ports,firmware,stream_input,amvdec_vp9,amvdec_h264,amvdec_avs2,amvdec_mpeg12,amvdec_avs,amvdec_vc1,amvdec_mpeg4

    video_framerate_adapter 16384 1 decoder_common

    amlvideodri 20480 0

    videobuf_res 16384 1 amlvideodri

    videobuf_core 28672 2 amlvideodri,videobuf_res

    videodev 270336 6 amlvideodri,v4l2_common,amvdec_ports,videobuf2_core,v4l2_mem2mem,videobuf2_v4l2

    media 36864 1 videodev

    fuse 114688 1

    fbcon 57344 0

    bitblit 16384 1 fbcon

    softcursor 16384 1 bitblit

    font 20480 1 fbcon

    Can anyone assist?

    Edited 2 times, last by andymarc (September 10, 2023 at 6:59 AM).