Comments (3)
This sounds familiar. I've been working what sounds like your issue and others that are closely related for over 2 months and am still working on it. First let me tell you what I know and then we can see if we can figure this out.
If you are going to be using usb wifi adapters on a RasPi4x, my extensive testing shows only 2 ultra stable chipsets in the AC1200 class. The rtl8812au and the mt7612u. How do I know this? You can see that I maintain 5 out-of-kernel drivers here and maintain an information site here as well. I use these drivers and am constantly testing them.
Of the 5 Realtek drivers here, 3 of them show issues similar to what you are seeing on the RasPi4x: 88x2bu, 8814au and 8821cu. The 8812au and 8821au do not show the problem. Initially I thought it was a driver problem so I spent a lot of time to trying to trace flow around the drivers. I could not track down a problem as the problems seemed to be moving around. To make a long story short, I can get stable function on a RasPi4b now with the drivers as they are but the USB adapter has to be the only USB device plugged in and I have shut off other subsystems that use power such as the onboard wifi and bt.
I ordered a USB power meter the other day. I don't have it yet but I will document what I find when able. I think the problem is RasPi4x specific and has to do with power and the USB subsystem. Of course, there could be a lot of things at play so as I have time, I will continue to investigate.
Something could help is if you would provide very specific details of your entire setup.
Regards.
from 88x2bu.
Very interesting.
To give you a better description of our custom board. We have a built in 5 amp power controller with two surface mount wifi modules. I can also verify that the wifi modules are getting the correct amount of power as the power controller is directly powering them outside of the CM4. I had previously thought a power issue may be at play, but after moving from our Raspberry Pi prototypes to the new board I am fairly convinced power was not the problem (I am not certain exactly how to prove this within the module has we did not design these specific modules).
I was leaning more towards either a driver or an ifconfig issue. I had suspected that ifconfig had been creating the given interface instead of iw and that was causing some underlying problem. I happened upon a successful call when I typed in the wrong interface name and managed to properly delete the 8812au interface without issue.... This drove me back to thinking that it had to be a driver issue, but maybe there is something else that I am just not thinking of.
from 88x2bu.
I'm perfectly willing to work on the driver but without a good handle on what the problem is, I can't see that as something productive to do. I just started testing on a RasPi3b to see if that helps narrow things down.
I didn't ask you what mode you are using. I only see this "going down" problem when in AP mode and generally only when using 80 MHz channel width.
Have you checked to see if backfeeding is an issue? That is, current from your external power supply feeding back into the board? The RasPi4 is well known to not handle that well at all.
Why this is not a problem with 3 of the wifi chipsets and is a problem with 3 is not known but I compared source and cannot determine a problem. Here is what I noticed but I don't know if it has to do with anything:
The chipsets that don't work well:
rtl8812bu
rtl8814au
rtl8821cu
The chipsets that work well:
mt7612u
rtl8812au
rtl8811au
The chipsets that work well are the 3 oldest chipsets. The driver for the mt7612u is in the Linux kernel and is a very good standards compliant driver. The driver for the 8812au is the best driver I have ever seen come out of Realtek. It is a really good driver.
from 88x2bu.
Related Issues (20)
- Ubuntu 18.04 work well HOT 2
- Newer driver available at DLINK HOT 1
- Computer freezes static and background audio playback (like youtube) loops HOT 1
- First time didn't work because of multiple kernels available
- is it suitable for 8832bu ?
- (info) Just wanted to thank you for making this... HOT 6
- [help wanted]wpa_supplicant fail with driver wext but success with nl80211 HOT 1
- (solution found) Cannot compile on CentOS7 3.10.0-1160.42.2.el7.x86_64 HOT 17
- Suggestion: Add Asus AC53 Nano to the list of working devices HOT 1
- (interesting discussion) How to cross-compile for OpenWrt? HOT 4
- no 5GHz anything HOT 5
- system lockup on interface deletion/addition HOT 3
- RTL8812BU adapter less sensitive on Ubuntu HOT 3
- 2.4 ghz channel does not work in ARM HOT 3
- Cudy AC1300, Station can't see AP with the same dongle, in Scan results HOT 4
- Makefile Error: Raspberry Pi OS (64 bit) support was turned on in Makefile as planned HOT 10
- TEROW ROW02FD vs ROW02CD. Same adapter both uses MT7612u or no? HOT 1
- May be worth calling out the importance of `rtw_switch_usb_mode` in the README HOT 6
- Please consider adding `rtw_dfs_region_domain` to config file HOT 7
- New 88x2bu driver v5.13.1-20-gbd7c7eb9d.20210702 HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 88x2bu.