Wireless device not working anymore after upgrade to kernel 5.3

I’m using the rtl8812au driver for this device:

$ lsusb
Bus 003 Device 008: ID 0b05:17d2 ASUSTek Computer, Inc. USB-AC56 802.11a/b/g/n/ac Wireless Adapter [Realtek RTL8812AU]

It’s been working fine for a long time, but after upgrading the kernel to 5.3.6 from 5.2.x it stopped working.
I booted back to the old kernel, and noticed a new update to 5.3.7 and thought maybe someone has spotted a mistake and released a fix, and upgraded. Didn’t work, so now both the kernels in grub are borked.

The wireless device is no longer showing up:

$ sudo iwlist scan
enp6s0 Interface doesn’t support scanning.
lo Interface doesn’t support scanning.

Not sure if anything makes sense here, but this is what’s printed in the log when I insert the wireless device:

okt. 30 18:05:30 kvekk kernel: usb 3-3: new high-speed USB device number 9 using ehci-pci
okt. 30 18:05:30 kvekk kernel: usb 3-3: New USB device found, idVendor=0b05, idProduct=17d2, bcdDevice= 0.00
okt. 30 18:05:30 kvekk kernel: usb 3-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
okt. 30 18:05:30 kvekk kernel: usb 3-3: Product: 802.11n NIC
okt. 30 18:05:30 kvekk kernel: usb 3-3: Manufacturer: Realtek
okt. 30 18:05:30 kvekk kernel: usb 3-3: SerialNumber: 123456
okt. 30 18:05:30 kvekk kernel: ------------ cut here ]------------
okt. 30 18:05:30 kvekk kernel: WARNING: CPU: 2 PID: 157 at net/wireless/core.c:868 wiphy_register.cold+0xe4/0x2e5 [cfg80211]
okt. 30 18:05:30 kvekk kernel: Modules linked in: 8812au(O) fuse af_packet xt_tcpudp ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 ipt_REJECT nf_reject_ipv4 xt_conntrack ebtable_nat ip6table_nat ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_nat iptable_mangle iptable_raw iptable_security nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip_set scsi_transport_iscsi nfnetlink ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter ip_tables x_tables bpfilter dmi_sysfs msr xfs squashfs loop snd_hda_codec_hdmi iTCO_wdt snd_hda_intel iTCO_vendor_support intel_powerclamp snd_hda_codec coretemp snd_virtuoso snd_oxygen_lib kvm_intel snd_mpu401_uart snd_hda_core snd_rawmidi kvm snd_hwdep snd_seq_device snd_pcm snd_timer irqbypass pcspkr r8169 i2c_i801 realtek snd libphy soundcore asus_atk0110 button lpc_ich i5500_temp i7core_edac acpi_cpufreq btrfs libcrc32c xor raid6_pq dm_crypt aes_x86_64 algif_skcipher af_alg hid_generic usbhid sr_mod cdrom cfg80211 rfkill radeon ata_generic i2c_algo_bit
okt. 30 18:05:30 kvekk kernel: drm_kms_helper uhci_hcd firewire_ohci ehci_pci syscopyarea ehci_hcd sysfillrect sysimgblt ata_piix fb_sys_fops ttm crc32c_intel firewire_core crc_itu_t drm usbcore serio_raw sg dm_multipath dm_mod scsi_dh_rdac scsi_dh_emc scsi_dh_alua [last unloaded: 8812au]
okt. 30 18:05:30 kvekk kernel: CPU: 2 PID: 157 Comm: kworker/2:1 Tainted: G W IO 5.3.7-1-default #1 openSUSE Tumbleweed (unreleased)
okt. 30 18:05:30 kvekk kernel: Hardware name: System manufacturer System Product Name/P6T SE, BIOS 0805 02/24/2010
okt. 30 18:05:30 kvekk kernel: Workqueue: usb_hub_wq hub_event [usbcore]
okt. 30 18:05:30 kvekk kernel: RIP: 0010:wiphy_register.cold+0xe4/0x2e5 [cfg80211]
okt. 30 18:05:30 kvekk kernel: Code: ff e9 1f 7f fa ff 48 c7 c7 68 dc 64 c0 e8 f0 05 cc cc 0f 0b b8 ea ff ff ff e9 07 7f fa ff 48 c7 c7 68 dc 64 c0 e8 d8 05 cc cc <0f> 0b b8 ea ff ff ff e9 ef 7e fa ff 48 c7 c7 68 dc 64 c0 e8 c0 05
okt. 30 18:05:30 kvekk kernel: RSP: 0018:ffffb52dc043f840 EFLAGS: 00010246
okt. 30 18:05:30 kvekk kernel: RAX: 0000000000000024 RBX: 000000000000030e RCX: 0000000000000000
okt. 30 18:05:30 kvekk kernel: RDX: 0000000000000000 RSI: ffff8dddf3899a18 RDI: ffff8dddf3899a18
okt. 30 18:05:30 kvekk kernel: RBP: ffffb52dc043f8b8 R08: ffff8dddf3899a18 R09: 0000000000000001
okt. 30 18:05:30 kvekk kernel: R10: 0000000000000000 R11: 0000000000000001 R12: ffff8ddd1b9d0b00
okt. 30 18:05:30 kvekk kernel: R13: 0000000000000000 R14: ffffb52dc0166478 R15: ffffffffc1076240
okt. 30 18:05:30 kvekk kernel: FS: 0000000000000000(0000) GS:ffff8dddf3880000(0000) knlGS:0000000000000000
okt. 30 18:05:30 kvekk kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
okt. 30 18:05:30 kvekk kernel: CR2: 00001ea6f19d00e8 CR3: 00000002f140a000 CR4: 00000000000006e0
okt. 30 18:05:30 kvekk kernel: Call Trace:
okt. 30 18:05:30 kvekk kernel: ? _cond_resched+0x15/0x30
okt. 30 18:05:30 kvekk kernel: ? __kmalloc+0x1a3/0x2c0
okt. 30 18:05:30 kvekk kernel: ? _rtw_malloc+0x29/0x2a [8812au]
okt. 30 18:05:30 kvekk kernel: ? _rtw_zmalloc+0x25/0x2b [8812au]
okt. 30 18:05:30 kvekk kernel: ? _rtw_memcpy+0xc/0xd [8812au]
okt. 30 18:05:30 kvekk kernel: rtw_wiphy_register+0x16/0x18 [8812au]
okt. 30 18:05:30 kvekk kernel: rtw_cfg80211_ndev_res_register+0x11/0x17 [8812au]
okt. 30 18:05:30 kvekk kernel: rtw_os_ndev_register+0xe3/0x14c [8812au]
okt. 30 18:05:30 kvekk kernel: rtw_os_ndevs_register+0x9a/0xfb [8812au]
okt. 30 18:05:30 kvekk kernel: rtw_os_ndevs_init+0x24/0x38 [8812au]
okt. 30 18:05:30 kvekk kernel: rtw_drv_init+0x5c/0xa2 [8812au]
okt. 30 18:05:30 kvekk kernel: usb_probe_interface+0xe0/0x280 [usbcore]
okt. 30 18:05:30 kvekk kernel: really_probe+0xf0/0x380
okt. 30 18:05:30 kvekk kernel: driver_probe_device+0x59/0xd0
okt. 30 18:05:30 kvekk kernel: ? driver_allows_async_probing+0x50/0x50
okt. 30 18:05:30 kvekk kernel: bus_for_each_drv+0x7b/0xc0
okt. 30 18:05:30 kvekk kernel: __device_attach+0xdf/0x160
okt. 30 18:05:30 kvekk kernel: bus_probe_device+0x8e/0xa0
okt. 30 18:05:30 kvekk kernel: device_add+0x3a2/0x670
okt. 30 18:05:30 kvekk kernel: usb_set_configuration+0x42f/0x7c0 [usbcore]
okt. 30 18:05:30 kvekk kernel: generic_probe+0x3c/0x60 [usbcore]
okt. 30 18:05:30 kvekk kernel: really_probe+0xf0/0x380
okt. 30 18:05:30 kvekk kernel: driver_probe_device+0x59/0xd0
okt. 30 18:05:30 kvekk kernel: ? driver_allows_async_probing+0x50/0x50
okt. 30 18:05:30 kvekk kernel: bus_for_each_drv+0x7b/0xc0
okt. 30 18:05:30 kvekk kernel: __device_attach+0xdf/0x160
okt. 30 18:05:30 kvekk kernel: bus_probe_device+0x8e/0xa0
okt. 30 18:05:30 kvekk kernel: device_add+0x3a2/0x670
okt. 30 18:05:30 kvekk kernel: ? add_device_randomness+0x50/0x1f0
okt. 30 18:05:30 kvekk kernel: usb_new_device.cold+0x10a/0x3d2 [usbcore]
okt. 30 18:05:30 kvekk kernel: hub_port_connect+0x507/0x870 [usbcore]
okt. 30 18:05:30 kvekk kernel: port_event+0x520/0x790 [usbcore]
okt. 30 18:05:30 kvekk kernel: hub_event+0x14a/0x3a0 [usbcore]
okt. 30 18:05:30 kvekk kernel: process_one_work+0x1df/0x380
okt. 30 18:05:30 kvekk kernel: worker_thread+0x4d/0x400
okt. 30 18:05:30 kvekk kernel: kthread+0xf9/0x130
okt. 30 18:05:30 kvekk kernel: ? process_one_work+0x380/0x380
okt. 30 18:05:30 kvekk kernel: ? kthread_park+0x80/0x80
okt. 30 18:05:30 kvekk kernel: ret_from_fork+0x3a/0x50
okt. 30 18:05:30 kvekk kernel: — end trace 486ab3b6bd292894 ]—
okt. 30 18:05:30 kvekk kernel: ------------ cut here ]------------
okt. 30 18:05:30 kvekk kernel: WARNING: CPU: 2 PID: 157 at /home/abuild/rpmbuild/BUILD/rtl8812au-5.2.20.2+git20190520.6faa3ea/obj/default/os_dep/linux/os_intfs.c:1602 rtw_os_ndev_register+0xaa/0x14c [8812au]
okt. 30 18:05:30 kvekk kernel: Modules linked in: 8812au(O) fuse af_packet xt_tcpudp ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 ipt_REJECT nf_reject_ipv4 xt_conntrack ebtable_nat ip6table_nat ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_nat iptable_mangle iptable_raw iptable_security nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip_set scsi_transport_iscsi nfnetlink ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter ip_tables x_tables bpfilter dmi_sysfs msr xfs squashfs loop snd_hda_codec_hdmi iTCO_wdt snd_hda_intel iTCO_vendor_support intel_powerclamp snd_hda_codec coretemp snd_virtuoso snd_oxygen_lib kvm_intel snd_mpu401_uart snd_hda_core snd_rawmidi kvm snd_hwdep snd_seq_device snd_pcm snd_timer irqbypass pcspkr r8169 i2c_i801 realtek snd libphy soundcore asus_atk0110 button lpc_ich i5500_temp i7core_edac acpi_cpufreq btrfs libcrc32c xor raid6_pq dm_crypt aes_x86_64 algif_skcipher af_alg hid_generic usbhid sr_mod cdrom cfg80211 rfkill radeon ata_generic i2c_algo_bit
okt. 30 18:05:30 kvekk kernel: drm_kms_helper uhci_hcd firewire_ohci ehci_pci syscopyarea ehci_hcd sysfillrect sysimgblt ata_piix fb_sys_fops ttm crc32c_intel firewire_core crc_itu_t drm usbcore serio_raw sg dm_multipath dm_mod scsi_dh_rdac scsi_dh_emc scsi_dh_alua [last unloaded: 8812au]
okt. 30 18:05:30 kvekk kernel: CPU: 2 PID: 157 Comm: kworker/2:1 Tainted: G W IO 5.3.7-1-default #1 openSUSE Tumbleweed (unreleased)
okt. 30 18:05:30 kvekk kernel: Hardware name: System manufacturer System Product Name/P6T SE, BIOS 0805 02/24/2010
okt. 30 18:05:30 kvekk kernel: Workqueue: usb_hub_wq hub_event [usbcore]
okt. 30 18:05:30 kvekk kernel: RIP: 0010:rtw_os_ndev_register+0xaa/0x14c [8812au]
okt. 30 18:05:30 kvekk kernel: Code: 00 00 e8 e8 e7 ff ff 4d 39 fd 75 7f 48 89 ef e8 be 6f 9e cc 85 c0 0f 94 c0 0f b6 c0 eb 7d 48 c7 c7 50 d5 06 c1 e8 36 29 32 cc <0f> 0b e9 83 00 00 00 c6 83 60 45 00 00 01 e9 84 00 00 00 4c 8d b7
okt. 30 18:05:30 kvekk kernel: RSP: 0018:ffffb52dc043f8e0 EFLAGS: 00010246
okt. 30 18:05:30 kvekk kernel: RAX: 0000000000000024 RBX: ffffb52dc0163000 RCX: 0000000000000006
okt. 30 18:05:30 kvekk kernel: RDX: 0000000000000000 RSI: 0000000000000092 RDI: ffff8dddf3899a10
okt. 30 18:05:30 kvekk kernel: RBP: ffff8ddd1725a000 R08: 000000000000060e R09: 0000000000000001
okt. 30 18:05:30 kvekk kernel: R10: 0000000000000000 R11: 0000000000000001 R12: ffffb52dc0166227
okt. 30 18:05:30 kvekk kernel: R13: 0000000000000000 R14: ffffb52dc0166478 R15: ffffffffc1076240
okt. 30 18:05:30 kvekk kernel: FS: 0000000000000000(0000) GS:ffff8dddf3880000(0000) knlGS:0000000000000000
okt. 30 18:05:30 kvekk kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
okt. 30 18:05:30 kvekk kernel: CR2: 00001ea6f19d00e8 CR3: 00000002f140a000 CR4: 00000000000006e0
okt. 30 18:05:30 kvekk kernel: Call Trace:
okt. 30 18:05:30 kvekk kernel: rtw_os_ndevs_register+0x9a/0xfb [8812au]
okt. 30 18:05:30 kvekk kernel: rtw_os_ndevs_init+0x24/0x38 [8812au]
okt. 30 18:05:30 kvekk kernel: rtw_drv_init+0x5c/0xa2 [8812au]
okt. 30 18:05:30 kvekk kernel: usb_probe_interface+0xe0/0x280 [usbcore]
okt. 30 18:05:30 kvekk kernel: really_probe+0xf0/0x380
okt. 30 18:05:30 kvekk kernel: driver_probe_device+0x59/0xd0
okt. 30 18:05:30 kvekk kernel: ? driver_allows_async_probing+0x50/0x50
okt. 30 18:05:30 kvekk kernel: bus_for_each_drv+0x7b/0xc0
okt. 30 18:05:30 kvekk kernel: __device_attach+0xdf/0x160
okt. 30 18:05:30 kvekk kernel: bus_probe_device+0x8e/0xa0
okt. 30 18:05:30 kvekk kernel: device_add+0x3a2/0x670
okt. 30 18:05:30 kvekk kernel: usb_set_configuration+0x42f/0x7c0 [usbcore]
okt. 30 18:05:30 kvekk kernel: generic_probe+0x3c/0x60 [usbcore]
okt. 30 18:05:30 kvekk kernel: really_probe+0xf0/0x380
okt. 30 18:05:30 kvekk kernel: driver_probe_device+0x59/0xd0
okt. 30 18:05:30 kvekk kernel: ? driver_allows_async_probing+0x50/0x50
okt. 30 18:05:30 kvekk kernel: bus_for_each_drv+0x7b/0xc0
okt. 30 18:05:30 kvekk kernel: __device_attach+0xdf/0x160
okt. 30 18:05:30 kvekk kernel: bus_probe_device+0x8e/0xa0
okt. 30 18:05:30 kvekk kernel: device_add+0x3a2/0x670
okt. 30 18:05:30 kvekk kernel: ? add_device_randomness+0x50/0x1f0
okt. 30 18:05:30 kvekk kernel: usb_new_device.cold+0x10a/0x3d2 [usbcore]
okt. 30 18:05:30 kvekk kernel: hub_port_connect+0x507/0x870 [usbcore]
okt. 30 18:05:30 kvekk kernel: port_event+0x520/0x790 [usbcore]
okt. 30 18:05:30 kvekk kernel: hub_event+0x14a/0x3a0 [usbcore]
okt. 30 18:05:30 kvekk kernel: process_one_work+0x1df/0x380
okt. 30 18:05:30 kvekk kernel: worker_thread+0x4d/0x400
okt. 30 18:05:30 kvekk kernel: kthread+0xf9/0x130
okt. 30 18:05:30 kvekk kernel: ? process_one_work+0x380/0x380
okt. 30 18:05:30 kvekk kernel: ? kthread_park+0x80/0x80
okt. 30 18:05:30 kvekk kernel: ret_from_fork+0x3a/0x50
okt. 30 18:05:30 kvekk kernel: — end trace 486ab3b6bd292895 ]—
okt. 30 18:05:30 kvekk kernel: ------------ cut here ]------------
okt. 30 18:05:30 kvekk kernel: WARNING: CPU: 2 PID: 157 at /home/abuild/rpmbuild/BUILD/rtl8812au-5.2.20.2+git20190520.6faa3ea/obj/default/os_dep/linux/os_intfs.c:3001 rtw_os_ndevs_register+0xd1/0xfb [8812au]
– SNIP - post too long
okt. 30 18:05:30 kvekk kernel: — end trace 486ab3b6bd292896 ]—
okt. 30 18:05:30 kvekk kernel: usb 3-3: reset high-speed USB device number 9 using ehci-pci
okt. 30 18:05:30 kvekk mtp-probe[5727]: checking bus 3, device 9: “/sys/devices/pci0000:00/0000:00:1d.7/usb3/3-3”
okt. 30 18:05:30 kvekk mtp-probe[5727]: bus: 3, device: 9 was not an MTP device
okt. 30 18:05:30 kvekk mtp-probe[5729]: checking bus 3, device 9: “/sys/devices/pci0000:00/0000:00:1d.7/usb3/3-3”
okt. 30 18:05:30 kvekk mtp-probe[5729]: bus: 3, device: 9 was not an MTP device
okt. 30 18:05:30 kvekk baloo_file[2422]: UdevQt: unhandled device action “bind”
okt. 30 18:05:30 kvekk org_kde_powerdevil[2454]: UdevQt: unhandled device action “bind”
okt. 30 18:05:30 kvekk plasmashell[2418]: UdevQt: unhandled device action “bind”

Any idea what to do?

I’m using the rtl8812au driver for this device:

Where do you get the driver?

Post:

zypper se -s rtl8812

Using this:

$ zypper se -s rtl8812
Loading repository data…
Reading installed packages…

S | Name | Type | Version | Arch | Repository
—±----------------------±--------±-------------------------------------------±-------±---------------------
i+ | rtl8812au | package | 5.2.20.2+git20190520.6faa3ea-1.23 | x86_64 | Main Repository (OSS)
v | rtl8812au | package | 5.2.20.2+git20190520.6faa3ea-1.23 | i586 | Main Repository (OSS)
i+ | rtl8812au-kmp-default | package | 5.2.20.2+git20190520.6faa3ea_k5.3.6_1-1.22 | x86_64 | (System Packages)
i+ | rtl8812au-kmp-default | package | 5.2.20.2+git20190520.6faa3ea_k5.2.9_1-1.13 | x86_64 | (System Packages)
i+ | rtl8812au-kmp-default | package | 5.2.20.2+git20190520.6faa3ea_k5.2.3_1-1.11 | x86_64 | (System Packages)
i+ | rtl8812au-kmp-default | package | 5.2.20.2+git20190520.6faa3ea_k5.3.7_1-1.23 | x86_64 | Main Repository (OSS)
v | rtl8812au-kmp-default | package | 5.2.20.2+git20190520.6faa3ea_k5.3.7_1-1.23 | i586 | Main Repository (OSS)
| rtl8812au-kmp-pae | package | 5.2.20.2+git20190520.6faa3ea_k5.3.7_1-1.23 | i586 | Main Repository (OSS)

You can try the driver from my repo, but first uninstall the one you have now installed.

https://download.opensuse.org/repositories/home:/Sauerland:/hardware/openSUSE_Tumbleweed/

I hope, that driver will work.
https://download.opensuse.org/repositories/home:/Sauerland:/hardware/openSUSE_Tumbleweed/x86_64/rtl8812AU_8821AU-kmp-default-20191020_k5.3.7_1-2.3.x86_64.rpm

Thanks, your driver is working!

What’s the difference between this and the default driver?

What’s the difference between this and the default driver?

Other source, newer source, mine is from October…