Comment 334 for bug 1958019

Revision history for this message
In , dantahoua (dantahoua-linux-kernel-bugs) wrote :

(In reply to Cameron Berkenpas from comment #320)
> > Pffff, tried everything.
> > -I re-compiled the Qemu with the sme configure arguments as you
> > -Then started the VM, try witth th 0000 in front of the audio adress
> > (0000:00:1f.3 vs 00:1f.3), same.
> > Always have qemu-system-x86_64: vfio: Cannot reset device 0000:00:1f.3, no
> > available reset mechanism.
> > And I am not able to install the driver, I even went the "browse" way
> (where
> > funily windows show you A:/ by default!)...The driver for my 13s gen2 ITL
> > seems
> > to be 9030.
> > And yes befor e strating Qemu I did:
> > sudo ./vfio-bind.sh 0000:00:1f.0 0000:00:1f.3 0000:00:1f.4 0000:00:1f.5
> > (My sundcard seems to have those other address added, do I have to pass
> them
> > to
> > qemu also?)...
> >
> >
>
> Can you share the output of this script on your system?
> https://wiki.archlinux.org/title/
> PCI_passthrough_via_OVMF#Ensuring_that_the_groups_are_valid
>
> What is the command line your kernel is starting with?
> cat /proc/cmdline
>
> Do you know if you're seeing the sound card show up in device manager
> but as the incorrect device?
>
> Ignore the "Cannot reset device" message. It's likely not a problem for
> your sound card. I get the same message. The good news is that likely
> you are successfully passing the device to qemu, but the above will help
> me confirm that.
>
> Where did you download the driver from?

Yeah, here is the results:

-Result from script:
./test.sh
IOMMU Group 0:
 00:00.0 Host bridge [0600]: Intel Corporation 11th Gen Core Processor Host Bridge/DRAM Registers [8086:9a14] (rev 01)
IOMMU Group 1:
 00:02.0 VGA compatible controller [0300]: Intel Corporation UHD Graphics [8086:9a49] (rev 01)
IOMMU Group 2:
 00:04.0 Signal processing controller [1180]: Intel Corporation Device [8086:9a03] (rev 01)
IOMMU Group 3:
 00:06.0 PCI bridge [0604]: Intel Corporation 11th Gen Core Processor PCIe Controller [8086:9a09] (rev 01)
IOMMU Group 4:
 00:07.0 PCI bridge [0604]: Intel Corporation Tiger Lake-LP Thunderbolt PCI Express Root Port #2 [8086:9a27] (rev 01)
IOMMU Group 5:
 00:08.0 System peripheral [0880]: Intel Corporation Device [8086:9a11] (rev 01)
IOMMU Group 6:
 00:0d.0 USB controller [0c03]: Intel Corporation Tiger Lake-LP Thunderbolt USB Controller [8086:9a13] (rev 01)
 00:0d.3 USB controller [0c03]: Intel Corporation Tiger Lake-LP Thunderbolt NHI #1 [8086:9a1d] (rev 01)
IOMMU Group 7:
 00:14.0 USB controller [0c03]: Intel Corporation Tiger Lake-LP USB 3.2 Gen 2x1 xHCI Host Controller [8086:a0ed] (rev 20)
 00:14.2 RAM memory [0500]: Intel Corporation Tiger Lake-LP Shared SRAM [8086:a0ef] (rev 20)
IOMMU Group 8:
 00:14.3 Network controller [0280]: Intel Corporation Wi-Fi 6 AX201 [8086:a0f0] (rev 20)
IOMMU Group 9:
 00:15.0 Serial bus controller [0c80]: Intel Corporation Tiger Lake-LP Serial IO I2C Controller #0 [8086:a0e8] (rev 20)
IOMMU Group 10:
 00:16.0 Communication controller [0780]: Intel Corporation Tiger Lake-LP Management Engine Interface [8086:a0e0] (rev 20)
IOMMU Group 11:
 00:1f.0 ISA bridge [0601]: Intel Corporation Tiger Lake-LP LPC Controller [8086:a082] (rev 20)
 00:1f.3 Multimedia audio controller [0401]: Intel Corporation Tiger Lake-LP Smart Sound Technology Audio Controller [8086:a0c8] (rev 20)
 00:1f.4 SMBus [0c05]: Intel Corporation Tiger Lake-LP SMBus Controller [8086:a0a3] (rev 20)
 00:1f.5 Serial bus controller [0c80]: Intel Corporation Tiger Lake-LP SPI Controller [8086:a0a4] (rev 20)
IOMMU Group 12:
 01:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd Device [144d:a809]

-cat /proc/cmdline
initrd=\EFI\Pop_OS-b0da9465-3702-45ac-91d3-7ca24016e875\initrd.img root=UUID=b0da9465-3702-45ac-91d3-7ca24016e875 ro quiet loglevel=0 systemd.show_status=false splash pci-stub.ids=8086:a0c8 iommu=pt intel_iommu=on

-The audio controller seems to appear in "Other devices->Multimedia Audio Controller" with the small sign on it telling me there is a problem (driver) with it. I checked other device to see if there is something odd but all other stuff seems legit in Device Manager...

-Downloaded the driver from Lenovo website and double check it is the good one (there is so much similar name in Lenovo website...). 13S Gen2 ITL
https://support.lenovo.com/us/en/downloads/ds546687-realtek-audio-driver-for-windows-10-64-bit-thinkbook-13s-g2-itl-thinkbook-14s-g2-itl