Re: How to load new firmware?
On Mon, Oct 14, 2024 at 12:45 PM Lee wrote:
>
> On Mon, Oct 14, 2024 at 12:30 PM Charles Curley wrote:
> >
> > On Mon, 14 Oct 2024 11:39:13 -0400
> > Lee <ler762@gmail.com> wrote:
> >
> > > At least the laptop still boots.
> > >
> > > I booted from the Ubuntu USB stick and copied
> > > rtw8822c_fw.bin.zst
> > > rtw8822c_wow_fw.bin.zst
> >
> > This is why I suggested the backport rather than copying in the file.
> > Please back these changes out, then try the backport (using apt or
> > apt-get, as the instructions indicate). If that doesn't work, try the
> > backport kernel.
>
> I think maybe I snipped a bit much from the ubuntu logs
> What I get on the latest ubuntu reboot is
>
> ubuntu@ubuntu:~$ sudo dmesg | grep 8822
> [ 14.239192] Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000c
> lmp_ver=0a lmp_subver=8822
> [ 14.240224] Bluetooth: hci0: RTL: loading rtl_bt/rtl8822cu_fw.bin
> [ 14.304422] Bluetooth: hci0: RTL: loading rtl_bt/rtl8822cu_config.bin
> [ 14.460342] rtw_8822ce 0000:02:00.0: enabling device (0000 -> 0003)
> [ 14.507966] rtw_8822ce 0000:02:00.0: WOW Firmware version 9.9.4,
> H2C version 15
> [ 14.517252] rtw_8822ce 0000:02:00.0: Firmware version 9.9.15, H2C version 15
> [ 14.765861] rtw_8822ce 0000:02:00.0 wlp2s0: renamed from wlan0
> ubuntu@ubuntu:~$
>
> So I'm working on copying all of the /lib/firmware/rt*/*8822* files to
> the corresponding Debian /lib/firmware dirs
That didn't do the trick :(
as far as I can tell, I got them all:
lee@laptop /lib/firmware
$ ls -l rt*| grep 8822
-rw-r--r-- 1 root root 14 Oct 14 12:02 rtl8822b_config.bin
-rw-r--r-- 1 root root 14 May 1 2023 rtl8822b_config.bin.orig
-rw-r--r-- 1 root root 51176 Oct 14 12:02 rtl8822b_fw.bin
-rw-r--r-- 1 root root 51176 May 1 2023 rtl8822b_fw.bin.orig
-rw-r--r-- 1 root root 33 Oct 14 12:02 rtl8822cs_config.bin
-rw-r--r-- 1 root root 33 May 1 2023 rtl8822cs_config.bin.orig
-rw-r--r-- 1 root root 62580 Oct 14 12:02 rtl8822cs_fw.bin
-rw-r--r-- 1 root root 62040 May 1 2023 rtl8822cs_fw.bin.orig
-rw-r--r-- 1 root root 6 Oct 14 12:02 rtl8822cu_config.bin
-rw-r--r-- 1 root root 6 May 1 2023 rtl8822cu_config.bin.orig
-rw-r--r-- 1 root root 59864 Oct 14 12:02 rtl8822cu_fw.bin
-rw-r--r-- 1 root root 59332 May 1 2023 rtl8822cu_fw.bin.orig
-rw-r--r-- 1 root root 127496 Oct 14 13:15 rtl8822befw.bin
-rw-r--r-- 1 root root 127496 May 1 2023 rtl8822befw.bin.orig
-rw-r--r-- 1 root root 150984 Oct 14 12:53 rtw8822b_fw.bin
-rw-r--r-- 1 root root 150984 May 1 2023 rtw8822b_fw.bin.orig
-rw-r--r-- 1 root root 202600 Oct 14 11:20 rtw8822c_fw.bin
-rw-r--r-- 1 root root 202552 May 1 2023 rtw8822c_fw.bin.orig
-rw-r--r-- 1 root root 145224 Oct 14 11:20 rtw8822c_wow_fw.bin
-rw-r--r-- 1 root root 145224 May 1 2023 rtw8822c_wow_fw.bin.orig
> If that doesn't work I'll back all that out and try backports again.
But before backing out all my updated files I tried getting the latest
kernel from backports.
Ubuntu boots up with 6.8.0:
ubuntu@ubuntu:/lib/firmware/rtlwifi$ journalctl -b
Oct 14 16:17:10 ubuntu kernel: Linux version 6.8.0-41-generic
(buildd@lcy02-amd64-100) (x86_64-linux-gnu-gcc-13 (Ubuntu
13.2.0-23ubuntu4) >
I couldn't find that in the backports list so I went with the latest I
could find 6.10.11
$ apt search linux-image | grep installed
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
linux-image-6.1.0-25-amd64/stable,now 6.1.106-3 amd64 [installed,auto-removable]
linux-image-6.1.0-26-amd64/stable-security,now 6.1.112-1 amd64
[installed,automatic]
linux-image-6.10.11+bpo-amd64/stable-backports,now 6.10.11-1~bpo12+1
amd64 [installed]
linux-image-amd64/stable-security,now 6.1.112-1 amd64 [installed]
still no joy:
$ sudo dmesg | grep 8822
[ 0.788226] pci 0000:00:1d.1: Adding to iommu group 11
[ 4.923073] rtw_8822ce 0000:02:00.0: enabling device (0000 -> 0003)
[ 4.923340] rtw_8822ce 0000:02:00.0: Firmware version 9.9.15, H2C version 15
[ 4.923746] rtw_8822ce 0000:02:00.0: WOW Firmware version 9.9.4,
H2C version 15
[ 4.996678] Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000c
lmp_ver=0a lmp_subver=8822
[ 4.997672] Bluetooth: hci0: RTL: loading rtl_bt/rtl8822cu_fw.bin
[ 4.998086] Bluetooth: hci0: RTL: loading rtl_bt/rtl8822cu_config.bin
[ 5.044220] rtw_8822ce 0000:02:00.0 wlp2s0: renamed from wlan0
[ 11.915629] rtw_8822ce 0000:02:00.0: failed to do dpk calibration
[ 20.982927] rtw_8822ce 0000:02:00.0: firmware failed to leave lps state
[ 22.902918] rtw_8822ce 0000:02:00.0: firmware failed to leave lps state
[ 22.906602] rtw_8822ce 0000:02:00.0: failed to send h2c command
[ 25.206969] rtw_8822ce 0000:02:00.0: firmware failed to leave lps state
[ 25.210734] rtw_8822ce 0000:02:00.0: failed to send h2c command
[ 28.022990] rtw_8822ce 0000:02:00.0: firmware failed to leave lps state
[ 28.026757] rtw_8822ce 0000:02:00.0: failed to send h2c command
[ 29.942943] rtw_8822ce 0000:02:00.0: firmware failed to leave lps state
[ 29.946676] rtw_8822ce 0000:02:00.0: failed to send h2c command
[ 31.926966] rtw_8822ce 0000:02:00.0: firmware failed to leave lps state
[ 31.930615] rtw_8822ce 0000:02:00.0: failed to send h2c command
[ 31.933968] rtw_8822ce 0000:02:00.0: failed to send h2c command
[ 33.910966] rtw_8822ce 0000:02:00.0: firmware failed to leave lps state
... etc.
I'm not seeing an updated realtek firmware in backports:
$ apt search realtek
Sorting... Done
Full Text Search... Done
firmware-realtek/stable,now 20230210-5 all [installed]
Binary firmware for Realtek wired/wifi/BT adapters
firmware-realtek-rtl8723cs-bt/stable 20181104-2 all
Bluetooth firmware for Realtek RTL8723CS
flashrom/stable 1.3.0-2.1 amd64
Identify, read, write, erase, and verify BIOS/ROM/flash chips
librtlsdr-dev/stable 0.6.0-4 amd64
Software defined radio receiver for Realtek RTL2832U (development)
librtlsdr0/stable 0.6.0-4 amd64
Software defined radio receiver for Realtek RTL2832U (library)
rtl-sdr/stable 0.6.0-4 amd64
Software defined radio receiver for Realtek RTL2832U (tools)
soapysdr-module-rtlsdr/stable 0.3.3-1 amd64
RTL-SDR device support for SoapySDR (default version)
soapysdr0.8-module-rtlsdr/stable 0.3.3-1 amd64
RTL-SDR device support for SoapySDR
lee@laptop ~
$
and I'm not seeing any other backport firmware options that might be
applicable to realtek
$ apt search firmware-misc-nonfree
Sorting... Done
Full Text Search... Done
firmware-misc-nonfree/stable,now 20230210-5 all [installed]
Binary firmware for various drivers in the Linux kernel
lee@laptop ~
$ apt search firmware-realtek
Sorting... Done
Full Text Search... Done
firmware-realtek/stable,now 20230210-5 all [installed]
Binary firmware for Realtek wired/wifi/BT adapters
firmware-realtek-rtl8723cs-bt/stable 20181104-2 all
Bluetooth firmware for Realtek RTL8723CS
lee@laptop ~
$
Anything else I can try?
Thanks
Lee
Reply to: