Description of problem: WIfi Adapter appears not to be recognised due to no driver installed for it Version-Release number of selected component (if applicable): Aukey WF-R12 1750Mps Dual Band WIFI USB3 Adapter How reproducible: When system boots up and logs into kde interface Steps to Reproduce: 1.Checked for hardware in control panel and no listing of attached component 2.Checked in terminal with ifconfig and no listing for component 3.
Severity: normal => major
CC: (none) => chrisv11c
lsblk dmesg hardinfo Any useful info there?
CC: (none) => hamnisdude
I have two different Linux distributions on my hard drive, Mageia 7 and PC linux 2020. The Aukey Adapter uses the Realtek rtl8814au driver to work. When I boot up Mageia 7 the led on the Adapter does not illuminate and when the kde environment initialises I find out the Adapter has not been found during boot up to be configured, When I boot into PC linux the led flashes on the Adapter and when initialised in the kde environment the system had found the adapter and I was able to configure it to work. I looked for the installed drivers in PC Linux for the Adapter and found that the adapter uses the dkms rtl88xxau v 5.6.4.2 driver with monitor mode and frame injection .This driver supports RTL8812AU/21AU and RTL8814AU chipsets wlan-only. * Monitor mode * Frame injection * MESH Mode (IBSS) * WPA3 SAE * Wi-Fi Direct * wpa_supplicant * Hostapd * USB 3.0 (currently forced down to 2) * Kernel up to v5.3+ If there is any more information you require please advise.
@Ian Can you please do: $ dmesg > dmesg.txt and attach that output file to the bug? I cannot find any reference to the Realtek rtl8814au driver; I wonder whether we do not have it [yet].
CC: (none) => lewyssmithSummary: USB3 WIFI Adapter not recognised at all in Mageia => Aukey WF-R12 USB3 WIFI Adapter not recognised at all in Mageia
Created attachment 11505 [details] dmesg.txt file
I have done a dmesg on my other Linux distro that recognises the Adapter and it clearly has it loading the module."rtl88xxau: loading out-of-tree module taints kernel".
Thank you for the dmesg output. It shows no reference to rtl88. I suspect this hardware is new to Mageia = unsupported [currently]. Assigning to kernel/drivers team.
Assignee: bugsquad => kernel
I have looked for the driver as used in PC Linux and found what may be a close match if this helps. https://github.com/astsam/rtl8812au
# tree -ifa /usr/lib/modules/$(uname -r)/kernel/|grep 8812au.ko /usr/lib/modules/5.5.4-desktop-1.mga7/kernel/3rdparty/rtl8812au/8812au.ko.xz Looks like the actual kernel module is 8812au. Try running (as root), "modprobe -v 8812au". Also ensure the package kernel-firmware-nonfree is installed, just in case the kernel module needs to load firmware for that device.
CC: (none) => davidwhodgins
I ran "modprobe -v 8812au" as root and the output produced was: root@localhost chris]# modprobe -v 8812au insmod /lib/modules/5.5.4-desktop-1.mga7/kernel/3rdparty/rtl8812au/8812au.ko.xz [root@localhost chris]# kernel-firmware-nonfree The kernel-firmware-nonfree is also installed and still the adapter is not recognised. Please advise.
Thanks Dave for your enlightenment. I wonder whether modprobe would wake up the adapter. 8812au is not present in dmesg. Should it be? Or should it really be 8814? The pointer in comment 7 implies they are not the same thing: "RTL8812AU/21AU and RTL8814AU linux driver" "for building RTL8812AU/RTL8821AU driver..." "for building RTL8814 driver..." (In reply to Lewis Smith from comment #3) > I cannot find any reference to the Realtek rtl8814au driver; I wonder > whether we do not have it [yet]. Well, we do have the 8812 one, e.g: $ urpmf 8812au | grep -v source | grep -v devel | grep 5.4.17 | sort -u kernel-desktop-5.4.17-1.mga7:/lib/modules/5.4.17-desktop-1.mga7/kernel/3rdparty/rtl8812au kernel-desktop-5.4.17-1.mga7:/lib/modules/5.4.17-desktop-1.mga7/kernel/3rdparty/rtl8812au/8812au.ko.xz $ urpmq -l kernel-desktop-5.4.17-1.mga7 | grep 8812au /lib/modules/5.4.17-desktop-1.mga7/kernel/3rdparty/rtl8812au /lib/modules/5.4.17-desktop-1.mga7/kernel/3rdparty/rtl8812au/8812au.ko.xz Both commands above yield nothing for 8814. We do not have it, perhaps we should.
Dont read too much into marketing names or chipset names. Many drivers supports more than one chipset, and the name is not always updated to match. Note that support for some of theese chipsets are being added upstream, so I try to avoid and add more external drivers if I can avoid it as the realtek code dumps are a mess... @ian: please provide the output of "lsusb" with the usb wifi adapter plugged in.
CC: (none) => tmb
CC: lewyssmith => (none)
Created attachment 11511 [details] lsub file requested I have attached the lsub file as requested and it gives the line: Bus 006 Device 003: ID 0bda:8813 Realtek Semiconductor Corp. RTL8814AU 802.11a/b/g/n/ac Wireless Adapter I hope this helps
See if manually installing the driver as per https://github.com/nazar-pc/RTL8814AU works.
Created attachment 11518 [details] 8812au driver installaion failed I followed the steps to install the driver but it failed to compile with the kernel
I have noticed the graphical boot screen states that it is building the 8814au driver, but when in the kde environment there is no sign of the detected hardware until I investigated the hardware section in the control centre and found under the scanner section the following information: Identification Vendor: Realtek Description: 802.11ac NIC Media class: Connection Bus: USB Bus PCI #: 5 PCI device #: 3 Vendor ID: 0x0bda Device ID: 0x8813 Misc Module: usbcore I hope this helps
Please have a look at the link below as it bears a resemblance to the remarks I made in comment 2 as it may present a solution to this problem, https://aur.archlinux.org/packages/rtl88xxau-aircrack-dkms-git/
Can you advise on how to enable the driver to work for the hardware. It works perfectly well in PC Linux but am at a loss why it is not working in Mageia. Please advise.
Hello, Did you install the package kernel-desktop-devel-5.5.4-1.mga7, before trying to run the dkms ? I should not recommend to run the git clone using the root account (in your case, only the dkms build/install requires this (i know it is easier to get file directly in the /usr/src folder, but it can be downloaded elsewhere then moved locally using root account)). Note that the kernel seems to already have a 8812au module but your key indentifiers are not in it. The aircrack repository have in it.
Hello, Sorry for the noise, but after i look the repository you try to compile, but probably it can be compiled against 5.X kernel ( the repository states kernel up to 4.8 ( perhaps and 4.9 to 4.16 but not on 5.x tree where some things have changes). You might try the package ( which is not an official one and unsupported) in the thread in the french forum (https://www.mageialinux-online.org/forum/topic-27310-4+wifi-non-reconnu.php#m265821)
CC: (none) => joe_c_moi
CC: joe_c_moi => (none)
There is now a kernel-5.5.9-1.mga7 in updates testing that should hopefully work better for you
I went to the french forum and downloaded the following package and installed it. (dkms-rtl8812au-5.6.4.2-1.mga7.noarch.rpm.) I rebooted the OS and the adapter was recognised. I configured the correct parameters for it and now it working. I can only assume that this package is the same one as the one used in PC linux so I will check to confirm.
I would like to confirm the package I downloaded and installed for the adapter is identical in size and and content within the folders that reside in both OS systems in the SRC directories. As my adapter is now configured and working correctly may I suggest Mageia include this package (dkms-rtl8812au-5.6.4.2-1.mga7.noarch.rpm) for comparability with other adapters that require the rtl8814au driver to function. From what I can gather this package can enable three different driver set-ups to be configured dependent on the the device used. These being: A) rtl8812au B) rtl8821au C) rtl8814au As my device uses the rtl8814au driver I can only presume the other two drivers are fully conversant with the other devices.
(In reply to ian trump from comment #22) > I would like to confirm the package I downloaded and installed for the > adapter is identical in size and and content within the folders that reside > in both OS systems in the SRC directories. > > As my adapter is now configured and working correctly may I suggest Mageia > include this package (dkms-rtl8812au-5.6.4.2-1.mga7.noarch.rpm) for > comparability with other adapters that require the rtl8814au driver to > function. No. What I need you to do is: 1. remove any wifi configuration 2. uninstall the dkms-rtl8812au package. 3. reboot with kernel-desktop-5.5.9-1.mga7 4. try to reconfigure your wifi. Does it work ?
An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGASA-2020-0140.html
Status: NEW => RESOLVEDResolution: (none) => FIXED
Hello, @Ian Trump: please note that the rpm you install doesn't do theses things on uninstall: - Remove the folder it created in /usr/src folder - doesn't re enable the rtl8xxxu module it blacklists to try to avoid conflicts (blacklist rtl8xxxu added to /etc/modprobe.d/blacklist-compat.conf) So if you want to test new kernels (which is the better way than using the driver from the rpm that can stop working at any time), you at least need to re enable the rtl8xxxu module if new kernel is using it for the 8814au chipset).