(11-27-2018, 08:36 AM)Nether494 Wrote: My wifi dongle -> https://www.aliexpress.com/item/Rocketek...15976.htmlOk. Let's try again.
This is a RTL8811AU
Code:Bus 002 Device 002: ID 0bda:a811 Realtek Semiconductor Corp.
- Realtek drivers are chaotic. Only few people has time to make it working.
- Do not use https://github.com/sloretz/rtl8811au -> not for 4.x kernel (for example STATION_INFO_SIGNAL is missing in kernel sources...)
- Let's try with https://github.com/zebulon2/rtl8812au/tree/v5.1.5
Code:$ sudo bash
# git clone --depth 1 https://github.com/zebulon2/rtl8812au.git
# cd rtl8812au
# ### pre-check (0bda:a811)
# grep A811 ./os_dep/linux/usb_intf.c
{USB_DEVICE(USB_VENDER_ID_REALTEK, 0xA811) , .driver_info = RTL8821},/* Default ID */
{USB_DEVICE(0x7392, 0xA811), .driver_info = RTL8821}, /* Edimax - Edimax */
{USB_DEVICE(0x0BDA, 0xA811),.driver_info = RTL8821}, /* Comfast - CF-915AC */
# ### section "#ifdef CONFIG_RTL8821A" so check enabled RTL8821A
# grep "CONFIG_RTL8821A = y" Makefile
CONFIG_RTL8821A = y
# ### Makefile is set for "CONFIG_PLATFORM_I386_PC = y", it is probably ok for generic linux
# ### compile for Rock64, last stable 64bit ayufan image
# uname -a
Linux rock64 4.4.132-1075-rockchip-ayufan-ga83beded8524 #1 SMP Thu Jul 26 08:22:22 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux
# make -j4 ARCH=arm64 USER_EXTRA_CFLAGS="-Wno-switch-unreachable"
...
# make install
...
# ### check module load (I do not have your HW)
# modprobe 8812au
# modinfo 8812au
filename: /lib/modules/4.4.132-1075-rockchip-ayufan-ga83beded8524/kernel/drivers/net/wireless/8812au.ko
version: v5.1.5_19247.20160830
author: Realtek Semiconductor Corp.
description: Realtek Wireless Lan Driver
license: GPL
srcversion: E7ABE344F6E3D275044CA78
alias: usb:v0BDApA811d*dc*dsc*dp*ic*isc*ip*in*
...
depends:
vermagic: 4.4.132-1075-rockchip-ayufan-ga83beded8524 SMP mod_unload aarch64
parm: rtw_ips_mode:The default IPS mode (int)
...
# modinfo 8812au | grep v0BDApA811
alias: usb:v0BDApA811d*dc*dsc*dp*ic*isc*ip*in*
# ### so, supported by kernel module
Buy me a Beer.
I left this community in Aug 2019 due to PINE64 refusal to produce/deliver ROCK64-1G version 3 after more than one year of changing statuses to "planning", "evaluating", "releasing", "availability", "estimated availability" and finally "no schedule" . ROCK64 is dead platform without any advantage. Buy Raspberry PI 4 !