On Sat, Feb 15, 2025 at 07:02:26AM +0000, dirk coetzee wrote: > Hi All, > > > I have recompiled the kernel from Stuart's diff, and there is still no sound > being detected. The process i followed was: > > 1. Paste contents of Stuarts diff for azalia.c into a file named > /usr/src/sys/dev/pci/azalia.diff (refer to thread - > https://marc.info/?t=173590444900002&r=1&w=2), for file contents > 2. cd /sys/arch/dev/pci > 3. patch < azalia.diff > 4. cd /sys/arch/$(machine)/compile/GENERIC.MP > 5. make obj > 6. make config > 7. make && make install > 8. Reboot, and test sound - dmesg still reports "Intel 600 Series HD Audio" > rev 0x01 at pci0 dev 31 function 3 not configured > > > I have also being running latest snapshot (as of Friday 14th of February). > > (Thanks to Maximo for helping me) > > Unfortunately the patch is still not working (i have triple checked that > audio in the bios is enabled). > > > Is there anything else i can do to try get sound working?
try this needs to be in the match table as the pci class is not hd audio Index: sys/dev/pci/azalia.c =================================================================== RCS file: /cvs/src/sys/dev/pci/azalia.c,v diff -u -p -r1.290 azalia.c --- sys/dev/pci/azalia.c 18 Aug 2024 14:42:56 -0000 1.290 +++ sys/dev/pci/azalia.c 15 Feb 2025 08:09:56 -0000 @@ -478,6 +478,7 @@ azalia_configure_pci(azalia_t *az) case PCI_PRODUCT_INTEL_EHL_HDA: case PCI_PRODUCT_INTEL_ADL_N_HDA: case PCI_PRODUCT_INTEL_MTL_HDA: + case 0x51cc: reg = azalia_pci_read(az->pc, az->tag, INTEL_PCIE_NOSNOOP_REG); reg &= INTEL_PCIE_NOSNOOP_MASK; @@ -503,6 +504,7 @@ const struct pci_matchid azalia_pci_devi { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_EHL_HDA }, { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_ADL_N_HDA }, { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_MTL_HDA }, + { PCI_VENDOR_INTEL, 0x51cc } }; int