Realtek 8811CU?

f1ngers

Vu+ Newbie
I've done a search for 8811CU with no results.

The LAN port on my vusolo sev2 is blown and I have a 8811CU dongle here. If there are no drivers available for BH what would be the best dongle to purchase thanks?
 

angelofsky1980

BlackHole Driver Specialist
I'll check driver sources and report if someone is suitable for your device.....

Update: a linux driver exists..... should check if it's compile for our boxes.....
Ok driver found and first build tests in progres.....

Vu+Zero4K
Driver Init
Code:
[1041288.068363] RTW: module init start
[1041288.072001] RTW: rtl8821cu v5.8.1_34171.20190628_COEX20190509-4141
[1041288.078611] RTW: build time: Aug 31 2020 22:03:45
[1041288.083510] RTW: rtl8821cu BT-Coex version = COEX20190509-4141
[1041288.089677] usbcore: registered new interface driver rtl8821cu
[1041288.095907] RTW: module init ret=0

Driver details and options:
Code:
filename:       /lib/modules/4.1.20-1.9/kernel/drivers/net/wireless/8821cu.ko
version:        v5.8.1_34171.20190628_COEX20190509-4141
author:         Realtek Semiconductor Corp.
description:    Realtek Wireless Lan Driver
license:        GPL
srcversion:     9343B6C6A0D65E672E465E4
alias:          usb:v2001p331Dd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp8811d*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v0BDApC811d*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v0BDApC82Bd*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v0BDApC82Ad*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v0BDApC820d*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v0BDApC821d*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v0BDApB820d*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v0BDApB82Bd*dc*dsc*dp*icFFiscFFipFFin*
depends:
vermagic:       4.1.20-1.9 SMP mod_unload ARMv7 p2v8
parm:           rtw_wireless_mode:int
parm:           rtw_ips_mode:The default IPS mode (int)
parm:           rtw_lps_level:The default LPS level (int)
parm:           rtw_lps_chk_by_tp:int
parm:           rtw_max_bss_cnt: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_aclt_flags:device TX AC queue packet lifetime control flags (uint)
parm:           rtw_tx_aclt_conf_default:device TX AC queue lifetime config for default status (array of uint)
parm:           rtw_tx_aclt_conf_ap_m2u:device TX AC queue lifetime config for AP mode M2U status (array of uint)
parm:           rtw_tx_aclt_conf_mesh:device TX AC queue lifetime config for MESH status (array of 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_path:int
parm:           rtw_tx_nss:int
parm:           rtw_rx_nss: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_btcoex_enable:BT co-existence on/off, 0:off, 1:on, 2:by efuse (int)
parm:           rtw_ant_num:Antenna number setting, 0:by efuse (int)
parm:           rtw_pci_dynamic_aspm_linkctrl:int
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_sel_p2p_iface:int
parm:           rtw_wowlan_sta_mix_mode:int
parm:           rtw_pwrtrim_enable:int
parm:           rtw_initmac:charp
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_uapsd_max_sp:int
parm:           rtw_uapsd_ac_enable:int
parm:           rtw_wmm_smart_ps: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_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_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_tx_pwr_lmt_enable: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_tsf_update_pause_factor:num of bcn intervals to stay TSF update pause status (int)
parm:           rtw_tsf_update_restore_factor:num of bcn intervals to stay TSF update restore status (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_phydm_ability:uint
parm:           rtw_halrf_ability:uint
parm:           rtw_peer_alive_based_preq:On demand PREQ will reference peer alive status. 0: Off, 1: On (uint)
parm:           rtw_en_napi:int
parm:           rtw_en_gro:int
parm:           rtw_iqk_fw_offload:int
parm:           rtw_ch_switch_offload:int

Device 0xC811 is listed as supported :D

Build for Vu+SoloSEv2 in progress .... Probably I'll upload IPKs for tests tomorrow....
 

angelofsky1980

BlackHole Driver Specialist
Vu+SoloSEv2 Driver - RTL8821CU

Install these IPKs and reboot your box... report here if works ....
 

Attachments

  • kernel-module-8821cu_git-r0-bh0_vusolose.ipk
    1.3 MB · Views: 84
  • rtl8821cu_git-r0-bh0_vusolose.ipk
    782 bytes · Views: 75

f1ngers

Vu+ Newbie
You're a legend....thank you!

I'll test and report back today.

One question that you may know the answer to. I have a solov2se and the network port doesn't work. I tried a different usb adapter in another solov2se and it worked. I backed up the image and restored it onto the box where the network port doesn't work and that box won't see the adapter. Could the two problems be related?
 

angelofsky1980

BlackHole Driver Specialist
You're a legend....thank you!

I'll test and report back today.

One question that you may know the answer to. I have a solov2se and the network port doesn't work. I tried a different usb adapter in another solov2se and it worked. I backed up the image and restored it onto the box where the network port doesn't work and that box won't see the adapter. Could the two problems be related?
Probably are not related problems but I've no sufficient info to determine the nature of broker ethernet port.
 

zomo

Vu+ Newbie
SOLO2 - incompatible architecture :(

root@vusolo2:/tmp# opkg install kernel-module-8821cu_git-r0-bh0_vusolose.ipk
Not selecting kernel-module-8821cu git-r0 due to incompatible architecture.
Unknown package 'kernel-module-8821cu'.
Collected errors:
* opkg_install_cmd: Cannot install package kernel-module-8821cu.
root@vusolo2:/tmp#
 

angelofsky1980

BlackHole Driver Specialist
SOLO2 - incompatible architecture :(

root@vusolo2:/tmp# opkg install kernel-module-8821cu_git-r0-bh0_vusolose.ipk
Not selecting kernel-module-8821cu git-r0 due to incompatible architecture.
Unknown package 'kernel-module-8821cu'.
Collected errors:
* opkg_install_cmd: Cannot install package kernel-module-8821cu.
root@vusolo2:/tmp#

When first user report if driver works or not (I don't have a device who uses the driver) I can release it.
If I've some spare time this weekend I can TRY to compile it for Vu+Solo2 too.
 

angelofsky1980

BlackHole Driver Specialist
IPK for Vu+Solo2
 

Attachments

  • kernel-module-8821cu_git-r0-bh0_vusolo2.ipk
    1.3 MB · Views: 22
  • rtl8821cu_git-r0-bh0_vusolo2.ipk
    780 bytes · Views: 18

angelofsky1980

BlackHole Driver Specialist
Ok I've found an USB dongle who should use that driver.
I've ordered it.
Hope to receive in next days to check directly the driver.
 
Top