-
Notifications
You must be signed in to change notification settings - Fork 3
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
Testers: Please check in here to let me know you are here... #2
Comments
Thanks for the invitation link. Then I'll try to check on openwrt. Thanks again |
Ouch. Have you ever tried to compile a Realtek driver for OpenWRT? |
Thanks for the invitation link and for your work in general. Much appreciated! |
Testers: I created a new issue today for AP mode. It is issue 8. I think we need to keep AP stuff consolidated. |
Thank you, I have just installed the driver. |
Hi! Thank you! |
@fabiano-cancela @PBXForums Thanks for letting me know. It is easy to upgrade this driver and I will be merging things on a regular basis. Here is all it takes to upgrade: From a terminal: $ git pull The I need everyone to mention the following when you make reports: CPU (arm64, amd64, x86_64, etc.) Distro and kernel version Mode that you are testing (Managed (client), AP, P2P...) Remember to report anything that needs to be improved in the docs: README.md, FAQ.md and 8852cu.conf. Thanks for all you are doing. |
Im here |
Thank you very much for having me here. |
Does anyone have a system with kernel 6.12 that they can test with temporarily? I just need to see if there are compilation problems and I am not ready to test 6.12 here yet. |
6.12 isnt in my arch repos rn. Newest I have is 6.11.6. imma looks for a 6.12 RC |
update: compileing 6.12 rc6 |
gcc matches 14.1.1 on both kernel and gcc version |
My unit gets pretty toasty when under load, has anyone else's done the same |
Your help is so valuable and saved me time to work on other things. My lab here is organized to maximize productivity as I do not have unlimited resources. How I normally test newer kernels is to use a system Ubuntu and the Ubuntu Mainline kernel repo. However, that repo has been broken since kernel 6.11 was released so me taking time from my schedule to do a manual compilation was not in my schedule right now. I will change the README to reflect kernel 6.12 support.
I've been surprised at how solid AP mode is with this driver... on all bands. I finished my AP mode testing yesterday and am moving on to P2P testing.
I will watch for this with my adapter but my adapter that uses this driver is not an Edup adapter. I can test power usage so that we have an idea what kind of power this chip is pulling. My testing over the years has shown that Realtek chips are usually more power hungry than Mediatek. I'll post some results... probably in a new issue so we can keep other replies in one place, I do have an Edup Ep-1672 that appears to have exactly the same case and antennas as the one you have so I will throw it into the power consumption test... it has the mt7921au chip. |
Thanks for the invite! I'll test a default install in Debian stable tonight or tomorrow in a VM, then i'll move into other testing as needed |
I made a mistake in the top message when I wrote it. It said I do not need regular reports... well, that was wrong. In fact I do want regular reports. If you find a bug, start a new issue. Same thing applies when you are seeing success, please report good results along with the details of your CPU, distro and what you are testing. It is important for testing that good results are known so that we know where to concentrate work. Please concentrate in installation and removal of the driver with the instructions in the README and remember, regular patches are going into this repo so updating is necessary: $ git pull Remember that Glad to have you here. Looking forward to your reports. |
@morrownr Test setup:
Device:
Compiling the driver:After installing the required dependencies listed in the README, everything compiled flawlessly. Making the driver work for the TXE70UH
Actually using the deviceThis is were things went not too well. To sum up my experience, all wifi operations are reeally slow. More specifically:
On a more positive note:
Next stepsI'm really curious about these slow operations. Unless somebody already as an idea of the cause, i'll try to run experiements on baremetal, to eliminate the possibility that it's caused by the VM setup. I'll also ditch the desktop environment to check if it might be caused by whatever connection manager Gnome is using. I hope that a detailed post like that is what was expected and is approriate for this particular issue. I don't feel confident yet to open an issue on the slow operations I encountered, I'll experiment a bit more. Also let's see first if somebody can replicate my result (or have better results than me !) with a TXE70UH. |
Very good report.
Help me out. You have 2 adapters? Right? So I need to add both VID/PIDs to the driver?
I will look at clarifying the documentation in 8852cu.conf.
Can I get you to copy this report into a new Issue with a title like
Are both of your adapter multi-state? The adapter I was sent by a maker is multi-state as well and I have seen problems on 3 machines so far. On one machine it works okay. Another tester had a multi-state adapter that we simply could not get to work right and he is sending it back to get another adapter. My limited opinion at this point is that there is something a little wrong with the storage setup in these rtl8852/32cu based adapters and I do not fully understand what is yet. I have a couple of workarounds but I do not know what the real problem is yet. Please test on all Linux machines that you have and I need everyone to test on all Linux machines they can so as to figure out the scope of this problem. This is not a driver problem. It will be interesting to see the results of your bare metal test. Thanks. |
General Broadcast to all testers: For those of you with adapters that are multi-state (windows driver onboard), please test on all Linux machines that you have access to. I am seeing multi-state problems with my adapter on multiple systems. I have been able to work around the issue on 2 systems but one system is a mystery at this point. One of my systems shows no problem. One tester has now sent his adapter back to the seller in order to get a different adapter. We need to know the extent of this problem and hopefully we can figure out what is causing it. I have two other adapters from the same maker that are multi-state and I have no problems with them. They are based on the rtl8852/32bu chip. If you are unsure how to turn off usb_modeswitch to see if your adapter is multi-state, ask me and I will post the simple instructions. |
I noticed that on a cold boot, an already plugged adapter doesn't switch, even when I try to call usb_modeswitch manually (even forcing the usb reset). |
I just started a new issue (10) to capture this issue. You are third person here that is seeing problems similar to this. I have struggled with it. I have a workaround that helped 2 systems that I tested it on but 1 system is just such that I can't get it to work. Please post your follow up messages there and maybe by comparing notes we can figure something out. |
No actually I have only 1 device. It was just incorrect testing on my part. I only have one, with VID:PID =
I will
So only one adapter as indicated above, and yes it's multi-state. Debian (?) seems to eject it right await, and it ends up in the WLan mode.
I have another device, a laptop I can test it with.
I will conduct some baremetal test this weekend. |
Then that is what I will add. Can I get you to post the results of: $ lsusb Also, can I get you to give me the real name of the adapter? AXE5400 is just the class of adapter. |
Complete Model name as indicated on device is: |
Patch to include the VID/PID for your |
Hi ! Test hardware Making the driver 'work' The driver as is doesnt detect the ID and nothing works so i applied the fix found here: lwfinger/rtw8852cu#20 . Result journalctl -S today | grep wlp3s0f0u1 | grep ERROR :
I do reproduce the usb switching problem mentionned by @pablo-cabrera I also reproduce the System hang problem of @clyvari |
Hi @MassonY
Glad to have you here. There are about 10 of us right now. My flexible goal is to have the driver ready to go public by the end of the year. That is flexible.
I understand and have now added the VID/PID for your adapter. Since you have edited your copy of the driver, it might be easier for you to delete the driver folder and clone it again. In the future, if there are no edits, you can update to keep up with code changes by running: $ git pull Please do test my patch for your adapter and let me know the results.
We need to work this problem. Can you open a new issue for this problem?
That makes 4 or 5 of us out of 10 with multi-state (storage switching problems) Issue #10 is about this problem so if you could go to that issue and provide details about the problem, that would be great. This issue seems to happen with adapters from various makers. I have experienced this problem with 2 of 3 systems I have tested my adapter on. On one system I used a usb quirks workaround but on one system, nothing would fix it and the adapter will simply not work on the system. This is bad and it is not a driver problem.
I looked back over the message from @clyvari but am not sure what you are talking about. Can you be specific? Cheers |
I am refering to this issue mentionned by @clyvari
But this is a weird issue, it used to hang the first time I installed the driver but it seems to be fine now, I cannot reproduce. |
I updated the Development Progress Log ( #1 ) today. I think we are making good progress but I am particularly concerned about the multi-state (Windows driver onboard) issue that some of us, including me, have experienced. I have experienced the problem on multiple computers and given that others here have experienced the problem as well with adapters from various adapter makers, I think I can say confidently that the problem is not specific to any particular adapter maker but is a general problem. Is it a problem with usb-modeswitch? Or is it a problem with something in eeprom? I do not know yet. Any help that any of you can provide is welcome. If this issue is not solved in a suitable manner, then this chipset and driver is of very limited value to Linux users. I am very aware that many users around the world buy TP-Link adapters because that brand is all that is readily available to them via limited sources. In that light, I posted information about a new adapter from TP-Link recently: The TXE50UH is a new adapter that appears to be single-state (no hassles with this storage mode crap) and it uses a Mediatek driver, mt7921u, so it is plug and play. Think about it... no more chasing around after Realtek out-of-kernel drivers. That is all for this update. I'll be waiting on your reports, |
I am having EDUP WiFi 6E some product pictures![IMG20241121113017](https://github.com/user-attachments/assets/16918739-c6a6-4c4f-a447-75c35951af1b) ![IMG20241121113009](https://github.com/user-attachments/assets/972d6786-0353-4b5b-a456-88807f81262e) ![IMG20241121113036](https://github.com/user-attachments/assets/4396bd5c-fe06-4364-bf1d-af0492ea6648)I have just pulled, compiled and loaded the module and everything works more than fine for start. I have only changed No packets dropped or anything noticable at a glance
I will use it through the days to come and will report accordingly. Thank you @morrownr !!! Here some more details of my setup:
|
Thanks for checking in. Let me know if you have questions. You will have an advantage over the rest of us as I think you are the only tester with an adapter that is single-state. We have been running into really bad problems related to storage mode and something seems to be amiss with adapters with the rtl8852/32cu chip that are multi-state so I am attempting to do a deep dive in udev and systemd to see if I can see what the problem is. Let us know when you see any problems. This seems to be an anomaly for a Realtek out-of-kernel driver in the WiFi 6 catagory as many things appear to be working. Some bugs have been fixed already but I am sure things can be made better. Please pay attention to the documentation files and report anything that would make the docs better. |
Greetings all. Issue 1 has been updated again. Please review the Progress Log and To-Do List. It seems we may have solved the issue of the driver not finding the kernel header files on some aarch64 distros so that is is closed. We still have some open issues that need attention and I am doing my best. There is a new problem shown in the To-Do List and I wrote an explanation as follows: Explanation for the following To-Do item:
In the current state of the driver, it seems to not follow wireless regulatory guidelines/laws. Example: In the US, it is necessary to have the ability to scan for interfering signals on 5 GHz DFS channels. In my opinion, it is unlikely that USB WiFi adapters based on the rtl8852/32cu chips have this capability and they do not seem to delay for the 60 seconds while this scan is taking place. This is a violation of US law. I also see other anomalies regarding regulatory guidelines/laws. I intend to investigate this. I do not feel comfortable releasing this driver to the public until such time as this issue is resolved. Looking forward to your reports over the next week. |
FYI for all: I have run into some challenges trying to sort out a couple of the bugs we have run into so my plan is to freeze the code in this repo for a couple of weeks or so while I bring up another private repo based on much more recent code. It is code for the rtl8852bu. It may provide clues regarding possible fixes for this driver. If any of you have adapters based on the rtl8852/32bu chip, let me know if you want to test that driver |
Lenovo Yoga-Slim-7 OS: Ubuntu 24.10 aarch64 Device: FENVI AX5400 WiFi 6E USB Adapter Connected at 6GHz to my 6E router with: 2161.3 Mbit/s, 160 MHz, HE-MCS 10, HE-NSS 2 Have a second (noname) device with a different antenna that has the same chip, and I get similar results with that one. |
Any problems installing? Was the README clear? |
I had some initial problems signing in, but that was not related to the driver ;) Since I have installed Larry:s files with dkms before, this was pretty much straight forward - even easier with the settings, good work :) I do have the same problems as others have pointed out when you have to detach and reinsert the usb-adapter sometimes for it to be recognized properly after install. The readme is clear, but there is plenty of information (which is good) - maybe there could be a short "fast install" in the beginning ? "git clone https://github.com/morrownr/rtl8852cu-20240510.git Read on for detailed information how to install and remove the drivers for your system." ? |
This is worrisome. This appears related to the adapters being multi-state. It also appears to have nothing to do with the driver because we can test it on a system without the driver installed. It usually shows up with the standard Realtek storage vid-pid when you run lsusb. Then if you unplug and replug, in some systems, it will switch modes and we see the vid-pid for wifi mode. As I get time, I am going to do a deep dive and see if I can figure out what the problem is. I have adapters by the same maker but they use a rtl8832bu chip and I do not see this problem. The problem just appeared with the rtl8832cu chip and it appears widespread as in several adapters by different makers are showing the same or similar problems. I have tested on 4 systems here and have seen 4 different results that vary from works fine to can't get it work even with workarounds. This is bordering on being a show stopper for me in that I hesitate to release this driver to the public as there will be some people that will look at the driver as an invitation to buy an adapter with the this chip. This and the ~10 second system freeze issue must be resolved in my mind before releasing this driver. As a last resort, I can try to get an updated version of this driver in the secord quarter of next year and hopefully we see some improvements on the system freeze issue but it is not clear how the multi-state problem is going to be resolved.
This is a good idea. I'll need to give this some thought. I've been maintaining some of these Realtek drivers for several years so I have seen a lot of things that can confuse users. I'll add this to the to-do list. |
I have another user that is trying to get in and is having problems. What kind of problem did you see and how did you fix it? |
I had to setup two-factor authentication on my account and sign in from console using (I think it was) "gh auth", or "gh auth login" |
All: I merged 3 patches today. I have tested kernel 6.13 and we should be good to go. Please pull and test. I am still looking at the problematic multi-state bug. I know more than I did but not everything I need to know. |
I am here. I just installed rtl8852cu-20240510.
The driver is installed but I cannot see 6GHz WiFi and I cannot connect to any WiFi SSID. This may be an error caused by my previous attempts to install other drivers for this. |
Linux Mint sees my mainboard's built-in WiFi adaptor instead. I can see USB WiFi in Network Settings and a list of SSIDs but all of them fail to connect. |
Hi @vincelawdev Glad you made it. Can I get you to start a new issue for this problem. In the new issue, post the results of: $ lsusb |
Hello all, I pushed a fairly large patch today. The biggest change was to rename That caused me to have to edit the docs and I also fixed a couple of things in the Makefile. Request that everyone run: $ git pull Let me know how things are going. I am still working on various things at this point, including the multi-state problem that some of us have been seeing on some systems. Nick |
I updated and made a new install. First time I choose "options 8852cu rtw_switch_usb_mode=1 rtw_country_code=SE" after install a "lsusb" showed the usb-wifi in cd-rom mode, I removed and reinserted the usb-wifi, but after that the usb-wifi did not show up at all. A second install I choose "options 8852cu rtw_switch_usb_mode=0 rtw_country_code=SE" same thing happens with cd-rom mode, but after I reinsert the usb-wifi it shows up correct.. lsusb -v shows that the usb-wifi is in usb2 mode but I can use it and connect in 6GHz. I tried a new install with mode=1, but the same thing happend. |
Hello everyone, I merged a big patch today that contained mostly cosmetic issues. You can run When this project started, I said that we would shoot for a public release on or about 2025-01-01. I think it is time to make the repo public today as we need to gather more information from a wider audience. While there are some issues that are not fixed, such as the mode switching issue, that is not a problem with this driver anyway so I think the driver is in good enough shape to open up to the public. Please do continue testing and I thank you for the help. |
I would appreciate it if you would post a message here so that I know you successfully made it to the repo. This issue is for you to check in and for discussion. If you find a bug that needs to be fixed, please post a new issue.
Welcome. I hope we can complete and release this driver to the public by the end of the year. We are in no hurry but I do need regular reports on what you are finding. Thanks and enjoy.
@morrownr
The text was updated successfully, but these errors were encountered: