I did a fresh install of the latest snapshot, audio is still buggy. I'm attaching a dmesg of the default kernel, a dmesg of a kernel I built after adding the option AZALIA_DEBUG, the output of mixerctl and the output of audioctl.
After more testing, I could replicate the following steps: 1) I boot OpenBSD on my machine and login 2) I try to play some .ogg file with ogg123 or some .wav file with aucat -i, but I hear a grinding sound and in audioctl play.samples remains 0. 3) I try to play again the file and I hear nothing. Also ogg123/aucat seems stuck, thus I kill the process. 4) I stop sndiod and it is not very responsive: # /etc/rc.d/sndiod stop sndiod(failed) # /etc/rc.d/sndiod stop sndiod(ok) # ps aux | grep sndiod _sndio 19767 0.0 0.0 680 984 ?? S<Es 8:27PM 0:00.05 (sndiod) # After some time (10-15 secs) it finally exits, then I restart it: # /etc/rc.d/sndiod start sndiod(ok) # 5) I try to play again the file. If the machine is idle, I hear a noise that is different from the grinding sound I heard in step 2. If concurrently I'm doing some work (building the kernel or running ls -R /) I hear the audio (a bit distorted) of the .ogg/.wav file and audioctl shows that play.samples is increasing. With sndiod not running (disabled in /etc/rc.conf.local), I could replicate the following steps: 1) I boot OpenBSD on my machine and login. 2) I try to play some .wav file with aucat -i, I hear a grinding sound and play.sample remains 0. After some time the sound stops, aucat seems stuck, I kill it. 3) I try to play again the file. If the machine is idle I hear noise, if I am doing some work I hear the audio (a bit distorted) of the .wav file and play.samples increases. ---------- [dmesg of default kernel] OpenBSD 5.4-current (GENERIC.MP) #222: Fri Dec 27 22:33:50 MST 2013 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP RTC BIOS diagnostic error 80<clock_battery> real mem = 6304821248 (6012MB) avail mem = 6128795648 (5844MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xe6e60 (27 entries) bios0: vendor Insyde Corp. version "V2.10" date 10/07/2013 bios0: Acer Aspire E1-572G acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP UEFI FPDT MSDM ASF! HPET APIC MCFG SSDT BOOT ASPT DBGP SSDT SSDT SSDT SSDT acpi0: wakeup devices P0P1(S4) EHC1(S3) XHC_(S3) HDEF(S4) TPD4(S4) TPD7(S0) TPD8(S0) PXSX(S4) RP03(S4) PEGP(S4) PEGA(S4) PXSX(S4) RP07(S4) PXSX(S4) RP08(S4) PEG0(S4) [...] acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz, 2295.04 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID cpu0: 256KB 64b/line 8-way L2 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges cpu0: apic clock running at 99MHz cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz, 2294.70 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID cpu1: 256KB 64b/line 8-way L2 cache cpu1: smt 1, core 0, package 0 cpu2 at mainbus0: apid 2 (application processor) cpu2: Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz, 2294.70 MHz cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID cpu2: 256KB 64b/line 8-way L2 cache cpu2: smt 0, core 1, package 0 cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz, 2294.70 MHz cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID cpu3: 256KB 64b/line 8-way L2 cache cpu3: smt 1, core 1, package 0 ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 40 pins acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (P0P1) acpiprt2 at acpi0: bus -1 (RP01) acpiprt3 at acpi0: bus -1 (RP02) acpiprt4 at acpi0: bus 1 (RP03) acpiprt5 at acpi0: bus 2 (RP04) acpiprt6 at acpi0: bus 3 (RP05) acpiprt7 at acpi0: bus -1 (RP06) acpiprt8 at acpi0: bus -1 (RP07) acpiprt9 at acpi0: bus -1 (RP08) acpiprt10 at acpi0: bus -1 (PEG0) acpiprt11 at acpi0: bus -1 (PEG1) acpiprt12 at acpi0: bus -1 (PEG2) acpiec0 at acpi0 acpicpu0 at acpi0: C1, PSS acpicpu1 at acpi0: C1, PSS acpicpu2 at acpi0: C1, PSS acpicpu3 at acpi0: C1, PSS acpibat0 at acpi0: BAT1 model "xxxxxxxxxxxxxxxxx" serial xx type Lion oem "SANYO " acpiac0 at acpi0: AC unit offline acpibtn0 at acpi0: LID0 acpibtn1 at acpi0: PWRB acpibtn2 at acpi0: SLPB acpivideo0 at acpi0: GFX0 acpivout0 at acpivideo0: DD1F cpu0: Enhanced SpeedStep 2295 MHz: speeds: 2401, 2400, 2300, 2200, 2000, 1900, 1800, 1700, 1500, 1400, 1300, 1200, 1100, 900, 800, 768 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 vendor "Intel", unknown product 0x0a04 rev 0x09 vga1 at pci0 dev 2 function 0 "Intel HD Graphics" rev 0x09 intagp0 at vga1 agp0 at intagp0: aperture at 0xb0000000, size 0x10000000 inteldrm0 at vga1 drm0 at inteldrm0 error: [drm:pid0:i915_write32] *ERROR* Unknown unclaimed register before writing to 100000 error: [drm:pid0:intel_dp_set_link_train] *ERROR* Timed out waiting for DP idle patterns error: [drm:pid0:i915_write32] *ERROR* Unknown unclaimed register before writing to 64040 inteldrm0: 1366x768 wsdisplay0 at vga1 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1-5 added (std, vt100 emulation) azalia0 at pci0 dev 3 function 0 "Intel Core 4G HD Audio" rev 0x09: msi azalia0: No codecs found "Intel 8 Series xHCI" rev 0x04 at pci0 dev 20 function 0 not configured "Intel 8 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured azalia1 at pci0 dev 27 function 0 "Intel 8 Series HD Audio" rev 0x04: msi azalia1: codecs: Realtek/0x0282 audio0 at azalia1 ppb0 at pci0 dev 28 function 0 "Intel 8 Series PCIE" rev 0xe4: msi pci1 at ppb0 bus 1 bge0 at pci1 dev 0 function 0 "Broadcom BCM57786" rev 0x01, unknown BCM57766 (0x57766001): msi, address xx:xx:xx:xx:xx:xx brgphy0 at bge0 phy 1: BCM57765 10/100/1000baseT PHY, rev. 1 sdhc0 at pci1 dev 0 function 1 "Broadcom SD Host Controller" rev 0x01: apic 2 int 19 sdhc0 at 0x10: can't map registers ppb1 at pci0 dev 28 function 3 "Intel 8 Series PCIE" rev 0xe4: msi pci2 at ppb1 bus 2 vendor "Atheros", unknown product 0x0036 (class network subclass miscellaneous, rev 0x01) at pci2 dev 0 function 0 not configured ppb2 at pci0 dev 28 function 4 "Intel 8 Series PCIE" rev 0xe4: msi pci3 at ppb2 bus 3 "ATI Radeon HD 8670A" rev 0x00 at pci3 dev 0 function 0 not configured ehci0 at pci0 dev 29 function 0 "Intel 8 Series USB" rev 0x04: apic 2 int 23 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 pcib0 at pci0 dev 31 function 0 "Intel 8 Series LPC" rev 0x04 ahci0 at pci0 dev 31 function 2 "Intel 8 Series AHCI" rev 0x04: msi, AHCI 1.3 scsibus0 at ahci0: 32 targets sd0 at scsibus0 targ 0 lun 0: <ATA, TOSHIBA MQ01ABD0, AX00> SCSI3 0/direct fixed naa.xxxxxxxxxxxxxxxx sd0: 715404MB, 512 bytes/sector, 1465149168 sectors cd0 at scsibus0 targ 1 lun 0: <MATSHITA, DVD-RAM UJ8D2Q, 1.10> ATAPI 5/cdrom removable ichiic0 at pci0 dev 31 function 3 "Intel 8 Series SMBus" rev 0x04: apic 2 int 18 iic0 at ichiic0 spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-12800 SO-DIMM spdmem1 at iic0 addr 0x52: 4GB DDR3 SDRAM PC3-12800 SO-DIMM isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 pms0: Synaptics touchpad, firmware 7.5 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 uhub1 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.04 addr 2 uhidev0 at uhub1 port 2 configuration 1 interface 0 "Logitech USB Receiver" rev 2.00/30.00 addr 3 uhidev0: iclass 3/1 ums0 at uhidev0: 16 buttons, Z dir wsmouse1 at ums0 mux 0 uhidev1 at uhub1 port 2 configuration 1 interface 1 "Logitech USB Receiver" rev 2.00/30.00 addr 3 uhidev1: iclass 3/0, 17 report ids uhid0 at uhidev1 reportid 3: input=4, output=0, feature=0 uhid1 at uhidev1 reportid 16: input=6, output=6, feature=0 uhid2 at uhidev1 reportid 17: input=19, output=19, feature=0 umass0 at uhub1 port 3 configuration 1 interface 0 "SanDisk Cruzer Edge" rev 2.00/2.01 addr 4 umass0: using SCSI over Bulk-Only scsibus1 at umass0: 2 targets, initiator 0 sd1 at scsibus1 targ 1 lun 0: <SanDisk, Cruzer Edge, 2.01> SCSI4 0/direct fixed serial.xxxxxxxxxxxxxxxxxxxx sd1: 15267MB, 512 bytes/sector, 31266816 sectors uvideo0 at uhub1 port 8 configuration 1 interface 0 "SunplusIT INC. HD WebCam" rev 2.00/0.12 addr 5 video0 at uvideo0 vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets root on sd1a (4ff907173ab0f7ac.a) swap on sd1b dump on sd1b [dmesg of kernel with AZALIA_DEBUG] OpenBSD 5.4-current (AZALIA_DEBUG.MP) #0: Sun Dec 29 10:26:02 CET 2013 root@foo.WAG320N:/usr/src/sys/arch/amd64/compile/AZALIA_DEBUG.MP RTC BIOS diagnostic error 80<clock_battery> real mem = 6304821248 (6012MB) avail mem = 6128783360 (5844MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xe6e60 (27 entries) bios0: vendor Insyde Corp. version "V2.10" date 10/07/2013 bios0: Acer Aspire E1-572G acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP UEFI FPDT MSDM ASF! HPET APIC MCFG SSDT BOOT ASPT DBGP SSDT SSDT SSDT SSDT acpi0: wakeup devices P0P1(S4) EHC1(S3) XHC_(S3) HDEF(S4) TPD4(S4) TPD7(S0) TPD8(S0) PXSX(S4) RP03(S4) PEGP(S4) PEGA(S4) PXSX(S4) RP07(S4) PXSX(S4) RP08(S4) PEG0(S4) [...] acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz, 2295.04 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID cpu0: 256KB 64b/line 8-way L2 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges cpu0: apic clock running at 99MHz cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz, 2294.69 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID cpu1: 256KB 64b/line 8-way L2 cache cpu1: smt 1, core 0, package 0 cpu2 at mainbus0: apid 2 (application processor) cpu2: Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz, 2294.69 MHz cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID cpu2: 256KB 64b/line 8-way L2 cache cpu2: smt 0, core 1, package 0 cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz, 2294.69 MHz cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID cpu3: 256KB 64b/line 8-way L2 cache cpu3: smt 1, core 1, package 0 ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 40 pins acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (P0P1) acpiprt2 at acpi0: bus -1 (RP01) acpiprt3 at acpi0: bus -1 (RP02) acpiprt4 at acpi0: bus 1 (RP03) acpiprt5 at acpi0: bus 2 (RP04) acpiprt6 at acpi0: bus 3 (RP05) acpiprt7 at acpi0: bus -1 (RP06) acpiprt8 at acpi0: bus -1 (RP07) acpiprt9 at acpi0: bus -1 (RP08) acpiprt10 at acpi0: bus -1 (PEG0) acpiprt11 at acpi0: bus -1 (PEG1) acpiprt12 at acpi0: bus -1 (PEG2) acpiec0 at acpi0 acpicpu0 at acpi0: C1, PSS acpicpu1 at acpi0: C1, PSS acpicpu2 at acpi0: C1, PSS acpicpu3 at acpi0: C1, PSS acpibat0 at acpi0: BAT1 model "xxxxxxxxxxxxxxxxx" serial xx type Lion oem "SANYO " acpiac0 at acpi0: AC unit offline acpibtn0 at acpi0: LID0 acpibtn1 at acpi0: PWRB acpibtn2 at acpi0: SLPB acpivideo0 at acpi0: GFX0 acpivout0 at acpivideo0: DD1F cpu0: Enhanced SpeedStep 2295 MHz: speeds: 2401, 2400, 2300, 2200, 2000, 1900, 1800, 1700, 1500, 1400, 1300, 1200, 1100, 900, 800, 768 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 vendor "Intel", unknown product 0x0a04 rev 0x09 vga1 at pci0 dev 2 function 0 "Intel HD Graphics" rev 0x09 intagp0 at vga1 agp0 at intagp0: aperture at 0xb0000000, size 0x10000000 inteldrm0 at vga1 drm0 at inteldrm0 error: [drm:pid0:i915_write32] *ERROR* Unknown unclaimed register before writing to 100000 error: [drm:pid0:intel_dp_set_link_train] *ERROR* Timed out waiting for DP idle patterns error: [drm:pid0:i915_write32] *ERROR* Unknown unclaimed register before writing to 64040 inteldrm0: 1366x768 wsdisplay0 at vga1 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1-5 added (std, vt100 emulation) azalia0 at pci0 dev 3 function 0 "Intel Core 4G HD Audio" rev 0x09: msi azalia_reset: resetting azalia_reset: reset counter = 5000 azalia_reset: reset counter = 5000 azalia0: host: High Definition Audio rev. 1.0 azalia0: host: 2 output, 0 input, and 0 bidi streams azalia0: found a codec at #0 azalia_init_corb: CORB allocation succeeded. azalia_init_corb: CORBWP=0; size=256 azalia_init_rirb: RIRB allocation succeeded. azalia_init_rirb: RIRBRP=0, size=256 azalia0: RIRB time out azalia0: No codecs found azalia_pci_detach azalia_pci_detach: delete streams azalia_pci_detach: delete codecs azalia_pci_detach: delete CORB and RIRB azalia_pci_detach: disable interrupts azalia_pci_detach: clear interrupts azalia_pci_detach: delete PCI resources "Intel 8 Series xHCI" rev 0x04 at pci0 dev 20 function 0 not configured "Intel 8 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured azalia1 at pci0 dev 27 function 0 "Intel 8 Series HD Audio" rev 0x04: msi azalia_reset: resetting azalia_reset: reset counter = 5000 azalia_reset: reset counter = 4982 azalia1: host: High Definition Audio rev. 1.0 azalia1: host: 4 output, 4 input, and 0 bidi streams azalia1: found a codec at #0 azalia_init_corb: CORB allocation succeeded. azalia_init_corb: CORBWP=0; size=256 azalia_init_rirb: RIRB allocation succeeded. azalia_init_rirb: RIRBRP=0, size=256 azalia1: codec[0] vid 0x10ec0282, subid 0x07751025, rev. 0.3, HDA version 1.0 azalia1: nidstart=1 #functions=1 azalia_codec_init: FTYPE result = 0x00000101 azalia_codec_init: There are 34 widgets in the audio function. encodings=1<PCM> PCM formats=e0560<24bit,20bit,16bit,192kHz,96kHz,48kHz,44.1kHz> inamp: mute=0 size=0 steps=0 offset=0 outamp: mute=0 size=0 steps=0 offset=0 gpio: wake=0 unsol=1 gpis=0 gpos=0 gpios=3 azalia1: dac02 wcap=41d<POWER,FORMATOV,AMPOV,OUTAMP,STEREO> encodings=1<PCM> PCM formats=e0560<24bit,20bit,16bit,192kHz,96kHz,48kHz,44.1kHz> outamp: mute=0 size=2 steps=87 offset=87 azalia1: dac03 wcap=41d<POWER,FORMATOV,AMPOV,OUTAMP,STEREO> encodings=1<PCM> PCM formats=e0560<24bit,20bit,16bit,192kHz,96kHz,48kHz,44.1kHz> outamp: mute=0 size=2 steps=87 offset=87 azalia1: vendor04 wcap=f00000 azalia1: vendor05 wcap=f00000 azalia1: dac06 wcap=611<POWER,DIGITAL,FORMATOV,STEREO> encodings=1<PCM> PCM formats=e05e0<24bit,20bit,16bit,192kHz,96kHz,88.2kHz,48kHz,44.1kHz> azalia1: vendor07 wcap=f00000 azalia1: adc08 wcap=10051b<POWER,CONNLIST,FORMATOV,AMPOV,INAMP,STEREO> encodings=1<PCM> PCM formats=e0560<24bit,20bit,16bit,192kHz,96kHz,48kHz,44.1kHz> inamp: mute=1 size=2 steps=63 offset=23 connections=0x23; selected=0x23 azalia1: adc09 wcap=10051b<POWER,CONNLIST,FORMATOV,AMPOV,INAMP,STEREO> encodings=1<PCM> PCM formats=e0560<24bit,20bit,16bit,192kHz,96kHz,48kHz,44.1kHz> inamp: mute=1 size=2 steps=63 offset=23 connections=0x22; selected=0x22 azalia1: vendor0a wcap=f00000 azalia1: mix0b wcap=20010b<CONNLIST,AMPOV,INAMP,STEREO> inamp: mute=1 size=5 steps=31 offset=23 connections=0x18,0x19,0x1a,0x1b,0x1d; selected=0x18 azalia1: mix0c wcap=20010b<CONNLIST,AMPOV,INAMP,STEREO> inamp: mute=1 size=0 steps=0 offset=0 connections=0x2,0xb; selected=0x2 azalia1: mix0d wcap=20010b<CONNLIST,AMPOV,INAMP,STEREO> inamp: mute=1 size=0 steps=0 offset=0 connections=0x3,0xb; selected=0x3 azalia1: vendor0e wcap=f00000 azalia1: mix0f wcap=20010a<CONNLIST,AMPOV,INAMP> inamp: mute=1 size=0 steps=0 offset=0 connections=0xd; selected=0xd azalia1: vendor10 wcap=f00000 azalia1: adc11 wcap=10051b<POWER,CONNLIST,FORMATOV,AMPOV,INAMP,STEREO> encodings=1<PCM> PCM formats=e0560<24bit,20bit,16bit,192kHz,96kHz,48kHz,44.1kHz> inamp: mute=1 size=2 steps=63 offset=23 connections=0x12; selected=0x12 azalia1: unknown12 wcap=40040b<POWER,AMPOV,INAMP,STEREO> cap=20<INPUT> [00/00] color=unknown device=hp conn=none conntype=unknown location=n/a chassis=external special=none inamp: mute=0 size=47 steps=3 offset=0 azalia1: vendor13 wcap=f00000 azalia1: unknown14 wcap=40058d<POWER,CONNLIST,UNSOL,AMPOV,OUTAMP,STEREO> cap=10014<EAPD,OUTPUT,PRESENCE> [01/00] color=unknown device=spkr conn=fixed conntype=analog location=n/a chassis=internal special=none outamp: mute=1 size=0 steps=0 offset=0 connections=0xc; selected=0xc azalia1: vendor15 wcap=f00000 azalia1: vendor16 wcap=f00000 azalia1: black17 wcap=40050c<POWER,CONNLIST,AMPOV,OUTAMP> cap=10<OUTPUT> [15/00] color=black device=spkr conn=none conntype=1/8 location=rear chassis=external special=none outamp: mute=1 size=0 steps=0 offset=0 connections=0xf; selected=0xf azalia1: black18 wcap=40048b<POWER,UNSOL,AMPOV,INAMP,STEREO> cap=3724<VREF100,VREF80,VREFGND,VREF50,VREFHIZ,INPUT,PRESENCE> [15/00] color=black device=spkr conn=none conntype=1/8 location=rear chassis=external special=none inamp: mute=0 size=47 steps=3 offset=0 azalia1: black19 wcap=40048b<POWER,UNSOL,AMPOV,INAMP,STEREO> cap=3724<VREF100,VREF80,VREFGND,VREF50,VREFHIZ,INPUT,PRESENCE> [15/00] color=black device=spkr conn=none conntype=1/8 location=rear chassis=external special=none inamp: mute=0 size=47 steps=3 offset=0 azalia1: black1a wcap=40048b<POWER,UNSOL,AMPOV,INAMP,STEREO> cap=3724<VREF100,VREF80,VREFGND,VREF50,VREFHIZ,INPUT,PRESENCE> [15/00] color=black device=spkr conn=none conntype=1/8 location=rear chassis=external special=none inamp: mute=0 size=47 steps=3 offset=0 azalia1: unknown1b wcap=40058f<POWER,CONNLIST,UNSOL,AMPOV,OUTAMP,INAMP,STEREO> cap=373c<VREF100,VREF80,VREFGND,VREF50,VREFHIZ,INPUT,OUTPUT,HEADPHONE,PRESENCE> [02/00] color=unknown device=mic conn=fixed conntype=analog location=n/a chassis=internal special=none inamp: mute=0 size=47 steps=3 offset=0 outamp: mute=1 size=0 steps=0 offset=0 connections=0xc,0xd; selected=0xc azalia1: vendor1c wcap=f00000 azalia1: pink1d wcap=400400<POWER> cap=20<INPUT> [02/13] color=pink device=digital-out conn=none conntype=din location=n/a chassis=external special=none azalia1: black1e wcap=400781<POWER,DIGITAL,CONNLIST,UNSOL,STEREO> cap=14<OUTPUT,PRESENCE> [15/00] color=black device=spkr conn=none conntype=1/8 location=rear chassis=external special=none connections=0x6; selected=0x6 azalia1: vendor1f wcap=f00000 azalia1: vendor20 wcap=f00040<PROC> azalia1: black21 wcap=40058d<POWER,CONNLIST,UNSOL,AMPOV,OUTAMP,STEREO> cap=1c<OUTPUT,HEADPHONE,PRESENCE> [01/15] color=black device=hp conn=jack conntype=1/8 location=left chassis=external special=none outamp: mute=1 size=0 steps=0 offset=0 connections=0xc,0xd; selected=0xc azalia1: mix22 wcap=20010b<CONNLIST,AMPOV,INAMP,STEREO> inamp: mute=1 size=0 steps=0 offset=0 connections=0x18,0x19,0x1a,0x1b,0x1d,0xb; selected=0x18 azalia1: mix23 wcap=20010b<CONNLIST,AMPOV,INAMP,STEREO> inamp: mute=1 size=0 steps=0 offset=0 connections=0x18,0x19,0x1a,0x1b,0x1d,0xb; selected=0x18 azalia_codec_sort_pins: analog out pins: 0x21->0x02 azalia_codec_sort_pins: digital out pins: azalia_codec_sort_pins: analog in pins: 0x1b->0x08 azalia_codec_sort_pins: digital in pins: azalia1: dacgroup[0]: 03 02 azalia1: adcgroup[0]: 08 09 azalia1: codecs: Realtek/0x0282 audio0 at azalia1 ppb0 at pci0 dev 28 function 0 "Intel 8 Series PCIE" rev 0xe4: msi pci1 at ppb0 bus 1 bge0 at pci1 dev 0 function 0 "Broadcom BCM57786" rev 0x01, unknown BCM57766 (0x57766001): msi, address xx:xx:xx:xx:xx:xx brgphy0 at bge0 phy 1: BCM57765 10/100/1000baseT PHY, rev. 1 sdhc0 at pci1 dev 0 function 1 "Broadcom SD Host Controller" rev 0x01: apic 2 int 19 sdhc0 at 0x10: can't map registers ppb1 at pci0 dev 28 function 3 "Intel 8 Series PCIE" rev 0xe4: msi pci2 at ppb1 bus 2 "Atheros AR9565" rev 0x01 at pci2 dev 0 function 0 not configured ppb2 at pci0 dev 28 function 4 "Intel 8 Series PCIE" rev 0xe4: msi pci3 at ppb2 bus 3 "ATI Radeon HD 8670A" rev 0x00 at pci3 dev 0 function 0 not configured ehci0 at pci0 dev 29 function 0 "Intel 8 Series USB" rev 0x04: apic 2 int 23 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 pcib0 at pci0 dev 31 function 0 "Intel 8 Series LPC" rev 0x04 ahci0 at pci0 dev 31 function 2 "Intel 8 Series AHCI" rev 0x04: msi, AHCI 1.3 scsibus0 at ahci0: 32 targets sd0 at scsibus0 targ 0 lun 0: <ATA, TOSHIBA MQ01ABD0, AX00> SCSI3 0/direct fixed naa.xxxxxxxxxxxxxxxx sd0: 715404MB, 512 bytes/sector, 1465149168 sectors cd0 at scsibus0 targ 1 lun 0: <MATSHITA, DVD-RAM UJ8D2Q, 1.10> ATAPI 5/cdrom removable ichiic0 at pci0 dev 31 function 3 "Intel 8 Series SMBus" rev 0x04: apic 2 int 18 iic0 at ichiic0 spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-12800 SO-DIMM spdmem1 at iic0 addr 0x52: 4GB DDR3 SDRAM PC3-12800 SO-DIMM isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 pms0: Synaptics touchpad, firmware 7.5 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 uhub1 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.04 addr 2 uhidev0 at uhub1 port 2 configuration 1 interface 0 "Logitech USB Receiver" rev 2.00/30.00 addr 3 uhidev0: iclass 3/1 ums0 at uhidev0: 16 buttons, Z dir wsmouse1 at ums0 mux 0 uhidev1 at uhub1 port 2 configuration 1 interface 1 "Logitech USB Receiver" rev 2.00/30.00 addr 3 uhidev1: iclass 3/0, 17 report ids uhid0 at uhidev1 reportid 3: input=4, output=0, feature=0 uhid1 at uhidev1 reportid 16: input=6, output=6, feature=0 uhid2 at uhidev1 reportid 17: input=19, output=19, feature=0 umass0 at uhub1 port 3 configuration 1 interface 0 "SanDisk Cruzer Edge" rev 2.00/2.01 addr 4 umass0: using SCSI over Bulk-Only scsibus1 at umass0: 2 targets, initiator 0 sd1 at scsibus1 targ 1 lun 0: <SanDisk, Cruzer Edge, 2.01> SCSI4 0/direct fixed serial.xxxxxxxxxxxxxxxxxxxx sd1: 15267MB, 512 bytes/sector, 31266816 sectors uvideo0 at uhub1 port 8 configuration 1 interface 0 "SunplusIT INC. HD WebCam" rev 2.00/0.12 addr 5 video0 at uvideo0 vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets root on sd1a (4ff907173ab0f7ac.a) swap on sd1b dump [mixerctl] inputs.dac-2:3=126,126 inputs.dac-0:1=126,126 record.adc-0:1_mute=off [ off on ] record.adc-0:1=124,124 record.adc-2:3_mute=off [ off on ] record.adc-2:3=124,124 inputs.mix_source= { mic } inputs.mix_mic=120,120 inputs.mix2_source=dac-2:3,mix { dac-2:3 mix } inputs.mix3_source=dac-0:1,mix { dac-0:1 mix } outputs.spkr_source=mix2 [ mix2 ] outputs.spkr_mute=off [ off on ] outputs.spkr_eapd=on [ off on ] inputs.mic=85,85 outputs.mic_dir=input-vr80 [ none output input input-vr0 input-vr50 input-vr80 input-vr100 ] outputs.hp_source=mix3 [ mix2 mix3 ] outputs.hp_mute=off [ off on ] outputs.hp_boost=off [ off on ] record.adc-2:3_source=mic,mix { mic mix } record.adc-0:1_source=mic,mix { mic mix } outputs.hp_sense=unplugged [ unplugged plugged ] outputs.spkr_muters=hp { hp } outputs.master=126,126 outputs.master.mute=off [ off on ] outputs.master.slaves=dac-2:3,dac-0:1,spkr,hp { dac-2:3 dac-0:1 spkr mic hp } record.volume=124,124 record.volume.mute=off [ off on ] record.volume.slaves=adc-0:1,adc-2:3 { adc-0:1 adc-2:3 mic } [audioctl] name=HD-Audio version=1.0 config=azalia1 encodings=slinear_le:16:2:1,slinear_le:20:4:1,slinear_le:24:4:1 properties=full_duplex,independent full_duplex=0 fullduplex=0 blocksize=9600 hiwat=6 lowat=4 output_muted=0 monitor_gain=0 mode= play.rate=48000 play.channels=2 play.precision=16 play.bps=2 play.msb=1 play.encoding=slinear_le play.gain=126 play.balance=32 play.port=0x0 play.avail_ports=0x0 play.seek=0 play.samples=0 play.eof=0 play.pause=0 play.error=0 play.waiting=0 play.open=0 play.active=0 play.buffer_size=65536 play.block_size=9600 play.errors=0 record.rate=48000 record.channels=2 record.precision=16 record.bps=2 record.msb=1 record.encoding=slinear_le record.gain=124 record.balance=32 record.port=0x0 record.avail_ports=0x0 record.seek=0 record.samples=0 record.eof=0 record.pause=0 record.error=0 record.waiting=0 record.open=0 record.active=0 record.buffer_size=65536 record.block_size=9600 record.errors=0