Lenovo Legion 7i Realtek c852 PCI device dom0 does not exist sys-net fails start

New install of Qubes os went well after turning off secure boot but the Realtek Wifi card c852 is not recognized in sys-net.

The Wifi is recognized in dom0 but sys-net gives error pci device 73:00 does not exist when starting the sys-net VM.

There is no Ethernet port so no networking without the Wifi card working.


Update is that rmoving the failing Realtek PCI WiFi adapter and using a Realtek USB network adapter works after adding it to the sys-net vm.

Here is my hardware report of the Lenovo Legion 7i laptop.

Video, sound and track pad all work so far. Just the Realtek WiFi card is not working.

Now that there is internet connectivity a solution can be found for the WiFi driver issue.

Any help is appreciated.


layout:
‘hcl’
type:
‘Notebook’
hvm:
‘yes’
iommu:
‘yes’
slat:
‘yes’
tpm:
‘2.0’
remap:
‘yes’
brand: |
LENOVO
model: |
83FD
bios: |
NSCN32WW
cpu: |
Intel(R) Core™ i9-14900HX
cpu-short: |
FIXME
chipset: |
Intel Corporation Device [8086:a702] (rev 01)
chipset-short: |
FIXME
gpu: |
Intel Corporation Raptor Lake-S UHD Graphics [8086:a788] (rev 04) (prog-if 00 [VGA controller])
NVIDIA Corporation AD106M [GeForce RTX 4070 Max-Q / Mobile] [10de:2860] (rev a1) (prog-if 00 [VGA controller])
gpu-short: |
FIXME
network: |
Realtek Semiconductor Co., Ltd. Device [10ec:c852] (rev 01)
memory: |
32475
scsi: |

usb: |
3
certified:
‘no’
versions:

  • works:
    ‘FIXME:yes|no|partial’
    qubes: |
    R4.2.3
    xen: |
    4.17.4
    kernel: |
    6.10.10-1
    remark: |
    FIXME
    credit: |
    FIXAUTHOR
    link: |
    FIXLINK

lspci
00:00.0 Host bridge: Intel Corporation Device a702 (rev 01)
00:01.0 PCI bridge: Intel Corporation Device a70d (rev 01)
00:02.0 VGA compatible controller: Intel Corporation Raptor Lake-S UHD Graphics (rev 04)
00:04.0 Signal processing controller: Intel Corporation Raptor Lake Dynamic Platform and Thermal Framework Processor Participant (rev 01)
00:06.0 PCI bridge: Intel Corporation Raptor Lake PCIe 4.0 Graphics Port (rev 01)
00:0a.0 Signal processing controller: Intel Corporation Raptor Lake Crashlog and Telemetry (rev 01)
00:14.0 USB controller: Intel Corporation Device 7a60 (rev 11)
00:14.2 RAM memory: Intel Corporation Device 7a27 (rev 11)
00:15.0 Serial bus controller: Intel Corporation Device 7a4c (rev 11)
00:15.1 Serial bus controller: Intel Corporation Device 7a4d (rev 11)
00:16.0 Communication controller: Intel Corporation Device 7a68 (rev 11)
00:1a.0 PCI bridge: Intel Corporation Device 7a48 (rev 11)
00:1b.0 PCI bridge: Intel Corporation Device 7a40 (rev 11)
00:1c.0 PCI bridge: Intel Corporation Device 7a3e (rev 11)
00:1c.7 PCI bridge: Intel Corporation Device 7a3f (rev 11)
00:1f.0 ISA bridge: Intel Corporation Device 7a0c (rev 11)
00:1f.3 Multimedia audio controller: Intel Corporation Device 7a50 (rev 11)
00:1f.4 SMBus: Intel Corporation Device 7a23 (rev 11)
00:1f.5 Serial bus controller: Intel Corporation Device 7a24 (rev 11)
01:00.0 VGA compatible controller: NVIDIA Corporation AD106M [GeForce RTX 4070 Max-Q / Mobile] (rev a1)
01:00.1 Audio device: NVIDIA Corporation Device 22bd (rev a1)
06:00.0 Non-Volatile memory controller: SK hynix Platinum P41/PC801 NVMe Solid State Drive
07:00.0 Non-Volatile memory controller: Micron/Crucial Technology Device 5426 (rev 01)
08:00.0 PCI bridge: Intel Corporation Device 1133 (rev 02)
09:00.0 PCI bridge: Intel Corporation Device 1133 (rev 02)
09:01.0 PCI bridge: Intel Corporation Device 1133 (rev 02)
09:02.0 PCI bridge: Intel Corporation Device 1133 (rev 02)
09:03.0 PCI bridge: Intel Corporation Device 1133 (rev 02)
0a:00.0 USB controller: Intel Corporation Device 1134
3e:00.0 USB controller: Intel Corporation Device 1135
72:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader (rev 01)
73:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device c852 (rev 01)

