Edup dongle and rtl8812au issues

My wireless USB dongle is unable to connect to any Access Points: https://deviwiki.com/wiki/EDUP_EP-AC1607 The connection simply hangs indefinitely or repeatedly requests a password (dmesg below). It works perfectly on Windows and through searching, it seems the drivers for this device work perfectly for everyone else using linux. Is anyone able to help troubleshoot this issue?

I’m using the driver rtl8812AU_8821AU-kmp-default-20200719_k5.10.16_1-14.8 from the Sauerland repository but have also tried openSUSE’s other drivers rtl8812au-5.9.3.2+git20201214.b95e750-1.4 and rtl8812au-kmp-default-5.9.3.2+git20201214.b95e750_k5.10.16_1-1.4 with no difference in results.

When attempting to connect to a router:

# dmesg
[183310.666978] usb 1-2: new high-speed USB device number 10 using xhci_hcd
[183310.815472] usb 1-2: New USB device found, idVendor=0bda, idProduct=0811, bcdDevice= 2.00
[183310.815476] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[183310.815478] usb 1-2: Product: 802.11ac WLAN Adapter 
[183310.815479] usb 1-2: Manufacturer: Realtek 
[183310.815480] usb 1-2: SerialNumber: 00e04c000001
[183310.865296] RTL871X: rtw_ndev_init(wlan0)
[183311.439762] rtl8812au 1-2:1.0 wlp0s20u2: renamed from wlan0
[183318.857717] RTL871X: rtw_set_802_11_connect(wlp0s20u2)  fw_state=0x00000008
[183319.154971] RTL871X: start auth
[183319.488204] RTL871X: sta recv disassoc reason code(8) sta:10:56:11:63:dd:45
[183320.241293] RTL871X: rtw_set_802_11_connect(wlp0s20u2)  fw_state=0x00000008
[183323.455821] RTL871X: start auth
[183323.777871] RTL871X: sta recv disassoc reason code(8) sta:10:56:11:63:dd:45
[183325.525818] RTL871X: rtw_set_802_11_connect(wlp0s20u2)  fw_state=0x00000008
[183328.780711] RTL871X: start auth
[183329.085913] RTL871X: sta recv disassoc reason code(8) sta:10:56:11:63:dd:45
[183340.117557] RTL871X: rtw_set_802_11_connect(wlp0s20u2)  fw_state=0x00000008
[183343.321558] RTL871X: start auth
[183343.645639] RTL871X: sta recv disassoc reason code(8) sta:10:56:11:63:dd:45
[183343.981983] RTL871X: rtw_set_802_11_connect(wlp0s20u2)  fw_state=0x00000008

[this repeats indefinitely]

Using a my mobile phone’s wifi hotspot, I’m repeatedly asked for a password until after a several tries KDE informs me that the interface is disconnected due to “No secrets provided” I made the password very simple for testing purposes and am also able to connect to the same hotspot using my laptop’s internal wifi interface:

# dmesg
[184150.865008] RTL871X: rtw_set_802_11_connect(wlp0s20u2)  fw_state=0x00000008
[184150.901976] RTL871X: start auth
[184166.720846] RTL871X: rtw_set_802_11_connect(wlp0s20u2)  fw_state=0x00000008
[184166.774817] RTL871X: start auth
[184181.942001] RTL871X: rtw_set_802_11_connect(wlp0s20u2)  fw_state=0x00000008
[184182.031320] RTL871X: start auth
[184214.844578] RTL871X: rtw_set_802_11_connect(wlp0s20u2)  fw_state=0x00000008
[184214.901994] RTL871X: start auth
[184230.049049] RTL871X: rtw_set_802_11_connect(wlp0s20u2)  fw_state=0x00000008
[184230.263377] RTL871X: start auth

System information:

# uname -a                                                                                                                                                                                                 Linux Box 5.10.16-1-default #1 SMP Sat Feb 13 16:20:19 UTC 2021 (11381f3) x86_64 x86_64 x86_64 GNU/Linux
# lsmod | grep rtl8812                                                                                                                                                                                     
rtl8812au            1445888  0
cfg80211              962560  5 rtl8812au,8814au,iwlmvm,iwlwifi,mac80211
usbcore               323584  12 rtl8812au,8814au,xhci_hcd,ehci_pci,usbhid,cdc_acm,usb_storage,uvcvideo,ehci_hcd,btusb,xhci_pci,uas
# /usr/bisn/lsusb:
Bus 003 Device 002: ID 8087:8001 Intel Corp. Integrated Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 007: ID 04f2:b449 Chicony Electronics Co., Ltd Integrated Camera
Bus 001 Device 005: ID 8087:0a2a Intel Corp. Bluetooth wireless interface
Bus 001 Device 010: ID 0bda:0811 Realtek Semiconductor Corp. Realtek 8812AU/8821AU 802.11ac WLAN Adapter [USB Wireless Dual-Band Adapter 2.4/5Ghz]
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Update: I was mistaken regarding the default openSUSE drivers rtl8812au-5.9.3.2+git20201214.b95e750-1.4 and rtl8812au-kmp-default-5.9.3.2+git20201214.b95e750_k5.10.16_1-1.4. They actually do not load by default and are recognised as “8812au” by lsmod after forcefully loading with

insmod /lib/modules/5.10.16-1-default/updates/8812au.ko
# dmesg
  152.141115] usbcore: registered new interface driver rtl8812au 
  170.258463] usb 2-2: new high-speed USB device number 7 using xhci_hcd 
  170.407095] usb 2-2: New USB device found, idVendor=0bda, idProduct=0811, bcdDevice= 2.00 
  170.407105] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 
  170.407110] usb 2-2: Product: 802.11ac WLAN Adapter  
  170.407113] usb 2-2: Manufacturer: Realtek  
  170.407117] usb 2-2: SerialNumber: 00e04c000001

This is confusing since the default openSUSE and Sauerland drivers use the same upstream but only Sauerland’s driver registers my wireless device after insertion. Again, any advice for troubleshooting would be most welcomed. I don’t need a USB wireless device for my laptop, but I do need for this device to function on my desktop.

Do you only set WPA and not WPA/WEP in your Routers configuration?

Yes, it is WPA only.

I can not reproduce this because of missing hardware.

There are many reports with this bug, but no solution.

https://www.szedup.com/support/driver-download/ep-db1607-driver/
8811AU or 8811CU chip, not 8812AU. Check which you have.
Possibly you need Realtek RTL8811CU/RTL8821CU USB Wi-Fi adapter driver for Linux.
Or try to compile driver from manufacturer.

The src I use has it inside:

#ifdef CONFIG_RTL8821A
/=== Realtek demoboard ===/
{USB_DEVICE(USB_VENDER_ID_REALTEK, 0x0811),.driver_info = RTL8821},/ Default ID /
{USB_DEVICE(USB_VENDER_ID_REALTEK, 0x0821),.driver_info = RTL8821},/* Default ID /
{USB_DEVICE(USB_VENDER_ID_REALTEK, 0x8822),.driver_info = RTL8821},/
Default ID /
{USB_DEVICE_AND_INTERFACE_INFO(USB_VENDER_ID_REALTEK, 0x0820,0xff,0xff,0xff),.driver_info = RTL8821}, /
8821AU /
{USB_DEVICE_AND_INTERFACE_INFO(USB_VENDER_ID_REALTEK, 0x0823,0xff,0xff,0xff),.driver_info = RTL8821}, /
8821AU */

Bus 001 Device 010: ID 0bda:0811 Realtek Semiconductor Corp. Realtek 8812AU/8821AU 802.11ac WLAN Adapter [USB Wireless Dual-Band Adapter 2.4/5Ghz]

According to your RPM, your source is GitHub - gordboy/rtl8812au-5.9.3.2: Realtek 8812AU driver version 5.9.3.2 Has that changed? I applied a kernel 5.10 patch to GitHub - gordboy/rtl8812au-5.6.4.2: Realtek 8812AU driver version 5.6.4.2, but oddly that version of the driver didn’t recognise my device.

It’s very confusing that the various Realtek 88XX drivers on GitHub support many chipsets, but rarely specify exactly which are not supported. My chipset is indeed RTL8811AU and most RTL8812AU/21AU drivers should support it.

UPDATE: I’ve had partial success compiling GitHub - aircrack-ng/rtl8812au: RTL8812AU/21AU and RTL8814AU driver with monitor mode and frame injection (v5.6.4.2) and installing the driver via DKMS. The device only works with 2.4GHz and isn’t dual-band. There are many, many forks so hopefully I’ll eventually find a project which will also allow me to use 5GHz with my device.

I’m new to openSUSE, so what would be the best way of suggesting the project switch to the aircrack-ng drivers for upstream? A four year old Realtek wireless device that’s still in production and being sold should work out of the box without the need to learn about Driver Update Disks.

Sorry, I somehow missed the comment. It would seem the only viable solution for me is to create a GitHub account and create an issue with GitHub - gordboy/rtl8812au-5.9.3.2: Realtek 8812AU driver version 5.9.3.2

According to your RPM, your source is GitHub - gordboy/rtl8812au-5.9.3.2: Realtek 8812AU driver version 5.9.3.2 Has that changed?

No:

Realtek 8812AU 8821AU Wireless LAN Drivers

GitHub - abperiasamy/rtl8812AU_8821AU_linux: rtl8812AU_8821AU linux kernel driver for AC1200 (801.11ac) Wireless Dual-Band USB Adapter

This package contains the rtl8812AU_8821AU linux kernel driver for AC1200 (801.11ac) Wireless Dual-Band USB Adapters.

The module will be called “rtl8812au.ko”.

See:

I applied a kernel 5.10 patch to GitHub - gordboy/rtl8812au-5.6.4.2: Realtek 8812AU driver version 5.6.4.2, but oddly that version of the driver didn’t recognise my device.

That is outdated:

README.md
rtl8812au
Realtek 8812AU driver version 5.6.4.2 ** NOW OBSOLETE **

Please use 5.9.3.2 version at GitHub - gordboy/rtl8812au-5.9.3.2: Realtek 8812AU driver version 5.9.3.2

Sorry, I somehow missed the comment. It would seem the only viable solution for me is to create a GitHub account and create an issue with GitHub - gordboy/rtl8812au-5.9.3.2: Realtek 8812AU driver version 5.9.3.2

Thats only the rtl8812au driver, your ID is not inside:

modinfo 8812au
filename: /lib/modules/5.10.15-1.g24c2efe-default/kernel/drivers/net/wireless/8812au.ko
version: v5.9.3.2_37279.20201012
author: Realtek Semiconductor Corp.
description: Realtek Wireless Lan Driver
license: GPL
suserelease: openSUSE Tumbleweed
srcversion: 79E9CDC9DC638D77784DDCF
alias: usb:v7392pA822ddcdscdpiciscipin
alias: usb:v7392pA812ddcdscdpiciscipin
alias: usb:v2604p0012ddcdscdpiciscipin
alias: usb:v2357p0122ddcdscdpiciscipin
alias: usb:v2357p010Fddcdscdpiciscipin
alias: usb:v2357p010Eddcdscdpiciscipin
alias: usb:v2357p010Dddcdscdpiciscipin
alias: usb:v2357p0103ddcdscdpiciscipin
alias: usb:v2357p0101ddcdscdpiciscipin
alias: usb:v20F4p805Bddcdscdpiciscipin
alias: usb:v2019pAB30ddcdscdpiciscipin
alias: usb:v2001p3316ddcdscdpiciscipin
alias: usb:v2001p3315ddcdscdpiciscipin
alias: usb:v2001p3313ddcdscdpiciscipin
alias: usb:v2001p330Eddcdscdpiciscipin
alias: usb:v1740p0100ddcdscdpiciscipin
alias: usb:v148Fp9097ddcdscdpiciscipin
alias: usb:v13B1p003Fddcdscdpiciscipin
alias: usb:v1058p0632ddcdscdpiciscipin
alias: usb:v0E66p0022ddcdscdpiciscipin
alias: usb:v0DF6p0074ddcdscdpiciscipin
alias: usb:v0BDAp881Addcdscdpiciscipin
alias: usb:v0BDAp8812ddcdscdpiciscipin

alias: usb:v0B05p17D2ddcdscdpiciscipin
alias: usb:v0846p9051ddcdscdpiciscipin
alias: usb:v07B8p8812ddcdscdpiciscipin
alias: usb:v0789p016Eddcdscdpiciscipin
alias: usb:v0586p3426ddcdscdpiciscipin
alias: usb:v050Dp1109ddcdscdpiciscipin
alias: usb:v050Dp1106ddcdscdpiciscipin
alias: usb:v04BBp0952ddcdscdpiciscipin
alias: usb:v0411p025Dddcdscdpiciscipin
alias: usb:v0409p0408ddcdscdpiciscipin
alias: usb:v0BDAp881Cddcdscdpiciscipin
alias: usb:v0BDAp881Bddcdscdpiciscipin
alias: usb:v0BDAp881Addcdscdpiciscipin
alias: usb:v0BDAp8812ddcdscdpiciscipin

I marked the Realtek IDs in bold.

ILL you need RTL8821 drivers, not RTL8812.

{USB_DEVICE(USB_VENDER_ID_REALTEK, 0x0811),.driver_info = RTL8821},/* Default ID */