Giter Club home page Giter Club logo

Comments (3)

morrownr avatar morrownr commented on September 23, 2024

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.

crgorect avatar crgorect commented on September 23, 2024

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.

morrownr avatar morrownr commented on September 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.