Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sudo modprobe rtw_8723de - modprobe: ERROR: could not insert 'rtw_8723de': Invalid argument #155

Open
RamiroCastillo opened this issue Jul 18, 2023 · 1 comment

Comments

@RamiroCastillo
Copy link

I can't use my wifi on my laptop

I have an HP laptop on which I installed Ubuntu 22.04, the Wi-Fi hardware feature is RTL8723DE 802.11b/g/n PCIe Adapter Realtek Semiconductor Co., Ltd. and the current kernel version is 5.15.0-76-generic .

I followed all the steps indicated for the installation

  1. sudo apt-get update
    sudo apt-get install make gcc linux-headers-$(uname -r) build-essential git

  2. git clone https://github.com/lwfinger/rtw88.git
    cd rtw88
    make
    sudo make install
    Install rtw88 success

  3. sudo modprobe -r rtw_8723de

  4. sudo modprobe rtw_8723de
    modprobe: ERROR: could not insert 'rtw_8723de': Invalid argument

After executing the steps and it returns an error, I wanted to verify if the modules were loaded with the command
lsmod | grep rtw but it didn't show me anything. What could be the cause of this?

I also got the dmesg command output but couldn't interpret it.

Could you please help me with this.

Thank you so much.

dmesg.txt

@lwfinger
Copy link
Owner

Sorry it took a long time to answer you.

Your modules are not loaded.

The messages such as the following are the problem:
rtw_core: disagrees about version of symbol ieee80211_connection_loss
rtw_core: Unknown symbol ieee80211_connection_loss (err -22)
rtw_core: disagrees about version of symbol ieee80211_report_wowlan_wakeup
rtw_core: Unknown symbol ieee80211_report_wowlan_wakeup (err -22)
rtw_core: disagrees about version of symbol ieee80211_txq_get_depth
rtw_core: Unknown symbol ieee80211_txq_get_depth (err -22)
rtw_core: disagrees about version of symbol ieee80211_probereq_get
rtw_core: Unknown symbol ieee80211_probereq_get (err -22)
rtw_core: disagrees about version of symbol ieee80211_iterate_stations_atomic
rtw_core: Unknown symbol ieee80211_iterate_stations_atomic (err -22)
rtw_core: disagrees about version of symbol ieee80211_start_tx_ba_session

This kind of problem happens when the kernel headers do not match the running kernel. That should not happen. Your dmesg.txt shows that you have booted kernel "5.15.0-76-generic". Run the following:

make clean
make

and post the first 3 lines that the make step outputs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants