On Sun, Jan 11, 2015 at 06:27:22PM +0100, Jan Stary wrote:
> The builtin audio doesn't seem to be fully supported.
>
> azalia0 at pci0 dev 27 function 0 vendor "Intel", unknown product 0x0f04
> rev 0x0c: msi
> azalia0: codecs: Realtek/0x0887, Intel/0x2882, using Realtek/0x0887
> audio0 at azalia0
>
> Manual says it's a "Realtek ALC887 8-channel HD Audio Codec".
> See full dmesg and pcidump -xx below.
>
> (Why is it using the Realtek codec and not the Intel codec?
> Is there a way to change that?)
Because the Intel codec is for HDMI audio (which won't work).
>
> The sound is horrible. A runnign audio application can connect
> to a running sndiod and playu, but the sound that's supposed to play
> is burried in scrtaches and screetches. This is a minute of
> a couple of few-seconds attempts at
Try the following, requires pcidevs changes I just committed
Index: sys/dev/pci/azalia.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/azalia.c,v
retrieving revision 1.217
diff -u -p -r1.217 azalia.c
--- sys/dev/pci/azalia.c 24 Sep 2014 08:35:12 -0000 1.217
+++ sys/dev/pci/azalia.c 12 Jan 2015 12:39:56 -0000
@@ -464,6 +464,7 @@ azalia_configure_pci(azalia_t *az)
case PCI_PRODUCT_INTEL_8SERIES_LP_HDA:
case PCI_PRODUCT_INTEL_9SERIES_HDA:
case PCI_PRODUCT_INTEL_9SERIES_LP_HDA:
+ case PCI_PRODUCT_INTEL_BAYTRAIL_HDA:
reg = azalia_pci_read(az->pc, az->tag,
INTEL_PCIE_NOSNOOP_REG);
reg &= INTEL_PCIE_NOSNOOP_MASK;