-
Notifications
You must be signed in to change notification settings - Fork 203
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
Info: USB Ports can be a source of problems with USB WiFi adapters #508
Comments
Agreed with all of the above, and I'll add more detail that could apply to a couple of the cases on your list: If you're not getting the speed test results you are expecting, it may be that your USB adapter has fallen back to USB2 speeds despite both host and device being USB3+ capable. To check this, use |
I can confirm this. I use a MT7612U with a 2 meter long USB3 extension cable at my desktop computer to put the adapter in a good position with good signal. I had a ton of problems using it with the extension cable and the only cure was to plug the extension cable into a USB 2.0 port. It worked fine but with reduced throughput. After reading https://forums.debian.net/viewtopic.php?t=159402 and recognize some of the errors I went into the BIOS and configured the USB entries in this way: XHCI Hand-off: Enabled Now the adapter works just fine with this 2 meter long USB extension cable plugged into a USB 3.0 port. Also lsusb confirms it is working at USB 3.0 speeds. Check your USB settings in your BIOS! Thank you for the tip. |
I also confirm this. My chinese adapter on MT7612U did not start on USB 3.2 ports neither in VB nor in LiveUSB Kali 2024.4/ParrotOS 6.0-6.1. |
Hi @marvellz
If you are talking about The Plug and Play List, I do have some of the adapters in each section but not all. If I test the adapter, I test it in USB2 and USB3 ports. I have a Mini PC and a laptop that do not have USB2 ports so I use a USB2 extension cable which ensures the adapter is working USB2 mode. |
@morrownr, yes, now I see that you are specifying this. It would have been nice to ask you who writes reviews what port they used. |
Hi @marvellz
Collecting some information can be problematic in that there are so many variables. Having enough information about USB ports to be useful is difficult because USB hardware is not all the same. It is made by many makers and the chips that run the ports is made by many makers and so on. I'll look to see if there is additional information that I can collect. There is also the option of stopping by here and asking for us to test specific situations.
That is a solid little chip and adapters are still available.
Let me see, you mentioned using Kali and Parrot so I'll take a wild guess and say you are doing pen testing or security analysis. What you did not mention is what kernel you are using. rtw88 has been improved greatly over the last year. I would recommend using kernel 6.12 or later for best results. Work is still in progress. You can install rtw88 from the following site if you want as this site is where the work is done: https://github.com/lwfinger/rtw88 In case you are wondering, installing the above rtw88 blacklists the internal rtw88 automatically. Work is still underway but you should find many improvements.' With that said, for security analysis, you might think about an adapter such as the EDUP EP-AX1672 or some of the other adapters in the mt7921au section of The Plug and Play List. I have one of the 1672's and can say that it is an excellent adapter at a reasonable price. Of course the 1673, that is also in the same list, is reported to be a good adapter at a lower price. The Panda adapter in the same list gets really good reviews also. For what it is worth, I have tested my 1672 on systems with everything from USB2 to USB3.2 and have seen no problems. It is a particularly compatible adapter but the rest of the adapters in the Plug and Play List are pretty good as well. I heavily filter adapters for The Plug and Play List. The ones that make it onto the list are the best of the best. |
@morrownr, hm, thx, but EDUP is too expensive for me. Considering that I'm just an amateur (hobby) in this area.
And I'm also looking for convenience, so that it works "out of the box" and preferably in VB, I rarely use LiveUSB. 10$ - price is reasonable, maybe it's worth the risk? 😁 |
That looks like the Comfast one I have. |
It doesn't have good reception. |
Is everything bad?)))
This is one of the reasons why I never bought Alpha. I was always told that Alpha is more powerful, it shows more networks, but I don't need it, I don't need a network at 100-200 meters, so I think it's not critical for me. Or what do you mean by weak reception? If that adapter it sees network and catches handshake at 15 meters, that's enough for me. |
It looks like a whitebox version of the Fenvi FU-AX1800. Not everyone needs an adapter with long range so a <=$10 adapter may work fine. Nobody should expect high quality amps and antennas in a low cost adapter. |
I can confirm all USB ports on some of my USB controllers are bad with slow speed and stability issues. Used Realtek USB 2.5g ethernet (0bda:8156), USB wifi mt7921u, and USB HDMI 4K Cam Link capture device, all devices works fine on good USB controllers. On AM4, 4 USB ports comes from CPU, the rest comes from chipset. Total number of USB controller is 2, 3, or 4; depends on CPU plus chipset. To determine which port is which controller: watch -n 0.2 lsusb -tv. My bad USB controllers:
My questionable stability of USB controllers:
My good USB controllers.
All my bad USB controllers are more than 5 years old. This may be a possible old age chip degradation. |
@sam8641, honestly? I don't care about speed. Such a chip MT7921 is taken not for speed, but to support monitor and injection modes. |
Thx, @morrownr, I received the adapter. It's great! I appreciate your work, thanks for updating the info! |
Glad it worked out for you. Let us know how the adapter works for you over the longer term. |
Yes, there is a strange thing, in LiveUSB (ParrotOS v6.2-6.3.1) it works worse than in VB, which is strange... Usually it's the other way around. |
Hello all,
I've been helping users of USB WiFi adapters for some years now and I have noticed that problems are generally first blamed on the driver in use. I get that. However, our USB WiFi adapters depend on support from multiple stacks (USB and WiFi). There is also the issue of hardware compatibility which may require that you change one or more BIOS / UEFI settings.
Below is an example of using an older USB WiFi adapter on a new system. The post is from a Debian forum:
https://forums.debian.net/viewtopic.php?t=159402
Note that this user was able to stabilize his USB WiFi adapter after changing BIOS / UEFI settings and switching to a different port.
The USB related problems that I have noticed over the last few years that contribute to problems for our adapters:
USB 3.2 gen 2 ports can be problematic, especially with older adapters such as the one in the forum post above. The mt7612u is a favorite chip among Linux users but it was initially released over 10 years ago and could not be tested with modern USB 3.2 gen 2 ports because they did not exist at the time.
USB ports wear over time and various things can happen if contacts are not solid.
It is always a good idea to try a different USB port if you have a problem.
There are problematic USB 3 hub chips and problematic USB drivers.
There are USB BIOS / UEFI settings that can cause problems.
When in doubt, if you have a USB 2 port, give it a try. USB 2 is simply more stable than USB 3 and in most cases, it is fast enough for the use case.
Powered USB hubs and extension cables can be problematic. Plug the adapter directly into a port to test if this could be a problem.
Some USB subsystems do not provide spec power leaving you in a low power condition. I am looking at you RasPi.
Specific BIOS / UEFI settings for USB WiFi adapters
Note: When troubleshooting, it is a best practice to only change one setting at a time and then test. If the test does not provide the desired result, return the setting to its previous state.
Recommended setting: disabled
Legacy USB support enabled allows older USB devices to work on newer operating systems, and vice versa. It's also known as USB Keyboard or USB Mouse support. It allows older USB devices to be recognized, initialized, and configured during the boot process. Enabling Legacy USB Support can cause a variety of problems with modern hardware. Only enable this setting if you absolutely need it.
Recommended setting: enabled
xHCI Hand-off enabled means that the BIOS / UEFI lets the operating system handle the driver support of your onboard USB 3.0 ports.
Note: There is a lot of confusion about this setting. It appears that some motherboard makers document this setting wrong or support is coded for it wrong so you may simply have to try both settings to see which one works best in your setup.
Recommended setting: disabled
eHCI Hand-off enabled means that the BIOS / UEFI lets the operating system handle the driver support of your onboard USB 2.0 ports.
Recommended setting: enabled
The USB mass storage driver is used to communicate with mass storage devices such as flash drives, external hard drives, and other types of removable media connected through USB.
Recommended setting: 5
To optimize USB transfer time-out in your BIOS / UEFI , set it to the lowest value that still allows your devices to function properly, typically around 5-10 seconds; this ensures faster data transfer while preventing unnecessary delays if a device takes longer to respond. If you are using older or slower USB devices, you might need to increase the timeout to prevent transfer errors.
Recommended setting: 10
The "best" BIOS / UEFI setting for "Device reset time-out" depends on your specific hardware and needs, but generally, a timeout of 10-20 seconds is recommended to ensure proper device recognition and prevent potential boot issues. If you have a lot of USB devices USB devices connected and have problem, increase the setting. If the timeout is too short, your computer might not fully recognize a device, leading to boot errors or issues with peripherals, especially if they take a bit longer to initialize.
Recommended setting: Manual
Manual will allow you to control the delay in order to test for the setting that works best for your system.
Recommended setting: 2 (increase this setting if you see unexplained problems with a device)
This setting controls the amount of time your computer waits after power is turned on before it starts powering up connected devices, giving them a brief window of time to initialize properly. If you have devices that sometimes don't initialize quickly or if you see unexplained problems with a device, a slightly longer delay may help prevent errors.
If you frequently need to access your BIOS settings, a small delay (like 1-2 seconds) might be beneficial to give you enough time to press the BIOS access key (usually Del or F2) upon power-up.
I hope this helps and I am going to pin this issue. Feel free to add your own ideas and experiences.
@morrownr
The text was updated successfully, but these errors were encountered: