On Mon, Oct 14, 2024 at 11:04 AM David Wright <deb...@lionunicorn.co.uk> wrote: > > On Mon 14 Oct 2024 at 07:09:22 (-0400), Lee wrote: > > I have a Lenovo G3 laptop running Debian 12 with wi-fi that works for > > minutes at a time. > > > > I've tried a lot of suggested changes to /etc/modprobe.d but none have > > fix my wi-fi problem. > > One post I saw said their laptop worked when they tried Ubuntu Live. Same > > here! > > > > My laptop is set to do a UEFI boot [?? I really don't know the proper > > terms]. > > Is there a "proper" place to get firmware from or should I just get it off > > the > > Ubuntu USB stick? > > And once I get the firmware, what do I have to do to get Debian to use > > that instead of > > the most probably broken firmware it's using now? > > > > For comparision, log messages for the wireless card when running > > Ubuntu list the firmware > > as version 9.9.15 > > > > ubuntu@ubuntu:~$ sudo dmesg | grep -i 8822ce > > [ 20.205438] rtw_8822ce 0000:02:00.0: enabling device (0000 -> 0003) > > [ 20.239352] rtw_8822ce 0000:02:00.0: WOW Firmware version 9.9.4, > > H2C version 15 > > [ 20.243721] rtw_8822ce 0000:02:00.0: Firmware version 9.9.15, H2C > > version 15 > > [ 20.297759] rtw_8822ce 0000:02:00.0 wlp2s0: renamed from wlan0 > > > > and the log messages when running Debian and wireless is mostly > > unusable show the > > firmware as 9.9.14 > > > > ----- Debian > > [ 4.206179] rtw_8822ce 0000:02:00.0: enabling device (0000 -> 0003) > > [ 4.208338] rtw_8822ce 0000:02:00.0: firmware: direct-loading > > firmware rtw88/rtw8822c_wow_fw.bin > > [ 4.208346] rtw_8822ce 0000:02:00.0: Firmware version 9.9.4, H2C version > > 15 > > [ 4.208366] rtw_8822ce 0000:02:00.0: firmware: direct-loading > > firmware rtw88/rtw8822c_fw.bin > > [ 4.208368] rtw_8822ce 0000:02:00.0: Firmware version 9.9.14, H2C > > version 15 > > [ 4.326996] rtw_8822ce 0000:02:00.0 wlp2s0: renamed from wlan0 > > > > I don't know if there's some other difference, but it'd be nice to see > > if just upgrading to > > Firmware version 9.9.15 fixes my wifi. But how to do that? > > Try stealing the firmware file from the ubuntu installation and > placing it in Debian's /lib/firmware/rtw88/ yourself.
At least the laptop still boots. I booted from the Ubuntu USB stick and copied rtw8822c_fw.bin.zst rtw8822c_wow_fw.bin.zst reboot into Debian and renamed /lib/firmware/rtw88 rtw8822c_fw.bin to rtw8822c_fw.bin.orig rtw8822c_wow_fw.bin to rtw8822c_wow_fw.bin.orig copied the rtw88c*zst files to /lib/firmware/rtw88 and unzstd rtw8822c_fw.bin.zst unzstd rtw8822c_wow_fw.bin.zst reboot and it looks like the 9.9.15 firmware loads but wifi is still broken :( $ sudo dmesg | grep 8822 | more [ 4.324839] rtw_8822ce 0000:02:00.0: enabling device (0000 -> 0003) [ 4.325612] rtw_8822ce 0000:02:00.0: firmware: direct-loading firmware rtw88/rtw8822c_wow_fw.bin [ 4.325622] rtw_8822ce 0000:02:00.0: Firmware version 9.9.4, H2C version 15 [ 4.325648] rtw_8822ce 0000:02:00.0: firmware: direct-loading firmware rtw88/rtw8822c_fw.bin [ 4.325649] rtw_8822ce 0000:02:00.0: Firmware version 9.9.15, H2C version 15 [ 4.424742] Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000c lmp_ver=0a lmp_subver=8822 [ 4.425746] Bluetooth: hci0: RTL: loading rtl_bt/rtl8822cu_fw.bin [ 4.426201] bluetooth hci0: firmware: direct-loading firmware rtl_bt/rtl8822cu_fw.bin [ 4.426224] Bluetooth: hci0: RTL: loading rtl_bt/rtl8822cu_config.bin [ 4.426295] bluetooth hci0: firmware: direct-loading firmware rtl_bt/rtl8822cu_config.bin [ 4.446717] rtw_8822ce 0000:02:00.0 wlp2s0: renamed from wlan0 [ 44.734789] rtw_8822ce 0000:02:00.0: firmware failed to report density after scan [ 47.890293] rtw_8822ce 0000:02:00.0: failed to send h2c command [ 47.893324] rtw_8822ce 0000:02:00.0: failed to send h2c command [ 49.974705] rtw_8822ce 0000:02:00.0: firmware failed to leave lps state [ 51.894806] rtw_8822ce 0000:02:00.0: firmware failed to leave lps state [ 51.898193] rtw_8822ce 0000:02:00.0: failed to send h2c command [ 54.134727] rtw_8822ce 0000:02:00.0: firmware failed to leave lps state [ 54.138153] rtw_8822ce 0000:02:00.0: failed to send h2c command [ 54.141249] rtw_8822ce 0000:02:00.0: failed to send h2c command [ 54.144316] rtw_8822ce 0000:02:00.0: failed to send h2c command [ 55.926858] rtw_8822ce 0000:02:00.0: firmware failed to leave lps state [ 55.930109] rtw_8822ce 0000:02:00.0: failed to send h2c command I don't remember those Bluetooth log msgs from before, so let me try copying all of the rtw88/*8822* files over to the laptop and try again.. Thanks Lee