Giter Club home page Giter Club logo

Comments (7)

morrownr avatar morrownr commented on September 24, 2024 1

Hi @TbilisiHeat

Glad to hear that things are looking good. It takes time to be fully comfortable with a new operating system. All I ask in return is that you take a little time to help novices once you have more experience.

Regards

from 88x2bu-20210702.

morrownr avatar morrownr commented on September 24, 2024

Hi @TbilisiHeat

I'm pretty sure the issue is with gcc 11.2. Let me take a look at my current arrangement here to see how best to go ahead and test with gcc 11.2.

The problem is not with the kernels as there are many people running kernels all the way to and including 5.16. My main dev box has 5.13.

You are welcome. I don't know if you have taken a look around but I have several repos up:

https://github.com/morrownr?tab=repositories

I've used Linux since the mid-90's and was well aware of the struggles Linux users have had with USB WiFi so when COVID hit, it was the perfect opportunity to help Linux users and keep myself away from the virus. I am old enough that the virus could be a problem for me.

Stay tuned.

from 88x2bu-20210702.

morrownr avatar morrownr commented on September 24, 2024

Well, that took less time than anticipated. I have to say that I was wrong, it is not gcc 11.2. The story:

I went to my little lab to see if I had any test systems that used gcc 11.2. I found it on a clean install of Ubuntu 21.10 amd64. I went about following the installation instructions in the README after plugging the 8812bu adapter in. I fully expected the compilation to blow up but it did not. It was a clean compile and I could find nothing wrong. After thinking about it, if there was a problem with Ubuntu 21.10, this and the other repos would be inundated with reports as this site gets thousands of hits per week... which is why I try to be very careful.

So, a clean compile with kernel 5.13 and gcc 11.2. Let's talk...

I noticed you said Ubuntu 18.04 and gcc 11.2 and then several LTS kernels. What that tells me is that you have a Frankenstein OS. You have parts from here and parts from there. I agree that it is cool to play and we can learn a lot from playing around but that makes it almost impossible for me to actually duplicate the problem.

Here is my recommendation: Save the important files from your current 18.04 installation and do a clean (format c:) type of installation of Ubuntu 21.10.

Fair enough?

Regards

from 88x2bu-20210702.

TbilisiHeat avatar TbilisiHeat commented on September 24, 2024

Hi Nick,

I apologize but I made a small error in my original post. I just ran gcc --version on my Ubuntu 18.04 machine and I was/am not running GCC 11.2. I am running GCC 7.5.0.

I'm unable to gut my 18.04 LTS machine currently as its a production machine and I have some old "Frankensteined" toys on it that I can't afford to break. Therefore, I pulled out my personal laptop, which has a relatively fresh Manjaro install, and upgraded the kernel to 5.15. I also ran gcc --version and it's on 11.1.0.

I updated the Manjaro install's headers and tried to install your driver. It built without issue, and then I plugged in the old Realtek/Edimax USB dongle from my Ubuntu 18.04 machine to test it out.

It worked perfectly and at full speed!

So my takeaway from this is now:

  • Your driver does work on Kernel 5.15 (specifically, 5.15.12-1) (after I installed the correct headers)
  • My Ubuntu 18.04 install's GCC version is super old.
  • Your driver worked on my Manjaro machine with GCC 11.1.0.

So, it looks more and more likely that your suggestion is the explanation: that my Ubuntu machine's old and/or "Frankenstein" status might be the cause of this driver being unable to be built on newer kernels. Perhaps also, in order to build this on a newer kernel than 5.4 and 5.7, I will need to upgrade my GCC version on the Ubuntu machine.

from 88x2bu-20210702.

morrownr avatar morrownr commented on September 24, 2024

So, it looks more and more likely that your suggestion is the explanation: that my Ubuntu machine's old and/or "Frankenstein" status might be the cause of this driver being unable to be built on newer kernels. Perhaps also, in order to build this on a newer kernel than 5.4 and 5.7, I will need to upgrade my GCC version on the Ubuntu machine.

Let me tell you something that you know. If you have a production machine that needs to remain stable and functional, you need to use another system for experimentation. The stock kernel for Ubuntu 18.04 is 5.4 I think so using 5.4 is a good idea.

Maybe you can find another system for experimentation. I know it is hard not to play around but as you found out in this case, it can lead to situations where it can be very difficult to figure out what the problem is.

Something that I recommend to those that like to expand their knowledge by upgrading specific parts of distros or by using non-mainstream distros, especially if using non-x86/amd64 processors, is to keep a usb wifi adapter around that uses in-kernel drivers. The in-kernel drivers can't be blown up like you saw in the case here. A good place to find usb wifi adapters that use in-kernel drivers is ...

https://github.com/morrownr/USB-WiFi

Regards

from 88x2bu-20210702.

TbilisiHeat avatar TbilisiHeat commented on September 24, 2024

Nick,

Thanks for the advice. I'm thinking the same way you are. I already have a Panda wireless dongle that I use for emergencies (it's fully plug and play via the Linux kernel drivers), but the reason why I rely on you and your driver, is that my old Edimax dongle is 5ghz compatible, while my Panda is only on 2.4. So - I need my Edimax (Realtek) working on my main machine (the Ubuntu 18.04 rig). Thankfully, on Kernel 5.4 LTS, it does, and works great.

On top of that, as mentioned earlier, I have a personal laptop with fully locked and loaded Manjaro on it, which is my main machine for Linux gaming and playing around.

Given your advice and reminders, I will definitely stick with Kernel 5.4 LTS on Ubuntu 18.04 until I'm able to do a full wipe and install to the next Ubuntu (coming in soon in April?). Also, will limit the tinkering to my Manjaro device.

Once again, thank you for your work here and for your support of Linux novices like myself!

from 88x2bu-20210702.

TbilisiHeat avatar TbilisiHeat commented on September 24, 2024

Final note - nuked my Ubuntu 18.04 system finally and replaced with Manjaro Gnome on Kernel 5.15. Also updated my laptop with Xubuntu 21.10, also on Kernel 5.15. Installed your driver on both (after installing 5.15 kernel headers), install worked perfectly without incident and my dongle works at full speed with zero drops.

Thanks again for your work on this driver!

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.