morrownr / 8821au-20210708

Linux Driver for USB WiFi Adapters that are based on the RTL8811AU and RTL8821AU Chipsets - v5.12.5.2
Other
541 stars 79 forks source link

Driver not working after update #137

Open Stachelbeere1248 opened 1 month ago

Stachelbeere1248 commented 1 month ago

Yesterday I updated my zypper packages on OpenSUSE Tumbleweed, resulting in updating this driver (rtl8821au) as well as the kernel, however it appears to not find any wireless networks. What information can I provide to get some help, and could this be related to this new package "rtw88"?

Originally posted by @Stachelbeere1248 in https://github.com/morrownr/8821au-20210708/issues/133#issuecomment-2117075075

I updated the kernel from 6.8.7-1-default to 6.8.9-1-default, along with the package from my package manager. What additional information can I provide? here is the journalctl if that helps.

belzerus commented 1 month ago

The log indicated that you cannot find the firmware.

hiddev100,hidraw8: USB HID v1.11 Device [ROCCAT ROCCAT Kone Pro] on usb-0000:00:14.0-8/input3
May 17 11:20:28 localhost kernel: rtw_8821au 1-4:1.0: Direct firmware load for rtw88/rtw8821a_fw.bin failed with error -2
May 17 11:20:28 localhost kernel: rtw_8821au 1-4:1.0: failed to request firmware
May 17 11:20:28 localhost kernel: 00000000: 29 81 00 7c 01 00 01 00 4c 00 04 00 10 00 00 00  )..|....L.......
May 17 11:20:28 localhost kernel: 00000010: 26 26 26 26 26 26 2f 2f 2f 2f 2f ff ff

Can you double-check that the firmware exists on the platform and what permission and checksum it has? Send back output of:

ls -la /lib/firmware/rtw88/rtw8821a_fw.bin

and

md5sum /lib/firmware/rtw88/rtw8821a_fw.bin
lwfinger commented 1 month ago

If those commands result in the file not being found, you need to run the following command from the rtw88 directory:

sudo cp rtw8821a_fw.bin /lib/firmware/rtw88/.

Stachelbeere1248 commented 1 month ago

The file is actually not found, however I am not entirely sure if an rtw88 directory with this file even exists. Would using the one from the rtw88 github repo just work?

morrownr commented 1 month ago

I finally had time to stop by and read this thread. Maybe I am lost but it sure looks to me like @Stachelbeere1248 is reporting a problem with the vendor driver in this repo and not with rtw88. We need to figure that out before offering help.

@Stachelbeere1248

Where did you get the driver that you are using?

Stachelbeere1248 commented 1 month ago

As I said in the first message of this thread I installed everything through my package manager zypper on OpenSUSE tumbleweed, specifically this repo https://download.opensuse.org/repositories/home:/Sauerland:/hardware/openSUSE_Tumbleweed/ in terms of rtl8821au.

lwfinger commented 1 month ago

@morrownr - That driver is from rtw88 including Bitterblue's most recent changes. Sauerland packages the kernel modules for rtw89 and rtw88 for the openSUSE distributions.

@Stachelbeere1248 - The firmware has been submitted to linux-firmware, but not yet merged. You should clone https://github.com/lwfinger/rtw88.git, cd to the directory, and run the cp command from my previous post.

morrownr commented 1 month ago

@lwfinger

That driver is from rtw88 including Bitterblue's most recent changes. Sauerland packages the kernel modules for rtw89 and rtw88 for the openSUSE distributions.

Thanks for the explanation. There are several distros that package the vendor driver in this repo but I was unaware that any distros were packaging your rtw88. Sorry for stepping in. I will depart now.