-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Project: Add 8812au rtw88 in-kernel driver. Need testers... #27
Comments
Updating to kernel 6.9.3 broke my wifi (I was on aircrack-ng/rtl8812au before), so I tried the repo you linked and it works! System: Pop_OS! Let me know if there is any more info you would like. (I don't know much about drivers, so I don't know what information is pertinent to send). |
Adding you to this message to make sure you are on this new issue for the 8812au. Note that this Issue is in the 8812au repo. See first report above.
That is great.
Entering credentials again when you switch ports seems to be normal operations. Now to make sure that the driver is switching to be in the correct mode, can I get you to run the following command while in a usb2 port and then again in a usb3 port: $ lsusb -t Please post both sets of results. On the line for your driver, you should see 5000 if in usb3 mode and 480 if in usb2 mode. We need to make sure that is happening properly.
Well figure out what info we need as we go. You just keep using it and if something does not work like you think it should, let us know what is wrong and we will tell you what info we need. Your help is greatly appreciated. It will be cool when this driver is in mainline. Our 8812au adapters will finally have a proper in-kernel driver and will be plug and play. |
Yup, I see 5000 if in usb3 mode and 480 if in usb2 mode. usb3:
usb2:
|
Finally we get the kernel driver! Thank you! Model: ALFA AWUS036ACH
|
@kikitte Someone sent a fix for those warnings: https://lore.kernel.org/linux-wireless/[email protected]/ @Jake-Grafton What is the application in your screenshot? |
Currently working with this driver. Installed correctly, but can't get this to go into monitor mode for whatever reason. Card being used is an Alfa AWUS036ACH, realtek 8812au driver. sudo ip link set wlan1 down
sudo iw wlan1 set monitor none
command failed: Operation not supported (-95) This will connect to Wi-Fi and hold a connection fine, but monitor mode will error out. UPDATE: tried a clean install of the experimental driver and nothing. Going to keep trying and update as able. |
UPDATE: Monitor mode works with aircrack-ng but not working with hcxdumptool. I am using the wrong command to test hcxdumptool. |
hcxdumptool, as it is vastly superior to the aircrack-ng suite. |
The author of hcxdumptool is @ZerBea . He was helping with the testing of 8821/11au. He can likely answer questions about hcxdumptool if you have any. We may need to see if anyone has an extra 8812au based adapter that we can get into his hands. Unfortunately I only have one 8812au based adapter or I would get one in the mail to him today. |
@morrownr I'll order this adapter: According to Delock, it should be a RTL8812AU based one: There is no need to run hcxdumptool on high TX power devices. |
@morrownr The |
How about this?
|
I've noticed there's ongoing development of a mac80211 driver for the RTL8812AU chip. As someone who's been following this topic casually, I'm hoping for some insights:
I've attempted to research these questions independently but haven't found comprehensive answers. As a novice in this field, I'd greatly appreciate any insights from those more knowledgeable about the situation. Thank you for any information or clarification you can provide! |
Hi @sisi399
You are at the right place. Read message one in this thread for instructions on how to test.
Larry Finger passed away last Friday. RIP Larry. He will be greatly missed but we are trying to carry on without him. We are still using his rtw88 repo to do the work. @dubhater and I have the appropriate rights to use the site. I am really busy right now so maybe we can get to more of your questions later. Right now, we need testers so please read the first message in thread and consider helping us by testing. Regards, |
AP mode should work now. I also enabled power saving. @castillofrancodamian You will be disappointed:
As far as I can tell, it's because of the way rtw88 decides when to enter power saving and for how long. The official driver makes those decisions differently. Something to ask Ping-Ke about... |
@dubhater |
Is that the same as running |
That's how it is. When I tested the rtl8812au driver I did it using dkms.
I get:
|
If you don't want rtl8812au driver be built/installed during a kernel update, you can remove it. |
The rest of the driver remains unremoved.
After reboot.
I think I'm going to have to use the old reliable: reinstall the operating system. |
Before reinstalling your OS, try just removing /var/lib/dkms/rtl8812au-5.13.6
|
It appears to have been removed.
|
Another way to correct that problem: sudo apt purge dkms That is for Debian but the idea is to uninstall it. You can always reinstall it if you actually need it. |
I reinstalled rtl8812au (after removing rtw_8812au) using dkms as asked by dubhater in this comment, so I don't want to remove dkms at the moment. |
I understand but the 8812au driver in this repo can be installed without dkms: $ make Just trying to give you an option to clean up that specific dkms issue. |
@morrownr I already installed rtl8812au manually and I see the same symptoms as with Installation
|
@castillofrancodamian That's a relief. :) Are you using tlp ? |
What's that? A tool? |
Something that causes problems: https://wiki.archlinux.org/title/TLP |
I've been sick for 3 days but will test AP mode on rtw_8812au as a priority as able. |
Hi @dubhater , i could test again rtw88 driver on : lwfinger/rtw88@4a1ee64 |
On some devices (ex : my phone) connexion continue to work even when beacons stop. Please note that beacon and drv rsvd page failure do not always happen (whatever if the beacons are working or not) |
Using airdump, we can clearly see no beacons are emitted on channel 36 currently, eventhough hotspot is working on some devices 30:93:BC:9F:C0:D5 -77 10 4 0 100 1733 WPA2 CCMP PSK Livebox-C0D0 BSSID STATION PWR Rate Lost Frames Notes Probes 30:93:BC:9F:C0:D5 20:1F:3B:83:81:53 -72 0 - 6 0 1 |
My PC is a desktop. Therefore it is not an energy problem. |
This should be fixed now. |
@dubhater i confirm that lwfinger/rtw88@610e04f fixed definitively beacon issues on 8822bu. Well done, thank you for all your team work, this is really impressive ! [ ID] Interval Transfer Bitrate Retr iperf Done. In normal times, i have around 200mb bandwidth, so something is still wrong. But what a progress ! |
@morrownr i wouls say rtl8822bu, as i'm loading the driver using : Here is are some logs, using the realteck driver. sudo lsusb -t I only have usb 2.0, but even for 2.0, bandwith is adnormally low compared to realtek driver |
"failed to get urb length:32768" and "Rate marked as a VHT rate but data is invalid" errors are fixed now. |
Hi, I updated to Mainline kernel 6.13, but there is no driver loaded for my RTL8812AU adapter and hence it doesn't show up in Ubuntu. |
Hi @duc5800
I can answer yes to both of those questions. I can dig this information out but I think my memory is good... The 8812au driver went into 6.13, however, the updated rtw8812au.c file did not go in until 6.14 so you may be seeing your id in the current file in the current version of the kernel but that does not mean the complete file was in 6.13. Sorry about that. You can blame me as I worked on that file. There is also the issue of whether you have the firmware file in your installation. Remember that it takes both the driver and the firmware for the driver to function. The Main Menu of this site is: https://github.com/morrownr/USB-WiFi Menu item 7 addresses firmware. Probably the easiest way to be up and running until 6.14 is ready is to use the repo where the driver was developed as it can be installed: https://github.com/lwfinger/rtw88 Let me know what you think of the driver. |
Thanks for your explanation. The firmware file rtw8812a_fw.bin did indeed not exist in the folder /lib/firmware/rtw88. I might try the driver by lwfinger at a later time. By the way, a successful build of kernel 6.14-RC1 has just showed up on Mainline. I tried it quickly, but my TP-Link T4U v2 was still not working. (that was with the file rtw8812a_fw.bin already inside /lib/firmware/rtw88) |
Yes, Ubuntu Mainline. Thanks for letting me know. I hope that repo stays fixed as it is handy for the testing I do.
Well, here is the deal. Just because a driver enters the kernel does not mean that it will instantly show up as a compiled driver. The maintainers of the distro have to turn on compilation for this new driver for it to be compiled. Did you check to see if the driver is actually compiled and in place? If it is not there then the Ubuntu maintainers have not turned on compilation yet. $ find . -name rtw88_8812au.ko* It is a challenge to be on the bleeding edge with new drivers. It is not hard to use the lwfinger/rtw88 drivers and that is the repo we have used and continue to use to test what is going into the kernel so you would actually be doing us a favor by testing it. When you don't need it anymore, it is easy to uninstall. |
I just noticed there was still a *.conf file present in /etc/modprobe.d that blacklisted the in-kernel driver. A leftover from a previous driver installation. The T4U v2 works in USB 3 mode with this rtw88 driver. Data throughput with iperf3 fluctuates, but does go up to 370 Mbps. I am sorry for causing the confusion above. |
Glad you have it going.
If it was the driver in this repo then if you had run the remove-driver.sh script, it would have removed the .conf file. Are you sure that the driver in this repo is uninstalled? $ dkms status FWIW: I went over the the following to check if your device ID was in 6.14rc1: https://github.com/torvalds/linux It was. Then I plugged my adapter into the system that I updated with 6.14rc1 earlier today and it worked. That is good and it tells me the Ubuntu devs have already taken care of turning on the compiling of the driver and they have added the firmware. When Ubuntu 25.05 ships with kernel 6.14, a lot of people with Realtek WiFi 5 adapters should be happy.
Switching to USB3 mode is now automatic for the USB3 capable adapters in rtw88... works just like the Mediatek drivers. 370 Mbps is not bad at all. The 8812au should show around 400 Mbps if there is little to no congestion so you appear to be in good shape. Give it a good workout and let us know what you find. |
Greetings to anyone that reads this message.
This Issue is where we coordinate and take bug reports for the new 8812au in-kernel driver.
An effort is underway to add support for the rtl8812au chipset to the rtw88 in-kernel driver series. The driver is available for testing at the following repo:
https://github.com/lwfinger/rtw88
Remember to first remove the out-of-kernel driver in this repo or whatever repo you may have installed. You can run the following to remove it if using this repo:
$ sudo sh remove-driver.sh
It is important to follow the instructions in the README at the repo with the new test driver. You may not be familiar with rtw88 in the kernel but even if you are, there are some necessary mods that you need to know about. The rtw88 that has this new driver is more advanced than the rtw88 in stable kernels as it follows wireless-next and is used to work on and develop new drivers.
We welcome you to test and report on this new driver. Your testing will help us get this new driver in the Linux kernel sooner and in better shape. If you are aware of anyone who is familiar with mac80211 drivers, please invite them as more eyes on the code is a good thing. Your ideas are most welcome. We can do this.
@morrownr
Status report:
Reports go in this issue.
The text was updated successfully, but these errors were encountered: