On Mon, Feb 20, 2023 at 09:17:51PM +0000, Brian Callahan wrote: > Hello tech -- > > I recently found a ~5 year old laptop sitting in storage. It is > an Apollo Lake machine. I think I put it in storage because it > did not have working audio. I tried a -current kernel from today > and found that it still did not have audio. The audio device > does not attach. > > There is a one-line fix to enable audio. With this, the audio > device attaches and the laptop is playing audio just fine. > > OK?
ok jsg@ > > ~Brian > > Index: dev/pci/azalia.c > =================================================================== > RCS file: /cvs/src/sys/dev/pci/azalia.c,v > retrieving revision 1.282 > diff -u -p -r1.282 azalia.c > --- dev/pci/azalia.c 5 Feb 2023 02:26:02 -0000 1.282 > +++ dev/pci/azalia.c 20 Feb 2023 20:53:35 -0000 > @@ -492,6 +492,7 @@ const struct pci_matchid azalia_pci_devi > { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_500SERIES_HDA }, > { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_500SERIES_LP_HDA }, > { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_600SERIES_LP_HDA }, > + { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_APOLLOLAKE_HDA }, > { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_GLK_HDA }, > { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_JSL_HDA }, > { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_EHL_HDA }, > >