Realtek 8852c WiFi/BT firmware support

Bug #1995046 reported by You-Sheng Yang
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HWE Next
Fix Released
Undecided
Unassigned
OEM Priority Project
Fix Released
Undecided
Unassigned
linux-firmware (Ubuntu)
Fix Released
High
You-Sheng Yang
Jammy
Fix Released
High
You-Sheng Yang
Kinetic
Fix Released
High
You-Sheng Yang
Lunar
Fix Released
High
You-Sheng Yang

Bug Description

[SRU Justification]

[Impact]

Some OEM design RTK-8852c as WiFi/BT solution on new platform, need to add
both FW & config file to get it work with oem-6.0.

WiFi: rtw8852c

  rtw89_8852ce 0000:02:00.0: enabling device (0000 -> 0003)
  rtw89_8852ce 0000:02:00.0: Direct firmware load for rtw89/rtw8852c_fw.bin failed with error -2
  rtw89_8852ce 0000:02:00.0: failed to request firmware
  rtw89_8852ce 0000:02:00.0: failed to wait firmware completion
  rtw89_8852ce 0000:02:00.0: failed to setup chip information
  rtw89_8852ce: probe of 0000:02:00.0 failed with error -22

BT: rtl8852cu

  Bluetooth: hci0: RTL: loading rtl_bt/rtl8852cu_fw.bin
  Bluetooth: hci0: RTL: firmware file rtl_bt/rtl8852cu_fw.bin not found

[Fix]

rtw89/rtw8852c_fw.bin and rtl_bt/rtl8852cu_fw.bin are required. Kinetic
has already 5 commits out of 8.

[Test Case]

The driver will prompt for missed firmware blobs for a given platform.

[Where problems could occur]

New device to be supported for Jammy oem-6.0. May cause system stability
issues or power consumption performance.

[Other Info]

This device is supported since v5.19, so only Jammy (for oem-6.0) and Kinetic are nominated for fix.

========== original bug report ==========

Some OEM design RTK-8852c as WiFi/BT solution on new platform, need to add both FW & config file to get it work with oem-6.0.

WiFi: rtw8852c
[ 2.628042] rtw89_8852ce 0000:02:00.0: enabling device (0000 -> 0003)
[ 2.628647] rtw89_8852ce 0000:02:00.0: Direct firmware load for rtw89/rtw8852c_fw.bin failed with error -2
[ 2.628663] rtw89_8852ce 0000:02:00.0: failed to request firmware
[ 2.644819] rtw89_8852ce 0000:02:00.0: failed to wait firmware completion
[ 2.644843] rtw89_8852ce 0000:02:00.0: failed to setup chip information
[ 2.649823] rtw89_8852ce: probe of 0000:02:00.0 failed with error -22

https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=d2aac63b8381c0633de00476a7f3d8f436ea4bc5

BT: rtl8852cu
[ 2.476240] Bluetooth: hci0: RTL: loading rtl_bt/rtl8852cu_fw.bin
[ 2.476441] Bluetooth: hci0: RTL: firmware file rtl_bt/rtl8852cu_fw.bin not found

https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=8a2d811764e7fcc9e2862549f91487770b70563b

https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=cfbd6681696ba4b5eed279f28983d6a87cd6fd90

You-Sheng Yang (vicamo)
tags: added: amd oem-priority originate-from-1994523
You-Sheng Yang (vicamo)
Changed in linux-firmware (Ubuntu Jammy):
status: New → In Progress
importance: Undecided → High
assignee: nobody → You-Sheng Yang (vicamo)
Changed in linux-firmware (Ubuntu Kinetic):
status: New → In Progress
importance: Undecided → High
assignee: nobody → You-Sheng Yang (vicamo)
Changed in linux-firmware (Ubuntu Lunar):
status: New → Fix Released
Revision history for this message
You-Sheng Yang (vicamo) wrote :
description: updated
Juerg Haefliger (juergh)
tags: added: kern-4799
Revision history for this message
You-Sheng Yang (vicamo) wrote :
Changed in linux-firmware (Ubuntu Lunar):
status: Fix Released → In Progress
importance: Undecided → High
assignee: nobody → You-Sheng Yang (vicamo)
Juerg Haefliger (juergh)
Changed in linux-firmware (Ubuntu Jammy):
status: In Progress → Fix Committed
Juerg Haefliger (juergh)
Changed in linux-firmware (Ubuntu Kinetic):
status: In Progress → Fix Committed
Juerg Haefliger (juergh)
Changed in linux-firmware (Ubuntu Lunar):
status: In Progress → Fix Committed
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Please test proposed package

Hello You-Sheng, or anyone else affected,

Accepted linux-firmware into kinetic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/linux-firmware/20220923.gitf09bebf3-0ubuntu1.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-kinetic to verification-done-kinetic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-kinetic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Hello You-Sheng, or anyone else affected,

Accepted linux-firmware into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/linux-firmware/20220329.git681281e4-0ubuntu3.7 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (4.6 KiB)

This bug was fixed in the package linux-firmware - 20221114.git60310c2d-0ubuntu1

---------------
linux-firmware (20221114.git60310c2d-0ubuntu1) lunar; urgency=medium

  * Support Intel IPU6 MIPI camera (LP: #1987595)
    - SAUCE: intel-ipu6: update ipu6ep firmware
    - SAUCE: intel-ivsc: support more sensors
    - SAUCE: intel-ivsc: add more firmware
  * Realtek 8852c WiFi/BT firmware support (LP: #1995046)
    - Rebase to upstream commit 60310c2deb8c67948a38310ac5f15cf3abcc30e7
      Rebase against git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
      - Removing crnv32
      - qca: Update firmware files for BT chip WCN3991.
      - i915: Add GuC v70.5.1 for DG1, DG2, TGL and ADL-P
      - i915: Add versionless HuC files for current platforms
      - cxgb4: Update firmware to revision 1.27.0.0
      - linux-firmware: update firmware for MT7921 WiFi device
      - linux-firmware: update firmware for MT7922 WiFi device
      - linux-firmware: update firmware for mediatek bluetooth chip (MT7921)
      - rtl_bt: Update RTL8852A BT USB firmware to 0xD9B8_8207
      - linux-firmware: update firmware for mediatek bluetooth chip (MT7922)
      - mediatek: Update mt8186 SOF firmware to v0.2.1
      - mediatek: Add new mt8195 SOF firmware
      - mediatek: mt8195: Update scp.img to v2.0.11956
      - linux-firmware: Update AMD cpu microcode
      - mediatek: Update mt8186 SCP firmware
      - rtw89: 8852c: update fw to v0.27.56.0
      - rtw89: 8852c: update fw to v0.27.56.1
      - qcom: add squashed version of a530 zap shader
      - mediatek: Update mt8195 SOF firmware to v0.4.1
      - amdgpu: update Sienna Cichlid RLC firmware
      - amdgpu: update Navy Flounder RLC firmware
      - amdgpu: update Dimgrey Cavefish RLC firmware
      - amdgpu: update Beige Goby RLC firmware
      - amdgpu: update Yellow Carp RLC firmware
      - amdgpu: update GC 10.3.7 RLC firmware
      - amdgpu: update GC 10.3.6 RLC firmware
      - rtl_bt: Update RTL8852C BT USB firmware to 0xD5B8_A40A
      - iwlwifi: update 9000-family firmwares to core72-129
      - iwlwifi: add new FWs from core72-129 release
      - rtw89: 8852b: add initial fw v0.27.32.0
      - linux-firmware: Add firmware for Cirrus CS35L41 on HP Laptops
      - linux-firmware: Add firmware for Cirrus CS35L41 on Lenovo Laptops
      - linux-firmware: Add firmware for Cirrus CS35L41 on ASUS Laptops
      - brcm: add symlink for Pi Zero 2 W NVRAM file
      - cnm: update chips&media wave521c firmware.
      - i915: Add HuC 7.10.3 for DG2
      - rtlwifi: Add firmware v4.0 for RTL8188FU
      - rtlwifi: update firmware for rtl8192eu to v35.7
      - rtw89: 8852b: update fw to v0.27.32.1
      - qcom: replace split SC7180 venus firmware images with symlink
      - qcom: update venus firmware file for v5.4
      - qcom: remove split SC7280 venus firmware images
      - qcom: update venus firmware files for VPU-2.0
      - iwlwifi: add new FWs from core69-81 release
      - iwlwifi: add new PNVM binaries from core74-44 release
      - linux-firmware: Add firmware for Cirrus CS35L41 on new ASUS Laptop
      - qcom/venus-1.8: replace split firmware with the mbn file
      - qcom/ven...

Read more...

Changed in linux-firmware (Ubuntu Lunar):
status: Fix Committed → Fix Released
Andy Chi (andch)
tags: added: originate-from-1997929 stella
Revision history for this message
Andy Chi (andch) wrote :

Install linux-firmware (20220329.git681281e4-0ubuntu3.7) from jammy-proposed on PAN14-PV-SKU6_202211-30866. BT/WiFi load firmware without problem.

[kernel]
[ 4.699168] rtw89_8852ce 0000:02:00.0: enabling device (0000 -> 0003)
[ 4.706438] rtw89_8852ce 0000:02:00.0: Firmware version 0.27.56.1, cmd version 0, type 1
[ 4.706447] rtw89_8852ce 0000:02:00.0: Firmware version 0.27.56.1, cmd version 0, type 3
[ 4.712111] rtw89_8852ce 0000:02:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000c address=0x0 flags=0x0000]
[ 4.964968] rtw89_8852ce 0000:02:00.0: chip rfe_type is 1
[ 4.996276] rtw89_8852ce 0000:02:00.0 wlp2s0: renamed from wlan0

[ 1.091709] r8169 0000:01:00.0 eth0: RTL8168h/8111h, 5c:60:ba:d6:72:04, XID 541, IRQ 62
[ 4.697834] Bluetooth: hci0: RTL: examining hci_ver=0c hci_rev=000c lmp_ver=0c lmp_subver=8852
[ 4.699675] Bluetooth: hci0: RTL: rom_version status=0 version=1
[ 4.699679] Bluetooth: hci0: RTL: loading rtl_bt/rtl8852cu_fw.bin
[ 4.700505] Bluetooth: hci0: RTL: loading rtl_bt/rtl8852cu_config.bin
[ 4.700729] Bluetooth: hci0: RTL: cfg_sz 6, total sz 54735
[ 5.216569] Bluetooth: hci0: RTL: fw version 0xd5b8a40a

tags: added: verification-done-jammy
Timo Aaltonen (tjaalton)
tags: added: verification-needed-kinetic
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-firmware - 20220329.git681281e4-0ubuntu3.7

---------------
linux-firmware (20220329.git681281e4-0ubuntu3.7) jammy; urgency=medium

  * Add support for Intel DG2 (LP: #1971712)
    - i915: Add DMC v2.07 for DG2
    - i915: Add GuC v70.4.1 for DG2
    - i915: Add GuC v70.5.1 for DG1, DG2, TGL and ADL-P
  * MIssing GPU firmware for AMD Ryzen 7000 desktop on Jammy 22.04 (LP: #1993223)
    - amdgpu: add firmware for DCN 3.1.5 IP block
    - amdgpu: add firmware for GC 10.3.6 IP block
    - amdgpu: add firmware for PSP 13.0.5 IP block
    - amdgpu: add firmware for SDMA 5.2.6 IP block
    - amdgpu: add firmware for VCN 3.1.2 IP block
  * Support Intel IPU6 MIPI camera (LP: #1987595)
    - SAUCE: intel-ipu6: update ipu6ep firmware
    - SAUCE: intel-ivsc: support more sensors
    - SAUCE: intel-ivsc: add more firmware
  * Realtek 8852c WiFi/BT firmware support (LP: #1995046)
    - rtw89: 8852c: add new firmware v0.27.20.0 for RTL8852C
    - rtw89: 8852c: update fw to v0.27.36.0
    - rtw89: 8852c: update fw to v0.27.42.0
    - rtw89: 8852c: update fw to v0.27.56.0
    - rtw89: 8852c: update fw to v0.27.56.1
    - rtl_bt: Add firmware and config files for RTL8852C
    - rtl_bt: Update RTL8852C BT USB firmware to 0xDFB8_5A33
    - rtl_bt: Update RTL8852C BT USB firmware to 0xD5B8_A40A
  * Add cs35l41 firmware loading support (LP: #1995957)
    - linux-firmware: Add firmware for Cirrus CS35L41
    - linux-firmware: Add firmware for Cirrus CS35L41 on HP Laptops
    - linux-firmware: Add firmware for Cirrus CS35L41 on Lenovo Laptops
    - linux-firmware: Add firmware for Cirrus CS35L41 on ASUS Laptops

 -- Juerg Haefliger <email address hidden> Wed, 16 Nov 2022 15:59:19 +0100

Changed in linux-firmware (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Update Released

The verification of the Stable Release Update for linux-firmware has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
You-Sheng Yang (vicamo) wrote :

verified linux-firmware/kinetic version 20220923.gitf09bebf3-0ubuntu1.1.

tags: added: verification-done-kinetic
removed: verification-needed-kinetic
Changed in oem-priority:
status: New → Fix Released
Changed in hwe-next:
status: New → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-firmware - 20220923.gitf09bebf3-0ubuntu1.1

---------------
linux-firmware (20220923.gitf09bebf3-0ubuntu1.1) kinetic; urgency=medium

  * Add support for Intel DG2 (LP: #1971712)
    - i915: Add GuC v70.5.1 for DG1, DG2, TGL and ADL-P
  * Miscellaneous Ubuntu changes
    - Initial dummy SRU release
  * Support Intel IPU6 MIPI camera (LP: #1987595)
    - SAUCE: intel-ipu6: update ipu6ep firmware
    - SAUCE: intel-ivsc: support more sensors
    - SAUCE: intel-ivsc: add more firmware
  * Realtek 8852c WiFi/BT firmware support (LP: #1995046)
    - rtw89: 8852c: update fw to v0.27.56.0
    - rtw89: 8852c: update fw to v0.27.56.1
    - rtl_bt: Update RTL8852C BT USB firmware to 0xD5B8_A40A
  * Add cs35l41 firmware loading support (LP: #1995957)
    - linux-firmware: Add firmware for Cirrus CS35L41 on HP Laptops
    - linux-firmware: Add firmware for Cirrus CS35L41 on Lenovo Laptops
    - linux-firmware: Add firmware for Cirrus CS35L41 on ASUS Laptops

 -- Juerg Haefliger <email address hidden> Wed, 16 Nov 2022 16:12:23 +0100

Changed in linux-firmware (Ubuntu Kinetic):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.