$ lspci -k
00:00.0 Host bridge: Intel Corporation Device a702 (rev 01)
Subsystem: Lenovo Device 3842
00:01.0 PCI bridge: Intel Corporation Device a70d (rev 01)
Subsystem: Lenovo Device 382b
Kernel driver in use: pcieport
00:02.0 VGA compatible controller: Intel Corporation Raptor Lake-S UHD Graphics (rev 04)
Subsystem: Lenovo Device 3e43
Kernel driver in use: i915
Kernel modules: i915, xe
00:04.0 Signal processing controller: Intel Corporation Raptor Lake Dynamic Platform and Thermal Framework Processor Participant (rev 01)
Subsystem: Lenovo Device 382d
Kernel driver in use: proc_thermal_pci
Kernel modules: processor_thermal_device_pci
00:06.0 PCI bridge: Intel Corporation Raptor Lake PCIe 4.0 Graphics Port (rev 01)
Subsystem: Lenovo Device 382e
Kernel driver in use: pcieport
00:0a.0 Signal processing controller: Intel Corporation Raptor Lake Crashlog and Telemetry (rev 01)
Subsystem: Lenovo Device 3831
Kernel driver in use: intel_vsec
Kernel modules: intel_vsec
00:14.0 USB controller: Intel Corporation Device 7a60 (rev 11)
Subsystem: Lenovo Device 3826
Kernel driver in use: pciback
Kernel modules: mei_me, xhci_pci
00:14.2 RAM memory: Intel Corporation Device 7a27 (rev 11)
Subsystem: Lenovo Device 3828
00:15.0 Serial bus controller: Intel Corporation Device 7a4c (rev 11)
Subsystem: Lenovo Device 3819
Kernel driver in use: intel-lpss
00:15.1 Serial bus controller: Intel Corporation Device 7a4d (rev 11)
Subsystem: Lenovo Device 381a
Kernel driver in use: intel-lpss
00:16.0 Communication controller: Intel Corporation Device 7a68 (rev 11)
Subsystem: Lenovo Device 3820
Kernel driver in use: mei_me
Kernel modules: mei_me
00:1a.0 PCI bridge: Intel Corporation Device 7a48 (rev 11)
Subsystem: Lenovo Device 3815
Kernel driver in use: pcieport
00:1b.0 PCI bridge: Intel Corporation Device 7a40 (rev 11)
Subsystem: Lenovo Device 3811
Kernel driver in use: pcieport
00:1c.0 PCI bridge: Intel Corporation Device 7a3e (rev 11)
Subsystem: Intel Corporation Device 7270
Kernel driver in use: pcieport
00:1c.7 PCI bridge: Intel Corporation Device 7a3f (rev 11)
Subsystem: Lenovo Device 3810
Kernel driver in use: pcieport
00:1f.0 ISA bridge: Intel Corporation Device 7a0c (rev 11)
Subsystem: Lenovo Device 3801
00:1f.3 Multimedia audio controller: Intel Corporation Device 7a50 (rev 11)
Subsystem: Lenovo Device 3804
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_soc_avs, snd_sof_pci_intel_tgl
00:1f.4 SMBus: Intel Corporation Device 7a23 (rev 11)
Subsystem: Lenovo Device 3805
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801
00:1f.5 Serial bus controller: Intel Corporation Device 7a24 (rev 11)
Subsystem: Lenovo Device 3806
Kernel driver in use: intel-spi
Kernel modules: spi_intel_pci
01:00.0 VGA compatible controller: NVIDIA Corporation AD106M [GeForce RTX 4070 Max-Q / Mobile] (rev a1)
Subsystem: Lenovo Device 3e43
Kernel driver in use: nouveau
Kernel modules: nouveau
01:00.1 Audio device: NVIDIA Corporation Device 22bd (rev a1)
Subsystem: Lenovo Device 3e43
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
06:00.0 Non-Volatile memory controller: SK hynix Platinum P41/PC801 NVMe Solid State Drive
Subsystem: SK hynix Platinum P41/PC801 NVMe Solid State Drive
Kernel driver in use: nvme
Kernel modules: nvme
07:00.0 Non-Volatile memory controller: Micron/Crucial Technology Device 5426 (rev 01)
Subsystem: Micron/Crucial Technology Device 2b00
Kernel driver in use: nvme
Kernel modules: nvme
08:00.0 PCI bridge: Intel Corporation Device 1133 (rev 02)
Subsystem: Intel Corporation Device 7a40
Kernel driver in use: pcieport
09:00.0 PCI bridge: Intel Corporation Device 1133 (rev 02)
Subsystem: Intel Corporation Device 7a40
Kernel driver in use: pcieport
09:01.0 PCI bridge: Intel Corporation Device 1133 (rev 02)
Subsystem: Intel Corporation Device 7a40
Kernel driver in use: pcieport
09:02.0 PCI bridge: Intel Corporation Device 1133 (rev 02)
Subsystem: Intel Corporation Device 7a40
Kernel driver in use: pcieport
09:03.0 PCI bridge: Intel Corporation Device 1133 (rev 02)
Subsystem: Intel Corporation Device 7a40
Kernel driver in use: pcieport
0a:00.0 USB controller: Intel Corporation Device 1134
Subsystem: Intel Corporation Device 7a40
Kernel driver in use: pciback
Kernel modules: thunderbolt
3e:00.0 USB controller: Intel Corporation Device 1135
Kernel driver in use: pciback
Kernel modules: xhci_pci
72:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader (rev 01)
Subsystem: Lenovo Device 38d7
Kernel driver in use: rtsx_pci
Kernel modules: rtsx_pci
73:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device c852 (rev 01)
Subsystem: Lenovo Device 5852
Kernel driver in use: pciback
Kernel modules: rtw89_8852ce

Looks like a kernel module is getting loaded but my not be the right one?

@dom0 Desktop]$ lsmod | grep -i rtw
rtw89_8852ce 12288 0
rtw89_8852c 974848 1 rtw89_8852ce
rtw89_pci 118784 1 rtw89_8852ce
rtw89_core 983040 2 rtw89_pci,rtw89_8852c
mac80211 1781760 2 rtw89_core,rtw89_pci
cfg80211 1421312 3 rtw89_core,mac80211,rtw89_8852c

Thank you for your help with this issue!

Stan

1 Like

I have the same exact same problem as you.

This is my network card: (output redacted)

[root@dom0 firmware]# lspci -nnv 
02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:c852] (rev 01)
	Subsystem: Lenovo Device [17aa:5852]
	!!! Unknown header type 7f
	I/O ports at 3000 [size=256]
	Memory at 7e900000 (64-bit, non-prefetchable) [size=1M]
	Kernel driver in use: pciback
	Kernel modules: rtw89_8852ce

Loaded kernel modules:

[root@dom0 firmware]# lsmod | grep -i rtw
rtw89_8852ce           12288  0
rtw89_8852c           983040  1 rtw89_8852ce
rtw89_pci             118784  1 rtw89_8852ce
rtw89_core           1056768  2 rtw89_pci,rtw89_8852c
mac80211             1835008  2 rtw89_core,rtw89_pci
cfg80211             1429504  3 rtw89_core,mac80211,rtw89_8852c
rfkill                 40960  4 rtw89_core,ideapad_laptop,cfg80211

As showb by the lspci output, the PCI device is detected:

[root@dom0 firmware]# lspci | grep -i net
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device c852 (rev 01)

But is not detected by qvm-pci:

[root@dom0 firmware]# qvm-pci ls
BACKEND:DEVID  DESCRIPTION                                                                           USED BY
dom0:00_00.0   Host bridge: Intel Corporation                                                        
dom0:00_01.0   PCI bridge: Intel Corporation                                                         
dom0:00_02.0   VGA compatible controller: Intel Corporation Meteor Lake-P [Intel Arc Graphics]       
dom0:00_04.0   Signal processing controller: Intel Corporation                                       
dom0:00_08.0   System peripheral: Intel Corporation                                                  
dom0:00_0a.0   Signal processing controller: Intel Corporation                                       
dom0:00_0b.0   Processing accelerators: Intel Corporation                                            
dom0:00_0d.0   USB controller: Intel Corporation Meteor Lake-P Thunderbolt 4 USB Controller          sys-usb (no-strict-reset=True)
dom0:00_12.0   Serial controller: Intel Corporation                                                  
dom0:00_14.0   USB controller: Intel Corporation Meteor Lake-P USB 3.2 Gen 2x1 xHCI Host Controller  sys-usb (no-strict-reset=True)
dom0:00_14.2   RAM memory: Intel Corporation                                                         
dom0:00_15.0   Serial bus controller: Intel Corporation Meteor Lake-P Serial IO I2C Controller #0    
dom0:00_15.3   Serial bus controller: Intel Corporation Meteor Lake-P Serial IO I2C Controller #3    
dom0:00_16.0   Communication controller: Intel Corporation                                           
dom0:00_1c.0   PCI bridge: Intel Corporation                                                         
dom0:00_1c.6   PCI bridge: Intel Corporation                                                         
dom0:00_1f.0   ISA bridge: Intel Corporation                                                         
dom0:00_1f.3   Audio device: Intel Corporation Meteor Lake-P HD Audio Controller                     
dom0:00_1f.4   SMBus: Intel Corporation Meteor Lake-P SMBus Controller                               
dom0:00_1f.5   Serial bus controller: Intel Corporation Meteor Lake-P SPI Controller                 
dom0:01_00.0   Non-Volatile memory controller: Samsung Electronics Co Ltd                            
dom0:03_00.0   Unassigned class: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader

So I can’t attach the network device to any VM with qvm-pci, including to sys-net.

I would appreciate any help

1 Like

Same problem (also Lenovo Legion): Network controller detected in lspci but bot in qvm-pci.

Everything worked fine for a while until I now booted to the error message that the device does not exist.