-
Notifications
You must be signed in to change notification settings - Fork 176
Does not work on Raspberry Pi OS Linux Kernel 5.4.51 #44
Comments
Would like to know as well. |
Hello, |
Yeah, found 5.8.3 driver, and was able to compile it on x64 Debian 10, and have the dongle working on x64 Debian 10 on AMD/Intel. But the 5.8.3 driver source does not seem to have any configuration options for Raspberry Pi. It does have Android ARM support, so there might be a way to get something working for Pi. I will try as you suggest in the next few days. This last weekend, I pulled from GitHub 6 or 7 different projects that all reference the 8811 chipset, and each one fails on the newer 5.x kernels. So basically for Raspberry Pi, every single GitHub project I tried, failed to work. Most I could compile, but everyone generated a backtrace and tainted the kernel or such, failed. |
Thank you for your answer. |
In case it helps, I have successfully used brektrou/rtl8821CU on a Raspberry Pi 3 B with Raspberry OS, kernel 5.4.51. |
I got the newer driver when I got a newer dongle, the newer driver compiles with ease on Intel x86-64 Debian 10, but looking at the source code, it has no support for Pi, only Intel/AMD and some various Android OS variants... which seems odd. Usually the Realtek website has updated stuff as well. Oh, brektrou worked? I thought I tried that one as well, will look at it again. |
I had tried Brektrou previously without success. It may be that it doesn't work with the Pi4 for some reason? |
Yeah, I could not get it to work. I have yet to find any 8811CU variant or compatible driver to work with 5.x kernel. Odd, because I have gotten Intel/AMD default compile to work on Intel/AMD hardware. So this really comes down to ARM v7 support. I tried on a Pi4 as well. I have a Pi3... I may try on it as well when I get a chance. |
I can confirm the driver works fine on Raspi 4 with a PiHUT Raspberry Pi Dual-Band 5GHz/2.4GHZ USB WiFi Adapter with Antenna (Chipset rtl8821cu) |
To compile the driver from [brektrou/rtl8821CU], did you have to change the platform option in the MakeFile to or did you use CONFIG_PLATFORM_ARM64_RPI ? |
I should have mentioned that I built from the I didn't make either of those changes (there are no Here's the 32-bit version of the tweak:
|
ah ic. Well, I made the ARM tweaks and got it working. Thanks.
…On Thu, 22 Oct 2020 at 17:52, Tommy Goode ***@***.***> wrote:
I should have mentioned that I built from the 5.8.1 branch.
I didn't make either of those changes (there are no RPI-specific config
entries in the 5.8.1 makefile), but I did note that I had to do the "ARM
architecture tweak" noted in the README
<https://github.com/brektrou/rtl8821CU#arm-architecture-tweak-for-this-driver-this-solves-compilation-problem-of-this-driver>
.
Here's the 32-bit version of the tweak:
sudo cp /lib/modules/$(uname -r)/build/arch/arm/Makefile /lib/modules/$(uname -r)/build/arch/arm/Makefile.$(date +%Y%m%d%H%M)
sudo sed -i 's/-msoft-float//' /lib/modules/$(uname -r)/build/arch/arm/Makefile
sudo ln -s /lib/modules/$(uname -r)/build/arch/arm /lib/modules/$(uname -r)/build/arch/armv7l
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#44 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAQWGN35S4ZCQILRRWLLX23SL7JBPANCNFSM4QS54U5A>
.
|
Hey guys, still no luck on my side, even after trying all kinds of fixes. Using Arch on ARM and Raspberry Pi OS on a RPi2.
Any ideas on how to further debug? |
I got a different variant of this driver to work on my Pi3. So that might provide a clue for how to get this driver version to work. Check out... https://github.com/brektrou/rtl8821CU I had to set the Makefile for ARM v7 (32 bit not 64 bit). And follow the ARM processor tweak in the readme. I used the DKMS based method. It took a while to compile but it was successful. If you check the issue list, I documented the kernel version I was running. |
As per the Raspberry Pi OS major release documentation (https://downloads.raspberrypi.org/raspios_armhf/release_notes.txt), the Raspberry Pi OS Linux kernel was changed from 4.19.118 to 5.4.51 on 20th August.
Since that time, this driver no longer works on the Raspberry Pi 4 (was working fine on the old kernel).
Is there a way we can tweak the driver to get this working on the newer kernel, or does it require a new version from Realtek?
The text was updated successfully, but these errors were encountered: