I'm curious why you decided to mask the subid here and not just test
subid == 0x308a103c ?
On Sun, Dec 07, 2014 at 03:46:13PM +0100, Alessandro DE LAURENZIS wrote:
> Greetings,
>
> Some days ago I installed OBSD 5.6 on my old Compaq 610 laptop (a pretty
> "standard" CORE2 Duo 2010 machine - yes, I know that "standard" is a
> kind of hard concept in the i386/amd64 world...), dmesg in [1].
>
> Great hardware support, except that sound card was completely silent
> (dmesg with AZALIA_DEBUG in [2], mixerctrl in [3], audioctl in [4]).
>
> I played a bit with the parameters, trying to follow some advices
> discussed on this list in the past, with no success.
>
> Quick trials in both FreeBSD (10.1 and 11-current) and NetBSD (6.5.1)
> revealed a working sound out of the box, confirming the well established
> support for this model.
>
> Long story short, I had a look at the code and ended up with the
> following patch which makes my sound card working in OpenBSD too:
>
> --- ./sys/dev/pci/azalia_codec.c Fri Dec 5 21:06:18 2014
> +++ ./sys/dev/pci/azalia_codec.c.patched Fri Dec 5 21:08:02 2014
> @@ -182,6 +182,10 @@
> break;
> case 0x111d7608:
> this->name = "IDT 92HD75B1/2";
> + if ((this->subid & 0x0000ffff) == 0x0000103c) { /* HP */
> + this->qrks |= AZ_QRK_GPIO_UNMUTE_0;
> + }
> break;
> case 0x111d7674:
> this->name = "IDT 92HD73D1";
>
> Of course, I don't know if this is very machine specific or instead
> it could be of general interest; I'm writing here just in case someone
> had the same problem or the developers consider it useful to add
> that upstream.
>
> Hope this can help
>
> All the best
>
>
> [1]
> OpenBSD 5.6-stable (GENERIC.MP) #1: Fri Dec 5 21:49:07 CET 2014
> [email protected]:/builds/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 3195731968 (3047MB)
> avail mem = 3101937664 (2958MB)
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf284b (25 entries)
> bios0: vendor Hewlett-Packard version "68PVU Ver. F.08" date 09/24/2009
> bios0: Hewlett-Packard Compaq 610
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP SLIC HPET APIC MCFG TCPA SSDT SSDT SSDT SSDT SSDT
> acpi0: wakeup devices C0B6(S5) C10E(S3) C115(S3) C116(S3) C117(S3) C121(S3)
> C123(S3) C139(S5) C2AB(S5) C13C(S5) C2AC(S5) C13D(S5) C13F(S5) C247(S5)
> 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)2 Duo CPU T5870 @ 2.00GHz, 2194.81 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,DTES64,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF,PERF
> cpu0: 2MB 64b/line 8-way L2 cache
> cpu0: smt 0, core 0, package 0
> mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
> cpu0: apic clock running at 199MHz
> cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2, IBE
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: Intel(R) Core(TM)2 Duo CPU T5870 @ 2.00GHz, 1995.01 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,DTES64,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF,PERF
> cpu1: 2MB 64b/line 8-way L2 cache
> cpu1: smt 0, core 1, package 0
> ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins
> ioapic0: misconfigured as apic 0, remapped to apid 1
> acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63
> acpiprt0 at acpi0: bus 2 (C0B6)
> acpiprt1 at acpi0: bus 8 (C125)
> acpiprt2 at acpi0: bus 16 (C139)
> acpiprt3 at acpi0: bus 40 (C13C)
> acpiprt4 at acpi0: bus 48 (C13D)
> acpiprt5 at acpi0: bus 0 (C003)
> acpiec0 at acpi0
> acpicpu0 at acpi0: C3, C2, C1, PSS
> acpicpu1 at acpi0: C3, C2, C1, PSS
> acpipwrres0 at acpi0: C27C, resource for C277
> acpipwrres1 at acpi0: C289, resource for C27D
> acpipwrres2 at acpi0: C2A5, resource for C2A3
> acpipwrres3 at acpi0: C1CE, resource for C13E
> acpipwrres4 at acpi0: C3C1, resource for C3C6
> acpipwrres5 at acpi0: C3C2, resource for C3C7
> acpipwrres6 at acpi0: C3C3, resource for C3C8
> acpipwrres7 at acpi0: C3C4, resource for C3C9
> acpipwrres8 at acpi0: C3C5, resource for C3CA
> acpitz0 at acpi0: critical temperature is 105 degC
> acpitz1 at acpi0: critical temperature is 107 degC
> acpitz2 at acpi0: critical temperature is 110 degC
> acpitz3 at acpi0: critical temperature is 256 degC
> acpitz4 at acpi0: critical temperature is 107 degC
> acpibat0 at acpi0: C245 model "Primary" serial 01223 2009/10/04 type LIon oem
> "Hewlett-Packard"
> acpiac0 at acpi0: AC unit online
> acpibtn0 at acpi0: C2BE
> acpibtn1 at acpi0: C15B
> acpivideo0 at acpi0: C09E
> acpivout0 at acpivideo0: C1B5
> cpu0: Enhanced SpeedStep 2194 MHz: speeds: 2001, 2000, 1600, 1200, 800 MHz
> pci0 at mainbus0 bus 0
> pchb0 at pci0 dev 0 function 0 "Intel GME965 Host" rev 0x0c
> vga1 at pci0 dev 2 function 0 "Intel GME965 Video" rev 0x0c
> intagp0 at vga1
> agp0 at intagp0: aperture at 0xd0000000, size 0x10000000
> inteldrm0 at vga1
> drm0 at inteldrm0
> inteldrm0: 1366x768
> wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
> wsdisplay0: screen 1-5 added (std, vt100 emulation)
> "Intel GME965 Video" rev 0x0c at pci0 dev 2 function 1 not configured
> uhci0 at pci0 dev 26 function 0 "Intel 82801H USB" rev 0x03: apic 1 int 16
> ehci0 at pci0 dev 26 function 7 "Intel 82801H USB" rev 0x03: apic 1 int 18
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> azalia0 at pci0 dev 27 function 0 "Intel 82801H HD Audio" rev 0x03: msi
> azalia0: codecs: IDT 92HD75B1/2, AT&T/Lucent/0x1040, using IDT 92HD75B1/2
> audio0 at azalia0
> ppb0 at pci0 dev 28 function 0 "Intel 82801H PCIE" rev 0x03
> pci1 at ppb0 bus 8
> ppb1 at pci0 dev 28 function 1 "Intel 82801H PCIE" rev 0x03: msi
> pci2 at ppb1 bus 16
> iwn0 at pci2 dev 0 function 0 "Intel WiFi Link 5100" rev 0x00: msi, MIMO
> 1T2R, MoW, address 00:26:c6:01:58:12
> ppb2 at pci0 dev 28 function 4 "Intel 82801H PCIE" rev 0x03: msi
> pci3 at ppb2 bus 40
> ppb3 at pci0 dev 28 function 5 "Intel 82801H PCIE" rev 0x03
> pci4 at ppb3 bus 48
> mskc0 at pci4 dev 0 function 0 "Marvell Yukon 88E8042" rev 0x10, Yukon-2 FE+
> rev. A0 (0x0): apic 1 int 17
> msk0 at mskc0 port A: address 18:a9:05:94:ab:19
> eephy0 at msk0 phy 0: 88E3016 10/100 PHY, rev. 0
> uhci1 at pci0 dev 29 function 0 "Intel 82801H USB" rev 0x03: apic 1 int 20
> uhci2 at pci0 dev 29 function 1 "Intel 82801H USB" rev 0x03: apic 1 int 21
> uhci3 at pci0 dev 29 function 2 "Intel 82801H USB" rev 0x03: apic 1 int 18
> ehci1 at pci0 dev 29 function 7 "Intel 82801H USB" rev 0x03: apic 1 int 20
> usb1 at ehci1: USB revision 2.0
> uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> ppb4 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xf3
> pci5 at ppb4 bus 2
> pcib0 at pci0 dev 31 function 0 "Intel 82801HBM LPC" rev 0x03
> pciide0 at pci0 dev 31 function 1 "Intel 82801HBM IDE" rev 0x03: DMA, channel
> 0 configured to compatibility, channel 1 configured to compatibility
> pciide0: channel 0 disabled (no drives)
> pciide0: channel 1 ignored (disabled)
> ahci0 at pci0 dev 31 function 2 "Intel 82801HBM AHCI" rev 0x03: msi, AHCI 1.1
> scsibus1 at ahci0: 32 targets
> sd0 at scsibus1 targ 0 lun 0: <ATA, Hitachi HTS72323, FC4O> SCSI3 0/direct
> fixed naa.5000cca582d98f33
> sd0: 305245MB, 512 bytes/sector, 625142448 sectors
> cd0 at scsibus1 targ 2 lun 0: <hp, CDDVDW TS-L633M, 0301> ATAPI 5/cdrom
> removable
> usb2 at uhci0: USB revision 1.0
> uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb3 at uhci1: USB revision 1.0
> uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb4 at uhci2: USB revision 1.0
> uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb5 at uhci3: USB revision 1.0
> uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> 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.2
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> uvideo0 at uhub1 port 5 configuration 1 interface 0 "Chicony Electronics Co.,
> Ltd. CNF8243" rev 2.00/85.39 addr 2
> video0 at uvideo0
> uhidev0 at uhub3 port 2 configuration 1 interface 0 "Primax Electronics USB
> Optical Mouse" rev 2.00/2.00 addr 2
> uhidev0: iclass 3/1
> ums0 at uhidev0: 3 buttons, Z dir
> wsmouse1 at ums0 mux 0
> vscsi0 at root
> scsibus2 at vscsi0: 256 targets
> softraid0 at root
> scsibus3 at softraid0: 256 targets
> root on sd0a (5a985a987f3fa32e.a) swap on sd0b dump on sd0b
> uhub2 detached
> uhub0 detached
> wsmouse1 detached
> ums0 detached
> uhidev0 detached
> uhub3 detached
> uhub4 detached
> uhub5 detached
> video0 detached
> uvideo0 detached
> uhub1 detached
> uhub0 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> uhub1 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> uhub2 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> uhub3 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> uhub4 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> uhub5 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> uvideo0 at uhub5 port 5 configuration 1 interface 0 "Chicony Electronics Co.,
> Ltd. CNF8243" rev 2.00/85.39 addr 2
> video0 at uvideo0
> uhidev0 at uhub2 port 2 configuration 1 interface 0 "Primax Electronics USB
> Optical Mouse" rev 2.00/2.00 addr 2
> uhidev0: iclass 3/1
> ums0 at uhidev0: 3 buttons, Z dir
> wsmouse1 at ums0 mux 0
>
> [2]
> OpenBSD 5.6-stable (GENERIC-AZALIA_DEBUG.MP) #2: Fri Dec 5 09:46:49 CET 2014
>
> [email protected]:/builds/src/sys/arch/amd64/compile/GENERIC-AZALIA_DEBUG.MP
> real mem = 3195731968 (3047MB)
> avail mem = 3101929472 (2958MB)
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf284b (25 entries)
> bios0: vendor Hewlett-Packard version "68PVU Ver. F.08" date 09/24/2009
> bios0: Hewlett-Packard Compaq 610
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP SLIC HPET APIC MCFG TCPA SSDT SSDT SSDT SSDT SSDT
> acpi0: wakeup devices C0B6(S5) C10E(S3) C115(S3) C116(S3) C117(S3) C121(S3)
> C123(S3) C139(S5) C2AB(S5) C13C(S5) C2AC(S5) C13D(S5) C13F(S5) C247(S5)
> 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)2 Duo CPU T5870 @ 2.00GHz, 2194.80 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,DTES64,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF,PERF
> cpu0: 2MB 64b/line 8-way L2 cache
> cpu0: smt 0, core 0, package 0
> mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
> cpu0: apic clock running at 199MHz
> cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2, IBE
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: Intel(R) Core(TM)2 Duo CPU T5870 @ 2.00GHz, 1995.01 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,DTES64,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF,PERF
> cpu1: 2MB 64b/line 8-way L2 cache
> cpu1: smt 0, core 1, package 0
> ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins
> ioapic0: misconfigured as apic 0, remapped to apid 1
> acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63
> acpiprt0 at acpi0: bus 2 (C0B6)
> acpiprt1 at acpi0: bus 8 (C125)
> acpiprt2 at acpi0: bus 16 (C139)
> acpiprt3 at acpi0: bus 40 (C13C)
> acpiprt4 at acpi0: bus 48 (C13D)
> acpiprt5 at acpi0: bus 0 (C003)
> acpiec0 at acpi0
> acpicpu0 at acpi0: C3, C2, C1, PSS
> acpicpu1 at acpi0: C3, C2, C1, PSS
> acpipwrres0 at acpi0: C27C, resource for C277
> acpipwrres1 at acpi0: C289, resource for C27D
> acpipwrres2 at acpi0: C2A5, resource for C2A3
> acpipwrres3 at acpi0: C1CE, resource for C13E
> acpipwrres4 at acpi0: C3C1, resource for C3C6
> acpipwrres5 at acpi0: C3C2, resource for C3C7
> acpipwrres6 at acpi0: C3C3, resource for C3C8
> acpipwrres7 at acpi0: C3C4, resource for C3C9
> acpipwrres8 at acpi0: C3C5, resource for C3CA
> acpitz0 at acpi0: critical temperature is 105 degC
> acpitz1 at acpi0: critical temperature is 107 degC
> acpitz2 at acpi0: critical temperature is 110 degC
> acpitz3 at acpi0: critical temperature is 256 degC
> acpitz4 at acpi0: critical temperature is 107 degC
> acpibat0 at acpi0: C245 model "Primary" serial 01223 2009/10/04 type LIon oem
> "Hewlett-Packard"
> acpiac0 at acpi0: AC unit online
> acpibtn0 at acpi0: C2BE
> acpibtn1 at acpi0: C15B
> acpivideo0 at acpi0: C09E
> acpivout0 at acpivideo0: C1B5
> cpu0: Enhanced SpeedStep 2194 MHz: speeds: 2001, 2000, 1600, 1200, 800 MHz
> pci0 at mainbus0 bus 0
> pchb0 at pci0 dev 0 function 0 "Intel GME965 Host" rev 0x0c
> vga1 at pci0 dev 2 function 0 "Intel GME965 Video" rev 0x0c
> intagp0 at vga1
> agp0 at intagp0: aperture at 0xd0000000, size 0x10000000
> inteldrm0 at vga1
> drm0 at inteldrm0
> inteldrm0: 1366x768
> wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
> wsdisplay0: screen 1-5 added (std, vt100 emulation)
> "Intel GME965 Video" rev 0x0c at pci0 dev 2 function 1 not configured
> uhci0 at pci0 dev 26 function 0 "Intel 82801H USB" rev 0x03: apic 1 int 16
> ehci0 at pci0 dev 26 function 7 "Intel 82801H USB" rev 0x03: apic 1 int 18
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> azalia0 at pci0 dev 27 function 0 "Intel 82801H HD Audio" rev 0x03: msi
> azalia_reset: resetting
> azalia_reset: reset counter = 4999
> azalia_reset: reset counter = 4985
> azalia0: host: High Definition Audio rev. 1.0
> azalia0: host: 4 output, 4 input, and 0 bidi streams
> azalia0: found a codec at #0
> azalia0: found a codec at #1
> 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: codec[0] vid 0x111d7608, subid 0x308a103c, rev. 2.2, HDA version 1.0
> azalia0: nidstart=1 #functions=1
> azalia_codec_init: FTYPE result = 0x00000101
> azalia_codec_init: There are 30 widgets in the audio function.
> encodings=1<PCM>
> PCM
> formats=e07e0<24bit,20bit,16bit,192kHz,176.4kHz,96kHz,88.2kHz,48kHz,44.1kHz>
> inamp: mute=1 size=0 steps=0 offset=0
> outamp: mute=1 size=2 steps=127 offset=127
> gpio: wake=1 unsol=1 gpis=0 gpos=0 gpios=8
> azalia0: black0a wcap=400181<CONNLIST,UNSOL,STEREO>
> cap=1c<OUTPUT,HEADPHONE,PRESENCE>
> [01/15] color=black device=hp conn=jack conntype=1/8
> location=front chassis=external special=none
> connections=0x10,0x11,0x17; selected=0x17
> azalia0: black0b wcap=400081<UNSOL,STEREO>
> cap=1724<VREF80,VREFGND,VREF50,VREFHIZ,INPUT,PRESENCE>
> [03/00] color=black device=mic conn=jack conntype=1/8
> location=front chassis=external special=none
> azalia0: unknown0c wcap=400081<UNSOL,STEREO>
> cap=1724<VREF80,VREFGND,VREF50,VREFHIZ,INPUT,PRESENCE>
> [02/00] color=unknown device=mic conn=fixed conntype=1/8
> location=n/a chassis=internal special=none
> azalia0: unknown0d wcap=400181<CONNLIST,UNSOL,STEREO>
> cap=14<OUTPUT,PRESENCE>
> [01/00] color=unknown device=spkr conn=fixed conntype=analog
> location=n/a chassis=internal special=none
> connections=0x10,0x11,0x17; selected=0x17
> azalia0: unknown0e wcap=400081<UNSOL,STEREO>
> cap=24<INPUT,PRESENCE>
> [15/00] color=unknown device=line conn=none conntype=unknown
> location=n/a chassis=external special=none
> azalia0: vendor0f wcap=f00181<CONNLIST,UNSOL,STEREO>
> connections=0x10,0x11,0x17; selected=0x17
> azalia0: dac10 wcap=d0c05<LRSWAP,POWER,OUTAMP,STEREO>
> azalia0: dac11 wcap=d0c05<LRSWAP,POWER,OUTAMP,STEREO>
> azalia0: adc12 wcap=1d0541<POWER,CONNLIST,PROC,STEREO>
> connections=0x1c; selected=0x1c
> azalia0: adc13 wcap=1d0541<POWER,CONNLIST,PROC,STEREO>
> connections=0x1d; selected=0x1d
> azalia0: unknown14 wcap=400100<CONNLIST>
> cap=30<INPUT,OUTPUT>
> [15/00] color=unknown device=line conn=none conntype=unknown
> location=n/a chassis=external special=none
> connections=0x16; selected=0x16
> azalia0: sel15 wcap=300101<CONNLIST,STEREO>
> connections=0x10,0x11,0x17; selected=0x17
> azalia0: mix16 wcap=200100<CONNLIST>
> connections=0x15; selected=0x15
> azalia0: mix17 wcap=20010b<CONNLIST,AMPOV,INAMP,STEREO>
> inamp: mute=1 size=5 steps=31 offset=23
> connections=0x10,0x11,0x14,0x1a,0x1b; selected=0x10
> azalia0: unknown18 wcap=40000b<AMPOV,INAMP,STEREO>
> cap=20<INPUT>
> [15/00] color=unknown device=line conn=none conntype=unknown
> location=n/a chassis=external special=none
> inamp: mute=0 size=39 steps=3 offset=0
> azalia0: vendor19 wcap=f0000b<AMPOV,INAMP,STEREO>
> inamp: mute=0 size=39 steps=3 offset=0
> azalia0: sel1a wcap=30010d<CONNLIST,AMPOV,OUTAMP,STEREO>
> outamp: mute=0 size=39 steps=3 offset=0
> connections=0xb,0xc,0xe; selected=0xb
> azalia0: sel1b wcap=30010d<CONNLIST,AMPOV,OUTAMP,STEREO>
> outamp: mute=0 size=39 steps=3 offset=0
> connections=0xb,0xc,0xe; selected=0xb
> azalia0: sel1c wcap=30090d<LRSWAP,CONNLIST,AMPOV,OUTAMP,STEREO>
> outamp: mute=1 size=5 steps=15 offset=0
> connections=0x1a,0x17,0x18,0x19; selected=0x1a
> azalia0: sel1d wcap=30090d<LRSWAP,CONNLIST,AMPOV,OUTAMP,STEREO>
> outamp: mute=1 size=5 steps=15 offset=0
> connections=0x1b,0x17,0x18,0x19; selected=0x1b
> azalia0: unknown1e wcap=400301<DIGITAL,CONNLIST,STEREO>
> cap=10<OUTPUT>
> [15/00] color=unknown device=line conn=none conntype=unknown
> location=n/a chassis=external special=none
> connections=0x24; selected=0x24
> azalia0: unknown1f wcap=400701<POWER,DIGITAL,CONNLIST,STEREO>
> cap=10010<EAPD,OUTPUT>
> [15/00] color=unknown device=line conn=none conntype=unknown
> location=n/a chassis=external special=none
> connections=0x24,0x25; selected=0x24
> azalia0: unknown20 wcap=400301<DIGITAL,CONNLIST,STEREO>
> cap=10<OUTPUT>
> [15/00] color=unknown device=line conn=none conntype=unknown
> location=n/a chassis=external special=none
> connections=0x25; selected=0x25
> azalia0: dac21 wcap=40211<DIGITAL,FORMATOV,STEREO>
> encodings=5<AC3,PCM>
> PCM
> formats=e07e0<24bit,20bit,16bit,192kHz,176.4kHz,96kHz,88.2kHz,48kHz,44.1kHz>
> azalia0: dac22 wcap=40211<DIGITAL,FORMATOV,STEREO>
> encodings=5<AC3,PCM>
> PCM
> formats=e07e0<24bit,20bit,16bit,192kHz,176.4kHz,96kHz,88.2kHz,48kHz,44.1kHz>
> azalia0: vendor23 wcap=f00000
> azalia0: sel24 wcap=300101<CONNLIST,STEREO>
> connections=0x21,0x1c,0x1d; selected=0x21
> azalia0: sel25 wcap=300101<CONNLIST,STEREO>
> connections=0x22,0x1c,0x1d; selected=0x22
> azalia0: beep26 wcap=70000c<AMPOV,OUTAMP>
> outamp: mute=1 size=23 steps=3 offset=3
> azalia0: volume27 wcap=600000
> delta=1 steps=127
> azalia_codec_sort_pins: analog out pins: 0x0a->0x10
> azalia_codec_sort_pins: digital out pins:
> azalia_codec_sort_pins: analog in pins: 0x0c->0x12 0x0b->0x13
> azalia_codec_sort_pins: digital in pins:
> azalia0: dacgroup[0]: 10 11
> azalia0: adcgroup[0]: 12 13
> azalia0: codec[1] vid 0x11c11040, subid 0x308a103c, rev. 2.0, HDA version 1.0
> azalia0: nidstart=1 #functions=1
> azalia_codec_init: FTYPE result = 0x00000102
> azalia0: codec[1]: No audio function groups
> azalia0: codecs: IDT 92HD75B1/2, AT&T/Lucent/0x1040, using IDT 92HD75B1/2
> audio0 at azalia0
> ppb0 at pci0 dev 28 function 0 "Intel 82801H PCIE" rev 0x03
> pci1 at ppb0 bus 8
> ppb1 at pci0 dev 28 function 1 "Intel 82801H PCIE" rev 0x03: msi
> pci2 at ppb1 bus 16
> iwn0 at pci2 dev 0 function 0 "Intel WiFi Link 5100" rev 0x00: msi, MIMO
> 1T2R, MoW, address 00:26:c6:01:58:12
> ppb2 at pci0 dev 28 function 4 "Intel 82801H PCIE" rev 0x03: msi
> pci3 at ppb2 bus 40
> ppb3 at pci0 dev 28 function 5 "Intel 82801H PCIE" rev 0x03
> pci4 at ppb3 bus 48
> mskc0 at pci4 dev 0 function 0 "Marvell Yukon 88E8042" rev 0x10, Yukon-2 FE+
> rev. A0 (0x0): apic 1 int 17
> msk0 at mskc0 port A: address 18:a9:05:94:ab:19
> eephy0 at msk0 phy 0: 88E3016 10/100 PHY, rev. 0
> uhci1 at pci0 dev 29 function 0 "Intel 82801H USB" rev 0x03: apic 1 int 20
> uhci2 at pci0 dev 29 function 1 "Intel 82801H USB" rev 0x03: apic 1 int 21
> uhci3 at pci0 dev 29 function 2 "Intel 82801H USB" rev 0x03: apic 1 int 18
> ehci1 at pci0 dev 29 function 7 "Intel 82801H USB" rev 0x03: apic 1 int 20
> usb1 at ehci1: USB revision 2.0
> uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> ppb4 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xf3
> pci5 at ppb4 bus 2
> pcib0 at pci0 dev 31 function 0 "Intel 82801HBM LPC" rev 0x03
> pciide0 at pci0 dev 31 function 1 "Intel 82801HBM IDE" rev 0x03: DMA, channel
> 0 configured to compatibility, channel 1 configured to compatibility
> pciide0: channel 0 disabled (no drives)
> pciide0: channel 1 ignored (disabled)
> ahci0 at pci0 dev 31 function 2 "Intel 82801HBM AHCI" rev 0x03: msi, AHCI 1.1
> scsibus1 at ahci0: 32 targets
> sd0 at scsibus1 targ 0 lun 0: <ATA, Hitachi HTS72323, FC4O> SCSI3 0/direct
> fixed naa.5000cca582d98f33
> sd0: 305245MB, 512 bytes/sector, 625142448 sectors
> cd0 at scsibus1 targ 2 lun 0: <hp, CDDVDW TS-L633M, 0301> ATAPI 5/cdrom
> removable
> usb2 at uhci0: USB revision 1.0
> uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb3 at uhci1: USB revision 1.0
> uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb4 at uhci2: USB revision 1.0
> uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb5 at uhci3: USB revision 1.0
> uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> 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.2
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> uvideo0 at uhub1 port 5 configuration 1 interface 0 "Chicony Electronics Co.,
> Ltd. CNF8243" rev 2.00/85.39 addr 2
> video0 at uvideo0
> uhidev0 at uhub3 port 2 configuration 1 interface 0 "Primax Electronics USB
> Optical Mouse" rev 2.00/2.00 addr 2
> uhidev0: iclass 3/1
> ums0 at uhidev0: 3 buttons, Z dir
> wsmouse1 at ums0 mux 0
> vscsi0 at root
> scsibus2 at vscsi0: 256 targets
> softraid0 at root
> scsibus3 at softraid0: 256 targets
> root on sd0a (5a985a987f3fa32e.a) swap on sd0b dump on sd0b
>
> [3]
> just22@icarus:[~]> mixerctl -av
> outputs.hp_source=mix2 [ dac-0:1 dac-2:3 mix2 ]
> outputs.hp_boost=off [ off on ]
> outputs.mic_dir=input-vr80 [ none input input-vr0 input-vr50 input-vr80
> ]
> outputs.mic2_dir=input-vr80 [ none input input-vr0 input-vr50
> input-vr80 ]
> outputs.spkr_source=dac-2:3 [ dac-0:1 dac-2:3 mix2 ]
> inputs.dac-0:1_mute=off [ off on ]
> inputs.dac-0:1=126,126
> inputs.dac-2:3_mute=off [ off on ]
> inputs.dac-2:3=126,126
> inputs.sel_source=mix2 [ dac-0:1 dac-2:3 mix2 ]
> inputs.mix2_source=dac-0:1,dac-2:3,sel2,sel3 { dac-0:1 dac-2:3 sel2 sel3 }
> inputs.mix2_dac-0:1=120,120
> inputs.mix2_dac-2:3=120,120
> inputs.mix2_sel2=120,120
> inputs.mix2_sel3=120,120
> inputs.sel2_source=mic2 [ mic mic2 ]
> outputs.sel2=85,85
> inputs.sel3_source=mic [ mic mic2 ]
> outputs.sel3=85,85
> record.adc-0:1_source=sel2 [ sel2 mix2 ]
> record.adc-0:1_mute=off [ off on ]
> record.adc-0:1=119,119
> record.adc-2:3_source=sel3 [ sel3 mix2 ]
> record.adc-2:3_mute=off [ off on ]
> record.adc-2:3=119,119
> inputs.sel6_source=adc-0:1 [ adc-0:1 adc-2:3 ]
> inputs.sel7_source=adc-0:1 [ adc-0:1 adc-2:3 ]
> inputs.beep_mute=off [ off on ]
> inputs.beep=85
> outputs.hp_sense=unplugged [ unplugged plugged ]
> outputs.mic_sense=unplugged [ unplugged plugged ]
> outputs.spkr_muters=hp { hp }
> outputs.master=126,126
> outputs.master.mute=off [ off on ]
> outputs.master.slaves=dac-0:1,dac-2:3 { dac-0:1 dac-2:3 sel2 sel3 beep }
> record.volume=119,119
> record.volume.mute=off [ off on ]
> record.volume.slaves=adc-0:1,adc-2:3 { adc-0:1 adc-2:3 }
>
> [4]
> just22@icarus:[~]> audioctl
> name=HD-Audio
> version=1.0
> config=azalia0
> 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.channels=2
> record.precision=16
> record.bps=2
> record.msb=1
> record.encoding=slinear_le
> record.gain=119
> 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
>
> --
> Alessandro DE LAURENZIS
> [mailto:[email protected]]
> LinkedIn: http://it.linkedin.com/in/delaurenzis