Open leongithub opened 1 year ago
Hi! Got the same trouble. Ubuntu 22.04 kernel 5.19.0-32-generic
same problem
Hi! Got the same trouble. Ubuntu 22.04 kernel 5.19.0-32-generic
same here
Got the same error!
Is there a workaround?
Hi, I had got the same error. Then I used this driver https://github.com/morrownr/8821cu-20210916 to replace the old one, and the network recoverd.
Hi, I had got the same error. Then I used this driver https://github.com/morrownr/8821cu-20210916 to replace the old one, and the network recoverd.
Can confirm, this one compiles without errors and works afterwards.
But I have one additional question, someone may know to fix.
Very often my WiFi won't work anymore, when I reboot after an update/upgrade my Ubuntu 22.04 LTS by:
sudo apt update & sudo apt upgrade
Then the WiFi-Adapter won't work anymore until I completely recompile "reinstall" it (only uninstall and install without recompiling won't work).
I wrote some automated script to do that for me, so that I don't have to input the commands all the time by hand:
#!/bin/bash
# Change into sourcecode directory
#cd ~/Downloads/rtl8821cu/ # Previous repo (not working currently)
cd ~/Downloads/8821cu-20210916 # Current working repo
# Grab changes if there are some
git pull
sudo make clean
sudo make
sudo make uninstall
sudo make install
#---------------
#Edit: Optional Modprobe
#sudo modprobe 8821cu
#---------------
But that is soooo annoying, because I need to wait that the driver got recompiled and reinstalled -_-. So, has anyone the same problem and know how to avoid that behaviour?
Kind regards, Deph
@Dephrilibrium's steps worked for me
@Dephrilibrium's steps worked for me
And maybe add another command to make it work
sudo modprobe 8821cu
@Dephrilibrium's steps worked for me
And maybe add another command to make it work
sudo modprobe 8821cu
Thanks for the hint. Personally I use the auto modeswitch described by the author in the repositories README.md, but I will add it in a second.
Kind regards, Deph
@Dephrilibrium's steps worked for me Thank you Bro! no more cables to work hehehe
Olá, eu tive o mesmo erro. Então usei este driver https://github.com/morrownr/8821cu-20210916 para substituir o antigo e a rede recuperou.
this one worked
Hi, I had got the same error. Then I used this driver https://github.com/morrownr/8821cu-20210916 to replace the old one, and the network recoverd.
Cheers this worked for me :)
Hi, I had got the same error. Then I used this driver https://github.com/morrownr/8821cu-20210916 to replace the old one, and the network recoverd.
Can confirm, this one compiles without errors and works afterwards.
But I have one additional question, someone may know to fix.
Very often my WiFi won't work anymore, when I reboot after an update/upgrade my Ubuntu 22.04 LTS by:
sudo apt update & sudo apt upgrade
Then the WiFi-Adapter won't work anymore until I completely recompile "reinstall" it (only uninstall and install without recompiling won't work).I wrote some automated script to do that for me, so that I don't have to input the commands all the time by hand:
#!/bin/bash # Change into sourcecode directory #cd ~/Downloads/rtl8821cu/ # Previous repo (not working currently) cd ~/Downloads/8821cu-20210916 # Current working repo # Grab changes if there are some git pull sudo make clean sudo make sudo make uninstall sudo make install #--------------- #Edit: Optional Modprobe #sudo modprobe 8821cu #---------------
But that is soooo annoying, because I need to wait that the driver got recompiled and reinstalled -_-. So, has anyone the same problem and know how to avoid that behaviour?
Kind regards, Deph
Unfortunately, it not works for me. Until a definitive solution shows up, I will keep the kernel 5.17.15 as default in my Ubuntu 22.04.
rtl8821CU/8821cu-20210916/hal/hal_com.c:13781:17: error: too many arguments to function ‘rtw_halmac_bf_cfg_csi_rate’
13781 | rtw_halmac_bf_cfg_csi_rate(adapter_to_dvobj(adapter),
| ^~~~~~
In file included from /home/benson/rtl8821CU/8821cu-20210916/hal/hal_com.c:23:
/home/benson/rtl8821CU/8821cu-20210916/hal/../../hal/hal_halmac.h:229:5: note: declared here
229 | int rtw_halmac_bf_cfg_csi_rate(struct dvobj_priv *d, u8 rssi, u8 current_rate,
| ^~~~~~
comment out as following in hal_com.c: #13781 rtw_halmac_bf_cfg_csi_rate(adapter_to_dvobj(adapter), p_dm_odm->rssi_min, bf_info->cur_csi_rpt_rate, fix_rate_enable, &new_csi_rate_idx); // , &rrsr_54_en);
temp_rrsr = rtw_read32(adapter, REG_RRSR);
// if (rrsr_54_en == 1)
// temp_rrsr |= RRSR_54M;
// else if (rrsr_54_en == 0)
// temp_rrsr &= ~RRSR_54M;
rtw_phydm_set_rrsr(adapter, temp_rrsr, FALSE);
Heyho everyone,
yesterday I've made an update/upgrade of my ubuntu 22.04 LTS. Thereby, the latest kernel (6.2.0-26-generic) was installed, and my dongle showed no WiFi anymore in the taskbar network-window.
After playing around and a lot of restarts and recompile-tries, I came up with the idea, that linux is may confused by the different drivers, still stored within the different kernel-version folders in /lib/modules/
(see Makefile: MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/
).
Therefore I decided to delete all my older kernel version folders (sudo rm -r 5*
), restarted the PC and recompiled with my script above https://github.com/brektrou/rtl8821CU/issues/206#issuecomment-1435713760. One restart later, everything worked well again.
Hope that helps, if some is struggling with the same problem.
Deph
/var/lib/dkms/rtl8821CU/5.4.1/build/make.log
I recently upgraded the kernel version and reinstalled it and it went wrong. ask for help