Giter Club home page Giter Club logo

Comments (10)

PieGuy314 avatar PieGuy314 commented on June 22, 2024

try rtw_switch_usb_mode=1 in '/etc/modprobe.d/88x2bu.conf'

from 88x2bu-20210702.

mlewus avatar mlewus commented on June 22, 2024

I tried that, it just breaks it. It crashes multiple times and gives up, with no wifi interface. Anyone have any other ideas? Or should I just disregard the error messages on startup?

from 88x2bu-20210702.

PieGuy314 avatar PieGuy314 commented on June 22, 2024

Is the USB hub powered?

from 88x2bu-20210702.

mlewus avatar mlewus commented on June 22, 2024

Good question :) The hub is buried inside a magic mirror, and I don't remember if it was a powered hub. I'm really trying to not have to open it up. But I don't think it's a power problem because once it gets started it works fine. I just get the initial two or three crashes at startup, and then it initializes and works after that. Maybe I should just leave well enough alone and forget it.

from 88x2bu-20210702.

PieGuy314 avatar PieGuy314 commented on June 22, 2024

The errors are consistent with the Wi-Fi adaptor failing during boot. The initial current draw on these adaptors is high. Having an unjuiced hub isn't going to help. The fact that it eventually works suggests a power supply issue.

It's wrong to assume a USB port can power a hub with a load of gadgets hanging off it. Been there; learnt that.

from 88x2bu-20210702.

morrownr avatar morrownr commented on June 22, 2024

Hi @mlewus

I tried that, it just breaks it. It crashes multiple times and gives up, with no wifi interface.

Ouch. Not a good idea to force USB3 when the adapter is not in a USB3 capable port.

Or should I just disregard the error messages on startup?

This. I did not see any unknown entries and I did not see anything that looked like an operational bug report. Realtek's logging with this driver is not going to win them any prizes. I suggest:

rtw_drv_log_level=0

...and press on. This is actually a pretty good driver for a Realtek out-of-kernel driver but that **** it spews in the log is just noise. I ignore it.

from 88x2bu-20210702.

PieGuy314 avatar PieGuy314 commented on June 22, 2024

try rtw_switch_usb_mode=1 in '/etc/modprobe.d/88x2bu.conf'

I think I meant to write 'rtw_switch_usb_mode=0'

Apologies.

from 88x2bu-20210702.

mlewus avatar mlewus commented on June 22, 2024

i’ll try mode 0 but failing that, as long as it keeps working I’ll just ignore it.

from 88x2bu-20210702.

morrownr avatar morrownr commented on June 22, 2024

Hey @PieGuy314

Long time, no see. How is it going? I'm still waiting for you to rewrite the logging code in this driver... he he

from 88x2bu-20210702.

mlewus avatar mlewus commented on June 22, 2024

Changing the USB mode from 2 to 0, no effect. But other than startup messages the adapter is reliable, which is way more than I can say for the internal Wi-Fi chip on the pi 4. That one was crashing on a daily basis, requiring me to rmmod/modprobe the driver to get it back up. This is way better. Thanks for all the work will you guys put into this!

from 88x2bu-20210702.

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.