WiFi driver 8812au

Post Reply
tako
Posts: 5
Joined: Fri Nov 02, 2018 6:41 am
languages_spoken: english
ODROIDs: odroid c2
linux ubuntu 18.04
kernel 3.16.60-27
Contact:

WiFi driver 8812au

Unread post by tako » Fri Nov 02, 2018 9:24 am

Hi,

odroid-c2
ubuntu version : 18.04
kernel version : 3.16.60-27

I am struggling to install 8812au driver(WiFi module)
Has anybody installed 8812au driver on odroid c2 (kernel version 3.16.60-27)
Please give me some tips for installing and building(Or link).

I have some questions.

First, does odroid c2 support 8812au driver?
I try to install this driver.
https://www.tp-link.com/us/download/Arc ... tml#Driver
It says this driver can support Linux (kernel 2.6.18 ~ 3.19.3)


Second(If odroidc2 support 8812au driver), When I do 'make' to build 8812au driver, I don't know what platform I have to choose.
This is platform list on driver's Makefile.
###################### Platform Related #######################
CONFIG_PLATFORM_I386_PC = y
CONFIG_PLATFORM_ANDROID_X86 = n
CONFIG_PLATFORM_ANDROID_INTEL_X86 = n
CONFIG_PLATFORM_JB_X86 = n
CONFIG_PLATFORM_ARM_S3C2K4 = n
CONFIG_PLATFORM_ARM_PXA2XX = n
CONFIG_PLATFORM_ARM_S3C6K4 = n
CONFIG_PLATFORM_MIPS_RMI = n
CONFIG_PLATFORM_RTD2880B = n
CONFIG_PLATFORM_MIPS_AR9132 = n
CONFIG_PLATFORM_RTK_DMP = n
CONFIG_PLATFORM_MIPS_PLM = n
CONFIG_PLATFORM_MSTAR389 = n
CONFIG_PLATFORM_MT53XX = n
CONFIG_PLATFORM_ARM_MX51_241H = n
CONFIG_PLATFORM_FS_MX61 = n
CONFIG_PLATFORM_ACTIONS_ATJ227X = n
CONFIG_PLATFORM_TEGRA3_CARDHU = n
CONFIG_PLATFORM_TEGRA4_DALMORE = n
CONFIG_PLATFORM_ARM_TCC8900 = n
CONFIG_PLATFORM_ARM_TCC8920 = n
CONFIG_PLATFORM_ARM_TCC8920_JB42 = n
CONFIG_PLATFORM_ARM_RK2818 = n
CONFIG_PLATFORM_ARM_RK3066 = n
CONFIG_PLATFORM_ARM_RK3188 = n
CONFIG_PLATFORM_ARM_URBETTER = n
CONFIG_PLATFORM_ARM_TI_PANDA = n
CONFIG_PLATFORM_MIPS_JZ4760 = n
CONFIG_PLATFORM_DMP_PHILIPS = n
CONFIG_PLATFORM_MSTAR_TITANIA12 = n
CONFIG_PLATFORM_MSTAR = n
CONFIG_PLATFORM_SZEBOOK = n
CONFIG_PLATFORM_ARM_SUNxI = n
CONFIG_PLATFORM_ARM_SUN6I = n
CONFIG_PLATFORM_ARM_SUN7I = n
CONFIG_PLATFORM_ARM_SUN8I = n
CONFIG_PLATFORM_ACTIONS_ATM702X = n
CONFIG_PLATFORM_ACTIONS_ATV5201 = n
CONFIG_PLATFORM_ACTIONS_ATM705X = n
CONFIG_PLATFORM_ARM_RTD299X = n
CONFIG_PLATFORM_ARM_SPREADTRUM_6820 = n
CONFIG_PLATFORM_ARM_SPREADTRUM_8810 = n
CONFIG_PLATFORM_ARM_WMT = n
CONFIG_PLATFORM_TI_DM365 = n
CONFIG_PLATFORM_MOZART = n
CONFIG_PLATFORM_RTK119X = n
CONFIG_PLATFORM_NOVATEK_NT72668 = n

Thanks.

User avatar
odroid
Site Admin
Posts: 30028
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: WiFi driver 8812au

Unread post by odroid » Fri Nov 02, 2018 9:32 am

Our official WiFi Module 5 has the same RTL8812AU chipset and it works with C2 kernel 3.16 out of the box.
https://www.hardkernel.com/shop/wifi-module-5/

Can you compare the VID:PID?

tako
Posts: 5
Joined: Fri Nov 02, 2018 6:41 am
languages_spoken: english
ODROIDs: odroid c2
linux ubuntu 18.04
kernel 3.16.60-27
Contact:

Re: WiFi driver 8812au

Unread post by tako » Fri Nov 02, 2018 9:43 am

Hi odroid,

Thanks for your response.
Bus 001 Device 003: ID 2357:0122
This is what I want.
I used to use that WiFi module. But, I want to use the WiFi module that has antennas.

Thanks.

User avatar
odroid
Site Admin
Posts: 30028
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: WiFi driver 8812au

Unread post by odroid » Fri Nov 02, 2018 9:57 am

I think the ID doesn't exist in official kernel 3.16 branch.
Try this drive.
https://github.com/kimocoder/rtl8812au-1

User avatar
igorpec
Posts: 293
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Contact:

Re: WiFi driver 8812au

Unread post by igorpec » Fri Nov 02, 2018 4:56 pm

ARMBIAN - follow on Twitter
linux for ARM development boards with user friendly development tools

User avatar
meveric
Posts: 9771
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go
Contact:

Re: WiFi driver 8812au

Unread post by meveric » Fri Nov 02, 2018 5:21 pm

You should be able to use this driver (Version 5.2.20.2):
https://oph.mdrjr.net/meveric/pool/main ... 12au-dkms/

I compiled it this morning from (https://github.com/gordboy/rtl8812au) and as long as the headers of your Kernel are installed you should be able to use this.
Tested successfully on my C2 as well:

Code: Select all

root@odroid-stretch64:~# lsmod
Module                  Size  Used by
sr_mod                 17122  0
cdrom                  30657  1 sr_mod
sg                     30037  0
fuse                   90590  3
cifs                  375265  0
8812au               1623661  0
cfg80211              472103  1 8812au
spidev                  6643  0
w1_gpio                 3801  0
spi_gpio                6551  0
spi_bitbang             4055  1 spi_gpio
wire                   28745  1 w1_gpio
gxbb_wdt                3411  0
meson_gpiomem           4064  0
vhba                   10419  1
ip_tables              17301  0
ipv6                  386021  54
autofs4                27654  2
root@odroid-stretch64:~# modinfo 8812au
filename:       /lib/modules/3.16.60+/updates/dkms/8812au.ko
version:        v5.2.20.2_28373.20180619
author:         Realtek Semiconductor Corp.
description:    Realtek Wireless Lan Driver
license:        GPL
srcversion:     98D71EC573F1DA71B3A4E6D
alias:          usb:v7392pA822d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v7392pA812d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2604p0012d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2357p0122d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2357p010Fd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2357p010Ed*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2357p010Dd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2357p0103d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2357p0101d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v20F4p805Bd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2019pAB30d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2001p3316d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2001p3315d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2001p3313d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2001p330Ed*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v1740p0100d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v148Fp9097d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v13B1p003Fd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v1058p0632d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0E66p0022d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0DF6p0074d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp881Ad*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp8812d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0B05p17D2d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0846p9051d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v07B8p8812d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0789p016Ed*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0586p3426d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v050Dp1109d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v050Dp1106d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v04BBp0952d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0411p025Dd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0409p0408d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp881Cd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp881Bd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp881Ad*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp8812d*dc*dsc*dp*ic*isc*ip*in*
depends:        cfg80211
vermagic:       3.16.60+ SMP preempt mod_unload aarch64
parm:           rtw_ips_mode:The default IPS mode (int)
parm:           rtw_lps_level:The default LPS level (int)
parm:           rtw_usb_rxagg_mode:int
parm:           rtw_dynamic_agg_enable:int
parm:           rtw_drv_log_level:set log level when insert driver module, default log level is _DRV_INFO_ = 4 (uint)
parm:           rtw_tx_bw_mode:The max tx bw for 2.4G and 5G. format is the same as rtw_bw_mode (uint)
parm:           rtw_rx_ampdu_sz_limit_1ss:RX AMPDU size limit for 1SS link of each BW, 0xFF: no limitation (array of uint)
parm:           rtw_rx_ampdu_sz_limit_2ss:RX AMPDU size limit for 2SS link of each BW, 0xFF: no limitation (array of uint)
parm:           rtw_rx_ampdu_sz_limit_3ss:RX AMPDU size limit for 3SS link of each BW, 0xFF: no limitation (array of uint)
parm:           rtw_rx_ampdu_sz_limit_4ss:RX AMPDU size limit for 4SS link of each BW, 0xFF: no limitation (array of uint)
parm:           rtw_vht_enable:int
parm:           rtw_vht_rx_mcs_map:VHT RX MCS map (uint)
parm:           rtw_rf_config:int
parm:           rtw_country_code:The default country code (in alpha2) (charp)
parm:           rtw_channel_plan:The default chplan ID when rtw_alpha2 is not specified or valid (int)
parm:           rtw_excl_chs:exclusive channel array (array of uint)
parm:           rtw_qos_opt_enable:int
parm:           ifname:The default name to allocate for first interface (charp)
parm:           if2name:The default name to allocate for second interface (charp)
parm:           rtw_pwrtrim_enable:int
parm:           rtw_initmac:charp
parm:           rtw_special_rf_path:int
parm:           rtw_chip_version:int
parm:           rtw_rfintfs:int
parm:           rtw_lbkmode:int
parm:           rtw_network_mode:int
parm:           rtw_channel:int
parm:           rtw_mp_mode:int
parm:           rtw_wmm_enable:int
parm:           rtw_vrtl_carrier_sense:int
parm:           rtw_vcs_type:int
parm:           rtw_busy_thresh:int
parm:           rtw_ht_enable:int
parm:           rtw_bw_mode:int
parm:           rtw_ampdu_enable:int
parm:           rtw_rx_stbc:int
parm:           rtw_rx_ampdu_amsdu:int
parm:           rtw_tx_ampdu_amsdu:int
parm:           rtw_beamform_cap:int
parm:           rtw_lowrate_two_xmit:int
parm:           rtw_power_mgnt:int
parm:           rtw_smart_ps:int
parm:           rtw_low_power:int
parm:           rtw_wifi_spec:int
parm:           rtw_full_ch_in_p2p_handshake:int
parm:           rtw_antdiv_cfg:int
parm:           rtw_antdiv_type:int
parm:           rtw_drv_ant_band_switch:int
parm:           rtw_single_ant_path:int
parm:           rtw_switch_usb_mode:int
parm:           rtw_enusbss:int
parm:           rtw_hwpdn_mode:int
parm:           rtw_hwpwrp_detect:int
parm:           rtw_hw_wps_pbc:int
parm:           rtw_check_hw_status:int
parm:           rtw_max_roaming_times:The max roaming times to try (uint)
parm:           rtw_mc2u_disable:int
parm:           rtw_80211d:Enable 802.11d mechanism (int)
parm:           rtw_notch_filter:0:Disable, 1:Enable, 2:Enable only for P2P (uint)
parm:           rtw_hiq_filter:0:allow all, 1:allow special, 2:deny all (uint)
parm:           rtw_adaptivity_en:0:disable, 1:enable (uint)
parm:           rtw_adaptivity_mode:0:normal, 1:carrier sense (uint)
parm:           rtw_adaptivity_dml:0:disable, 1:enable (uint)
parm:           rtw_adaptivity_dc_backoff:DC backoff for Adaptivity (uint)
parm:           rtw_adaptivity_th_l2h_ini:th_l2h_ini for Adaptivity (int)
parm:           rtw_adaptivity_th_edcca_hl_diff:th_edcca_hl_diff for Adaptivity (int)
parm:           rtw_amplifier_type_2g:BIT3:2G ext-PA, BIT4:2G ext-LNA (uint)
parm:           rtw_amplifier_type_5g:BIT6:5G ext-PA, BIT7:5G ext-LNA (uint)
parm:           rtw_RFE_type:default init value:64 (uint)
parm:           rtw_powertracking_type:default init value:64 (uint)
parm:           rtw_GLNA_type:default init value:0 (uint)
parm:           rtw_TxBBSwing_2G:default init value:0xFF (uint)
parm:           rtw_TxBBSwing_5G:default init value:0xFF (uint)
parm:           rtw_OffEfuseMask:default open Efuse Mask value:0 (uint)
parm:           rtw_FileMaskEfuse:default drv Mask Efuse value:0 (uint)
parm:           rtw_rxgain_offset_2g:default RF Gain 2G Offset value:0 (uint)
parm:           rtw_rxgain_offset_5gl:default RF Gain 5GL Offset value:0 (uint)
parm:           rtw_rxgain_offset_5gh:uint
parm:           rtw_rxgain_offset_5gm:default RF Gain 5GM Offset value:0 (uint)
parm:           rtw_pll_ref_clk_sel:force pll_ref_clk_sel, 0xF:use autoload value (uint)
parm:           rtw_tx_pwr_by_rate:0:Disable, 1:Enable, 2: Depend on efuse (int)
parm:           rtw_target_tx_pwr_2g_a:2.4G target tx power (unit:dBm) of RF path A for each rate section, should match the real calibrate power, -1: undefined (array of int)
parm:           rtw_target_tx_pwr_2g_b:2.4G target tx power (unit:dBm) of RF path B for each rate section, should match the real calibrate power, -1: undefined (array of int)
parm:           rtw_target_tx_pwr_2g_c:2.4G target tx power (unit:dBm) of RF path C for each rate section, should match the real calibrate power, -1: undefined (array of int)
parm:           rtw_target_tx_pwr_2g_d:2.4G target tx power (unit:dBm) of RF path D for each rate section, should match the real calibrate power, -1: undefined (array of int)
parm:           rtw_target_tx_pwr_5g_a:5G target tx power (unit:dBm) of RF path A for each rate section, should match the real calibrate power, -1: undefined (array of int)
parm:           rtw_target_tx_pwr_5g_b:5G target tx power (unit:dBm) of RF path B for each rate section, should match the real calibrate power, -1: undefined (array of int)
parm:           rtw_target_tx_pwr_5g_c:5G target tx power (unit:dBm) of RF path C for each rate section, should match the real calibrate power, -1: undefined (array of int)
parm:           rtw_target_tx_pwr_5g_d:5G target tx power (unit:dBm) of RF path D for each rate section, should match the real calibrate power, -1: undefined (array of int)
parm:           rtw_phy_file_path:The path of phy parameter (charp)
parm:           rtw_load_phy_file:PHY File Bit Map (int)
parm:           rtw_decrypt_phy_file:Enable Decrypt PHY File (int)
parm:           rtw_en_napi:int
parm:           rtw_en_gro:int
parm:           rtw_iqk_fw_offload:int
parm:           rtw_led_enable:Enable status LED (int)
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

tako
Posts: 5
Joined: Fri Nov 02, 2018 6:41 am
languages_spoken: english
ODROIDs: odroid c2
linux ubuntu 18.04
kernel 3.16.60-27
Contact:

Re: WiFi driver 8812au

Unread post by tako » Fri Nov 09, 2018 5:18 am

Hi meveric,

Thank you for your response.
But, I met this problem.

odroid@odroid:~/Downloads/rtl8812au$ make
make ARCH=aarch64 CROSS_COMPILE= -C /lib/modules/3.16.60+/build M=/home/odroid/Downloads/rtl8812au modules
make[1]: Entering directory '/home/odroid/Downloads/linux'
Makefile:618: arch/aarch64/Makefile: No such file or directory
make[1]: *** No rule to make target 'arch/aarch64/Makefile'. Stop.
make[1]: Leaving directory '/home/odroid/Downloads/linux'
Makefile:1849: recipe for target 'modules' failed
make: *** [modules] Error 2

Did you change Makefile? Like platform?

User avatar
meveric
Posts: 9771
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go
Contact:

Re: WiFi driver 8812au

Unread post by meveric » Fri Nov 09, 2018 7:37 am

yes I have a small patch that I use.
By default it finds the ARCH as "aarch64" but there is no aarch64 architecture, it's called "arm64" so my patch replaces aarch64 with arm64 so not a big change.
But if you compile it manually anyway, you can simply put: ARCH=arm64 in front of your "make" and it should work as well.

Code: Select all

ARCH=arm64 make
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

Klucznik
Posts: 8
Joined: Sun Dec 23, 2018 8:53 pm
languages_spoken: english
ODROIDs: C-2
Contact:

Re: WiFi driver 8812au

Unread post by Klucznik » Sun Dec 23, 2018 9:20 pm

Need help to set up the driver up on my Ubuntu 18.04. Went through all steps by meveric and it does not work for me. Here is what I did. I installed rtl8812au-dkms/rtl8812au-dkms_5.2.20.2_all.deb using GDebi Packagage installer. First off it told me that Linux headers 4.15 are required and pointed to Ubuntu website which does not exist (404 error). So I downloaded and installed headers manually. Maybe I muddled up a bit because I now have the following folders in my /usr/src/

linux 3.16.61-34
linux-headers 4.15.0-42
linux-headers 4.15.0-43
linux-headers 4.15.0-43-generic

Anyway, after that GDebi seemed to have installed the driver. I now have the following folder in /usr/src

rtl8812au-5.2.20.2

Now strange thing happens. When I do lsmod it does not display the driver module, but when I issue modprobe au8812 the following appears

8812au 1632741 0
cfg80211 480086 1 8812au

When I plug in my WiFi dongle it is not detected by network manager. When I reboot and do lsmod no driver in the list again until I do modprobe. Still dongle not detected by system :evil: Any ideas what I am doing wrong? It's driving me nuts!

User avatar
meveric
Posts: 9771
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go
Contact:

Re: WiFi driver 8812au

Unread post by meveric » Sun Dec 23, 2018 10:15 pm

Klucznik wrote:
Sun Dec 23, 2018 9:20 pm
installer. First off it told me that Linux headers 4.15 are required and pointed to Ubuntu website which does not exist (404 error). So I downloaded and installed headers manually. Maybe I muddled up a bit because I now have the following folders in my /usr/src/

linux 3.16.61-34
linux-headers 4.15.0-42
linux-headers 4.15.0-43
linux-headers 4.15.0-43-generic
the linux-headers-4.15.X are not compatible with ODROIDs, you're not using Kernel 4.15 so the headers 4.15 won't help you.
I don't know if the linux 3.16.61-34 folder does help you as they come from hardkernel.. I don't know if they are linked correctly under /lib/modules.
But that would be the ones that you should use.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

Klucznik
Posts: 8
Joined: Sun Dec 23, 2018 8:53 pm
languages_spoken: english
ODROIDs: C-2
Contact:

Re: WiFi driver 8812au

Unread post by Klucznik » Mon Dec 24, 2018 3:21 am

Hello meveric, so should I uninstall linux 4.15 headers? Is it actually possible to do that, or system re-install? :shock: Which linux headers do you on your C2 so the WiFi adapter is "seen" by Network Manager.
Appreciate help on this.

User avatar
meveric
Posts: 9771
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go
Contact:

Re: WiFi driver 8812au

Unread post by meveric » Mon Dec 24, 2018 6:34 am

Klucznik wrote:
Mon Dec 24, 2018 3:21 am
Hello meveric, so should I uninstall linux 4.15 headers? Is it actually possible to do that, or system re-install? :shock:
uninstalling headers should be rather easy, and the headers are not required for the system to work, so you can safely uninstall them.
Klucznik wrote:
Mon Dec 24, 2018 3:21 am
Which linux headers do you on your C2 so the WiFi adapter is "seen" by Network Manager.
Appreciate help on this.
I use my own images (Debian Stretch) not Ubuntu from HardKernel, and my images have working header packages that are installed by default.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

User avatar
odroid
Site Admin
Posts: 30028
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: WiFi driver 8812au

Unread post by odroid » Mon Dec 24, 2018 10:55 am

I've tried to build the same driver and there was no issue on our Ubuntu 18.04 image.

Code: Select all

git clone https://github.com/gordboy/rtl8812au
cd rtl8812au/
make
sudo make install

Klucznik
Posts: 8
Joined: Sun Dec 23, 2018 8:53 pm
languages_spoken: english
ODROIDs: C-2
Contact:

Re: WiFi driver 8812au

Unread post by Klucznik » Wed Dec 26, 2018 5:03 pm

I followed odroid instructions and here is log file of the make process. Outcome is same as before, 8812au module is not displayed after lsmod command until I do modprobe 8812au. Below output of CLI when I do sudo make install.

root@odroid:~/rtl8812au# sudo make install
sudo: unable to resolve host odroid: No such device or address
install -p -m 644 8812au.ko /lib/modules/3.16.61-34/kernel/drivers/net/wireless/
/sbin/depmod -a 3.16.61-34
root@odroid:~/rtl8812au#

I get an error no such device or address, maybe that is the problem?

root@odroid:~# lsmod
Module Size Used by
fuse 91138 3
squashfs 32435 0
joydev 11035 0
w1_gpio 3801 0
wire 28614 1 w1_gpio
gxbb_wdt 3395 0
meson_gpiomem 4040 0
sch_fq_codel 7827 2
ip_tables 17220 0
ipv6 387473 28
autofs4 27592 2
root@odroid:~#

Code: Select all

DKMS make.log for rtl8812au-5.2.20.2 for kernel 3.16.61-34 (aarch64)
Sun Dec 23 11:51:22 CET 2018
make ARCH=arm64 CROSS_COMPILE= -C /lib/modules/3.16.61-34/build M=/var/lib/dkms/rtl8812au/5.2.20.2/build  modules
make[1]: Entering directory '/usr/src/linux-3.16.61-34'
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_cmd.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_security.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_debug.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_io.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_ioctl_query.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_ioctl_set.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_ieee80211.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_mlme.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_mlme_ext.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_mi.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_wlan_util.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_vht.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_pwrctrl.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_rf.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_recv.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_sta_mgt.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_ap.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_xmit.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_p2p.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_rson.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_tdls.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_br_ext.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_iol.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_sreset.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_btcoex_wifionly.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_btcoex.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_beamforming.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_odm.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/core/efuse/rtw_efuse.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/os_dep/osdep_service.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/os_dep/linux/os_intfs.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/os_dep/linux/usb_intf.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/os_dep/linux/usb_ops_linux.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/os_dep/linux/ioctl_linux.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/os_dep/linux/xmit_linux.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/os_dep/linux/mlme_linux.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/os_dep/linux/recv_linux.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/os_dep/linux/ioctl_cfg80211.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/os_dep/linux/rtw_cfgvendor.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/os_dep/linux/wifi_regd.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/os_dep/linux/rtw_android.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/os_dep/linux/rtw_proc.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/os_dep/linux/ioctl_mp.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/hal_intf.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/hal_com.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/hal_com_phycfg.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/hal_phy.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/hal_dm.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/hal_dm_acs.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/hal_btcoex_wifionly.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/hal_btcoex.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/hal_mp.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/hal_mcc.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/hal_hci/hal_usb.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/led/hal_usb_led.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/HalPwrSeqCmd.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/rtl8812a/Hal8812PwrSeq.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/rtl8812a/Hal8821APwrSeq.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/rtl8812a/rtl8812a_xmit.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/rtl8812a/rtl8812a_sreset.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/rtl8812a/rtl8812a_hal_init.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/rtl8812a/rtl8812a_phycfg.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/rtl8812a/rtl8812a_rf6052.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/rtl8812a/rtl8812a_dm.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/rtl8812a/rtl8812a_rxdesc.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/rtl8812a/rtl8812a_cmd.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/rtl8812a/usb/usb_halinit.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/rtl8812a/usb/rtl8812au_led.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/rtl8812a/usb/rtl8812au_xmit.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/rtl8812a/usb/rtl8812au_recv.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/rtl8812a/usb/usb_ops_linux.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/efuse/rtl8812a/HalEfuseMask8812A_USB.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/rtl8812a/hal8812a_fw.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/phydm/phydm_debug.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/phydm/phydm_antdiv.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/phydm/phydm_soml.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/phydm/phydm_smt_ant.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/phydm/phydm_antdect.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/phydm/phydm_interface.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/phydm/phydm_phystatus.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/phydm/phydm_hwconfig.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/phydm/phydm.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/phydm/phydm_dig.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/phydm/phydm_pathdiv.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/phydm/phydm_rainfo.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/phydm/phydm_dynamictxpower.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/phydm/phydm_adaptivity.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/phydm/phydm_cfotracking.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/phydm/phydm_noisemonitor.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/phydm/phydm_acs.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/phydm/phydm_beamforming.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/phydm/phydm_dfs.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/phydm/txbf/halcomtxbf.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/phydm/txbf/haltxbfinterface.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/phydm/txbf/phydm_hal_txbf_api.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/phydm/phydm_adc_sampling.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/phydm/phydm_ccx.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/phydm/phydm_psd.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/phydm/phydm_primary_cca.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/phydm/phydm_cck_pd.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/phydm/phydm_rssi_monitor.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/phydm/phydm_auto_dbg.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/phydm/phydm_math_lib.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/phydm/phydm_api.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/phydm/phydm_pow_train.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/phydm/halrf/halrf.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/phydm/halrf/halphyrf_ce.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/phydm/halrf/halrf_powertracking_ce.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/phydm/halrf/halrf_powertracking.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/phydm/halrf/halrf_kfree.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/phydm/rtl8812a/halhwimg8812a_mac.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/phydm/rtl8812a/halhwimg8812a_bb.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/phydm/rtl8812a/halhwimg8812a_rf.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/phydm/halrf/rtl8812a/halrf_8812a_ce.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/phydm/rtl8812a/phydm_regconfig8812a.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/phydm/rtl8812a/phydm_rtl8812a.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/phydm/txbf/haltxbfjaguar.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/btc/halbtc8723bwifionly.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/btc/halbtc8822bwifionly.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/hal/btc/halbtc8821cwifionly.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/platform/platform_ops.o
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_mp.o
  LD [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/8812au.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /var/lib/dkms/rtl8812au/5.2.20.2/build/8812au.mod.o
  LD [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/8812au.ko
make[1]: Leaving directory '/usr/src/linux-3.16.61-34'

User avatar
odroid
Site Admin
Posts: 30028
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: WiFi driver 8812au

Unread post by odroid » Wed Dec 26, 2018 5:34 pm

I tested the process on the Mate image.
If you used "root" account, you didn't need "sudo".

If I ran "modprobe 8812au", I could see

Code: Select all

odroid@odroid:~/rtl8812au$ lsmod
Module                  Size  Used by
8812au               1060590  0
cfg80211              480086  1 8812au
fuse                   91138  3
squashfs               32435  0
w1_gpio                 3801  0
wire                   28614  1 w1_gpio
meson_gpiomem           4040  0
gxbb_wdt                3395  0
sch_fq_codel            7827  2
ip_tables              17220  0
ipv6                  387473  24
autofs4                27592  2

Klucznik
Posts: 8
Joined: Sun Dec 23, 2018 8:53 pm
languages_spoken: english
ODROIDs: C-2
Contact:

Re: WiFi driver 8812au

Unread post by Klucznik » Thu Dec 27, 2018 7:11 pm

Hi odroid, as I wrote before I am also able to see 8812au module when I do modprobe 8812au. Trouble is wifi adaper is not detected when I plug it into USB port ie. I do not see a WiFi Connection1 when I click on network icon in ubuntu desktop. This is what is supposed to happen if all goes well, right?

Another thing I noticed. When I edit Kconfig file I have

Code: Select all

config RTL8821AU
	tristate "Realtek 8821 USB WiFi"
	depends on USB
	---help---
	  Help message of RTL8821AU
It's 8821, not 8812. Don't know if it makes any difference...

Also when I do insmod 8812au.ko (as per instructions in Realtek generic Linux driver which I have on CD) I get this error

Code: Select all

root@odroid:~/rtl8812au# insmod 8812au.ko
insmod: ERROR: could not insert module 8812au.ko: Unknown symbol in module
root@odroid:~/rtl8812au#
It says in instructions insmod is for WiFi driver compiled as kernel module. Not sure if it's necessary here though.

User avatar
odroid
Site Admin
Posts: 30028
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: WiFi driver 8812au

Unread post by odroid » Fri Dec 28, 2018 9:57 am

I tested two different 11AC dongles RTL8812AU(WiFi Module 5) and RTL8811AU(WiFi Module 5A).

Code: Select all

odroid@odroid:~$ lsusb
Bus 001 Device 005: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 008: ID 0bda:8812 Realtek Semiconductor Corp. RTL8812AU 802.11a/b/g/n/ac WLAN Adapter
Bus 001 Device 007: ID 0bda:a811 Realtek Semiconductor Corp.
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Both of them are working fine with the driver.

Code: Select all

odroid@odroid:~$ iwconfig 
lo        no wireless extensions.

wlan1     IEEE 802.11AC  ESSID:"Charles_5G"  Nickname:"<WIFI@REALTEK>"
          Mode:Managed  Frequency:5.785 GHz  Access Point: 88:36:6C:33:8A:C6   
          Bit Rate:434 Mb/s   Sensitivity:0/0  
          Retry:off   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=100/100  Signal level=-46 dBm  Noise level=0 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

wlan0     IEEE 802.11AC  ESSID:"Hardkernel Lab 5G"  Nickname:"<WIFI@REALTEK>"
          Mode:Managed  Frequency:5.18 GHz  Access Point: 90:9F:33:BA:37:00   
          Bit Rate:434 Mb/s   Sensitivity:0/0  
          Retry:off   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=100/100  Signal level=-47 dBm  Noise level=0 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

eth0      no wireless extensions. 
I think your RTL8821 chipset seems to need other driver source code something like this.
https://github.com/whitebatman2/rtl8821CU

Klucznik
Posts: 8
Joined: Sun Dec 23, 2018 8:53 pm
languages_spoken: english
ODROIDs: C-2
Contact:

Re: WiFi driver 8812au

Unread post by Klucznik » Sat Dec 29, 2018 1:37 am

odroid wrote:
Fri Dec 28, 2018 9:57 am
I think your RTL8821 chipset seems to need other driver source code something like this.
https://github.com/whitebatman2/rtl8821CU
So I was trying to install a wrong driver for my adapter :oops: Before I attempt to install 8821CU, which BTW is for RPi (at least in Whitebatman2 repo) at least my WiFi dongle is detected in USB port

Code: Select all

root@odroid:~# lsusb
Bus 001 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 004: ID 0bda:b812 Realtek Semiconductor Corp.
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
but no wireless connection :(

Code: Select all

root@odroid:~# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

root@odroid:~#
I attach Realtek release notes for the driver included with my dongle. No mention of RTL8821CU, but apart from RTL8812BU there is RTL8822BU in "Hardware Supported" section. Maybe this is the one I need?
Attachments
ReleaseNotes.pdf
(70.7 KiB) Downloaded 10 times

User avatar
meveric
Posts: 9771
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go
Contact:

Re: WiFi driver 8812au

Unread post by meveric » Sat Dec 29, 2018 6:34 am

you should check output of dmesg to see if something is missing like firmware or something.
Also depending on the WLAN driver you might have to increase the coherent_pool in the boot.ini to make sure the drivers can be loaded.
I had this with alternative drivers for the WiFi Module 4 from HardKernel, I had to set coherent_pool=2M via boot.ini or else the driver could not be loaded.

besides if you check on your device: "0bda:b812" you should find it's actually a rtl8821BU not CU device, so you might have to use different drivers.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

Klucznik
Posts: 8
Joined: Sun Dec 23, 2018 8:53 pm
languages_spoken: english
ODROIDs: C-2
Contact:

Re: WiFi driver 8812au

Unread post by Klucznik » Sat Dec 29, 2018 6:09 pm

I ran dmesg and I do not see any issues with firmware. After your input I am pretty sure I installed the wrong driver for this chipset
meveric wrote:
Sat Dec 29, 2018 6:34 am
besides if you check on your device: "0bda:b812" you should find it's actually a rtl8821BU not CU device, so you might have to use different drivers.
Realtek release notes say RTL8812BU or 8822BU, not 8821BU. Are you sure it's supposed to be 8821BU?

Anyway this is the closest I found https://github.com/cilynx/rtl88x2BU_WiF ... 80427-5959

Do you think there is a chance this version will work with Odroid C2? There is CONFIG_PLATFORM_AML_S905 in the make file, not sure it will work with 3.16 I have.

User avatar
meveric
Posts: 9771
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go
Contact:

Re: WiFi driver 8812au

Unread post by meveric » Sat Dec 29, 2018 8:59 pm

Klucznik wrote:
Sat Dec 29, 2018 6:09 pm
Realtek release notes say RTL8812BU or 8822BU, not 8821BU. Are you sure it's supposed to be 8821BU?
You're correct it's RTL8812BU, I wasn't paying attention to the exact numbers:
https://wikidevi.com/wiki/Realtek_RTL8812BU_USB_Module
Klucznik wrote:
Sat Dec 29, 2018 6:09 pm
Anyway this is the closest I found https://github.com/cilynx/rtl88x2BU_WiF ... 80427-5959

Do you think there is a chance this version will work with Odroid C2? There is CONFIG_PLATFORM_AML_S905 in the make file, not sure it will work with 3.16 I have.
There's never a CONFIG_PLATFORM_AML_S905 I haven't had a single DKMS driver that had this platform, still they all work.
The driver you mentioned already has the patches I normally use for arm64 support, so it should work out of the box if compiled on the ODROID C2.
Actually I just tried it on my N1 and C2 and it was working perfectly fine.
I've created a new DKMS package out of it for my repository and uploaded it. viewtopic.php?p=242234#p242234
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

Klucznik
Posts: 8
Joined: Sun Dec 23, 2018 8:53 pm
languages_spoken: english
ODROIDs: C-2
Contact:

Re: WiFi driver 8812au

Unread post by Klucznik » Tue Jan 01, 2019 1:03 am

Hi meveric, unfortunately did not work for me with dkms install. I had to unplug my C2 'cos it stopped responding. It hang forever on "installing into 3.16.61-34". But I finally got it going after installing manually from cylix repo :D
Not entirely happy with connection speeds though, but that's another story, maybe there is a thread on that somewhere on this forum...

Anyway thanks for the help and wishing all a HAPPY NEW YEAR :P :P :P

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: No registered users and 1 guest