Subject: port-amd64/37141: azalia(4) driver (codec) not working on Thinkpad R61, on NetBSD v4.0_RC2
To: None <port-amd64-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <hernani@vecirex.net>
List: netbsd-bugs
Date: 10/17/2007 20:55:00
>Number:         37141
>Category:       port-amd64
>Synopsis:       azalia(4) driver (codec) not working on Thinkpad R61, on NetBSD v4.0_RC2
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-amd64-maintainer
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 17 20:55:00 +0000 2007
>Originator:     Hernani Marques Madeira
>Release:        NetBSD 4.0_RC2
>Organization:
>Environment:
NetBSD verveine.vecirex.net 4.0_RC2 NetBSD 4.0_RC2 (VERVEINE) #3: Tue Oct 16 23:33:11 CEST 2007  hernani@verveine.vecirex.net:/usr/obj/sys/arch/amd64/compile.amd64/VERVEINE amd64
>Description:
I'm following here the instructions on how to report azalia(4) problems as described in
 http://mail-index.netbsd.org/port-amd64/2007/03/23/0000.html
from TAMURA Kent.

I increased all of the mixer volumes on my Thinkpad R61 machine, but I cannot here anything despite some pops. With -current (4.99.33) it works increasing the inputs.dac and (for the beep tones) the inputs.mix20.sel25 volumes.

My boot dmesg (with kernel options AZALIA_DEBUG enabled): 
[snip]
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 4.0_RC2 (VERVEINE) #3: Tue Oct 16 23:33:11 CEST 2007
	hernani@verveine.vecirex.net:/usr/obj/sys/arch/amd64/compile.amd64/VERVEINE
total memory = 1022 MB
avail memory = 972 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
mainbus0 (root)
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 Duo CPU     T7100  @ 1.80GHz, 1795.66 MHz
cpu0: features: bffbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features: bffbfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,B20,DS,ACPI,MMX>
cpu0: features: bffbfbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
cpu0: features2: e3bd<SSE3,MONITOR,DS-CPL,VMX,EST,TM2,xTPR>
cpu0: features3: bffbfbff<SYSCALL/SYSRET,XD,EM64T>
cpu0: L2 cache 2 MB 64B/line 8-way
cpu0: Enhanced SpeedStep (1420 mV) 2000 MHz
cpu0: unknown Enhanced SpeedStep CPU.
cpu0: using only highest and lowest power states.
cpu0: Enhanced SpeedStep frequencies available (MHz): 2000 1200
cpu0: calibrating local timer
cpu0: apic clock running at 199 MHz
cpu0: 64 page colors
cpu1 at mainbus0: apid 1 (application processor)
cpu1: starting
cpu1: Intel(R) Core(TM)2 Duo CPU     T7100  @ 1.80GHz, 1795.45 MHz
cpu1: features: bffbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu1: features: bffbfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,B20,DS,ACPI,MMX>
cpu1: features: bffbfbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
cpu1: features2: e3bd<SSE3,MONITOR,DS-CPL,VMX,EST,TM2,xTPR>
cpu1: features3: bffbfbff<SYSCALL/SYSRET,XD,EM64T>
cpu1: L2 cache 2 MB 64B/line 8-way
ioapic0 at mainbus0 apid 1 (I/O APIC)
ioapic0: pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 2
ioapic0: remapped to apic 1
acpi0 at mainbus0: Advanced Configuration and Power Interface
acpi0: using Intel ACPI CA subsystem version 20060217
acpi0: X/RSDT: OemId <LENOVO,TP-7K   ,00001140>, AslId < LTP,00000000>
acpi0: found ECDT, GPE 18
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
ACPI-Safe 24-bit timer
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C01 [System Board] at acpi0 not configured
acpilid0 at acpi0 (PNP0C0D): ACPI Lid Switch
acpibut0 at acpi0 (PNP0C0E): ACPI Sleep Button
PNP0A08 [PCI Express/PCI-X Mode-2 Host Bridge] at acpi0 not configured
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configured
PNP0000 [AT Interrupt Controller] at acpi0 not configured
PNP0100 [AT Timer] at acpi0 not configured
PNP0103 [HPET Timer] at acpi0 not configured
PNP0200 [AT DMA Controller] at acpi0 not configured
PNP0800 [AT-style speaker sound] at acpi0 not configured
PNP0C04 [Math Coprocessor] at acpi0 not configured
PNP0B00 [AT Real-Time Clock] at acpi0 not configured
PNP0303 [IBM Enhanced (101/102-key, PS/2 mouse support)] at acpi0 not configured
LEN0005 at acpi0 not configured
acpiec0 at acpi0 (PNP0C09-0): ACPI Embedded Controller
acpiec0: io 0x62,0x66
ACPI Object Type 'Power' (0x0b) at acpi0 not configured
acpibat0 at acpi0 (PNP0C0A-0): ACPI Battery (Control Method)
acpiacad0 at acpi0 (ACPI0003-0): ACPI AC Adapter
IBM0068 at acpi0 not configured
pnp0c14 at acpi0 not configured
acpitz0 at acpi0: ACPI Thermal Zone
acpitz0: unable to get polling interval; using default of 30.0s
acpitz0: passive cooling mode only
acpitz0: critical 127.0C
acpitz1 at acpi0: ACPI Thermal Zone
acpitz1: unable to get polling interval; using default of 30.0s
acpitz1: critical 100.0C passive 50.0C
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Intel product 0x2a00 (rev. 0x0c)
ppb0 at pci0 dev 1 function 0: Intel product 0x2a01 (rev. 0x0c)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
vga0 at pci1 dev 0 function 0: NVIDIA product 0x0429 (rev. 0xa1)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
wm0 at pci0 dev 25 function 0: Intel i82801H (M) LAN Controller, rev. 3
wm0: interrupting at ioapic0 pin 20 (irq 11)
wm0: PCI-Express bus
wm0: FLASH
wm0: Ethernet address 00:1a:6b:6a:89:a1
igphy0 at wm0 phy 1: i82566 10/100/1000 media interface, rev. 0
igphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
uhci0 at pci0 dev 26 function 0: Intel 82801H USB UHCI Controller (rev. 0x03)
uhci0: interrupting at ioapic0 pin 20 (irq 11)
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 26 function 1: Intel 82801H USB UHCI Controller (rev. 0x03)
uhci1: interrupting at ioapic0 pin 21 (irq 11)
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 26 function 7: Intel 82801H USB EHCI Controller (rev. 0x03)
ehci0: interrupting at ioapic0 pin 22 (irq 11)
ehci0: BIOS has given up ownership
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1
usb2 at ehci0: USB revision 2.0
uhub2 at usb2
uhub2: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 4 ports with 4 removable, self powered
azalia0 at pci0 dev 27 function 0: Generic High Definition Audio Controller
azalia0: interrupting at ioapic0 pin 17 (irq 11)
azalia0: host: Intel 82801H High Definition Audio Controller (rev. 3)
azalia0: host: High Definition Audio rev. 1.0
azalia0: host: 4 output, 4 input, and 0 bidi streams
azalia_attach: resetting
azalia_attach: reset counter = 5000
azalia_attach: reset counter = 4987
azalia0: found a codec at #0
azalia0: found a codec at #1
ppb1 at pci0 dev 28 function 0: Intel 82801H PCI Express Port #1 (rev. 0x03)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
ppb2 at pci0 dev 28 function 1: Intel 82801H PCI Express Port #2 (rev. 0x03)
pci3 at ppb2 bus 3
pci3: i/o space, memory space enabled, rd/line, wr/inv ok
Intel product 0x4230 (miscellaneous network, revision 0x61) at pci3 dev 0 function 0 not configured
ppb3 at pci0 dev 28 function 2: Intel 82801H PCI Express Port #3 (rev. 0x03)
pci4 at ppb3 bus 4
pci4: i/o space, memory space enabled, rd/line, wr/inv ok
ppb4 at pci0 dev 28 function 3: Intel 82801H PCI Express Port #4 (rev. 0x03)
pci5 at ppb4 bus 5
pci5: i/o space, memory space enabled, rd/line, wr/inv ok
ppb5 at pci0 dev 28 function 4: Intel 82801H PCI Express Port #5 (rev. 0x03)
pci6 at ppb5 bus 13
pci6: i/o space, memory space enabled, rd/line, wr/inv ok
uhci2 at pci0 dev 29 function 0: Intel 82801H USB UHCI Controller (rev. 0x03)
uhci2: interrupting at ioapic0 pin 16 (irq 10)
usb3 at uhci2: USB revision 1.0
uhub3 at usb3
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 29 function 1: Intel 82801H USB UHCI Controller (rev. 0x03)
uhci3: interrupting at ioapic0 pin 17 (irq 11)
usb4 at uhci3: USB revision 1.0
uhub4 at usb4
uhub4: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub4: 2 ports with 2 removable, self powered
uhci4 at pci0 dev 29 function 2: Intel 82801H USB UHCI Controller (rev. 0x03)
uhci4: interrupting at ioapic0 pin 18 (irq 11)
usb5 at uhci4: USB revision 1.0
uhub5 at usb5
uhub5: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub5: 2 ports with 2 removable, self powered
ehci1 at pci0 dev 29 function 7: Intel 82801H USB EHCI Controller (rev. 0x03)
ehci1: interrupting at ioapic0 pin 19 (irq 11)
ehci1: BIOS has given up ownership
ehci1: EHCI version 1.0
ehci1: companion controllers, 2 ports each: uhci2 uhci3 uhci4
usb6 at ehci1: USB revision 2.0
uhub6 at usb6
uhub6: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub6: 6 ports with 6 removable, self powered
ppb6 at pci0 dev 30 function 0: Intel 82801BAM Hub-PCI Bridge (rev. 0xf3)
pci7 at ppb6 bus 21
pci7: i/o space enabled
cbb0 at pci7 dev 0 function 0: Ricoh 5C476 PCI-CardBus bridge (rev. 0xba)
cbb0: can't map socket base address 0xf8100000
pci_io_find: expected type i/o, found mem
cbb0: can't map socket base address 0xffffffff8095bd00: io mode
fwohci0 at pci7 dev 0 function 1: Ricoh product 0x0832 (rev. 0x04)
fwohci0: can't map OHCI register space
Ricoh product 0x0822 (SD Host Controller system, revision 0x21) at pci7 dev 0 function 2 not configured
Ricoh product 0x0843 (miscellaneous system, revision 0x11) at pci7 dev 0 function 3 not configured
Ricoh product 0x0592 (miscellaneous system, revision 0x11) at pci7 dev 0 function 4 not configured
Ricoh product 0x0852 (miscellaneous system, revision 0x11) at pci7 dev 0 function 5 not configured
cbb0: interrupting at ioapic0 pin 16 (irq 10)
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 22
pcmcia0 at cardslot0
pcib0 at pci0 dev 31 function 0
pcib0: Intel product 0x2815 (rev. 0x03)
pciide0 at pci0 dev 31 function 1
pciide0: Intel product 0x2850 (rev. 0x03)
pciide0: bus-master DMA support present, but unused (no driver support)
pciide0: primary channel configured to compatibility mode
pciide0: primary channel interrupting at ioapic0 pin 14 (irq 14)
atabus0 at pciide0 channel 0
pciide0: secondary channel configured to compatibility mode
pciide0: secondary channel ignored (not responding; disabled or no drives?)
ahcisata0 at pci0 dev 31 function 2: Intel 82801HBM SATA Controller
ahcisata0: interrupting at ioapic0 pin 16 (irq 10)
ahcisata0: AHCI revision 1.1, 3 ports, 32 command slots, features 0xe710e080
atabus1 at ahcisata0 channel 0
Intel 82801H SMBus Controller (SMBus serial bus, revision 0x03) at pci0 dev 31 function 3 not configured
isa0 at pcib0
pckbc0 at isa0 port 0x60-0x64
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
attimer0 at isa0 port 0x40-0x43: AT Timer
pcppi0 at isa0 port 0x61
pcppi0: children must have an explicit unit
midi0 at pcppi0: PC speaker (CPU-intensive output)
sysbeep0 at pcppi0
pcppi0: attached to attimer0
ioapic0: enabling
timecounter: Timecounter "TSC" frequency 1795625640 Hz quality 800
WARNING: Callback scheduled before sysmon task queue thread present.
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 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: information of codec[0] follows:
azalia_codec_init_vtbl: vid=11d41984 subid=20ac17aa
azalia0: codec[0]: 0x11d4/0x1984 (rev. 4.0)
azalia0: codec[0]: High Definition Audio rev. 1.0
azalia_codec_init: nidstart=1 #functions=1
azalia_codec_init: FTYPE result = 0x00000001
azalia_codec_init: There are 37 widgets in the audio function.
azalia0:    encodings=1<PCM>
azalia0:    PCM formats=e07ff<24bit,20bit,16bit,192kHz,176.4kHz,96kHz,88.2kHz,48kHz,44.1kHz,32kHz,22.05kHz,16kHz,11.025kHz,8kHz>
azalia0:    inamp: mute=1 size=0 steps=0 offset=0
azalia0:    outamp: mute=0 size=5 steps=39 offset=39
azalia0: dac02 wcap=30311<DIGITAL,CONNLIST,FORMATOV,STEREO>
azalia0:    encodings=5<AC3,PCM>
azalia0:    PCM formats=e07e0<24bit,20bit,16bit,192kHz,176.4kHz,96kHz,88.2kHz,48kHz,44.1kHz>
azalia0:    connections=0x1,0x8,0x9; selected=0x1
azalia0: dac03 wcap=405<POWER,OUTAMP,STEREO>
azalia0:    encodings=1<PCM>
azalia0:    PCM formats=e07ff<24bit,20bit,16bit,192kHz,176.4kHz,96kHz,88.2kHz,48kHz,44.1kHz,32kHz,22.05kHz,16kHz,11.025kHz,8kHz>
azalia0:    outamp: mute=0 size=5 steps=39 offset=39
azalia0: dac04 wcap=405<POWER,OUTAMP,STEREO>
azalia0:    encodings=1<PCM>
azalia0:    PCM formats=e07ff<24bit,20bit,16bit,192kHz,176.4kHz,96kHz,88.2kHz,48kHz,44.1kHz,32kHz,22.05kHz,16kHz,11.025kHz,8kHz>
azalia0:    outamp: mute=0 size=5 steps=39 offset=39
azalia0: adc05 wcap=10050b<POWER,CONNLIST,AMPOV,INAMP,STEREO>
azalia0:    encodings=1<PCM>
azalia0:    PCM formats=e07ff<24bit,20bit,16bit,192kHz,176.4kHz,96kHz,88.2kHz,48kHz,44.1kHz,32kHz,22.05kHz,16kHz,11.025kHz,8kHz>
azalia0:    connections=0x17; selected=0x17
azalia0:    inamp: mute=1 size=5 steps=54 offset=39
azalia0: adc06 wcap=10050b<POWER,CONNLIST,AMPOV,INAMP,STEREO>
azalia0:    encodings=1<PCM>
azalia0:    PCM formats=e07ff<24bit,20bit,16bit,192kHz,176.4kHz,96kHz,88.2kHz,48kHz,44.1kHz,32kHz,22.05kHz,16kHz,11.025kHz,8kHz>
azalia0:    connections=0x18; selected=0x18
azalia0:    inamp: mute=1 size=5 steps=54 offset=39
azalia0: mix07 wcap=200103<CONNLIST,INAMP,STEREO>
azalia0:    connections=0x22,0x21; selected=0x22
azalia0:    inamp: mute=1 size=0 steps=0 offset=0
azalia0: adc08 wcap=100501<POWER,CONNLIST,STEREO>
azalia0:    encodings=1<PCM>
azalia0:    PCM formats=e07ff<24bit,20bit,16bit,192kHz,176.4kHz,96kHz,88.2kHz,48kHz,44.1kHz,32kHz,22.05kHz,16kHz,11.025kHz,8kHz>
azalia0:    connections=0xc; selected=0xc
azalia0: adc09 wcap=100501<POWER,CONNLIST,STEREO>
azalia0:    encodings=1<PCM>
azalia0:    PCM formats=e07ff<24bit,20bit,16bit,192kHz,176.4kHz,96kHz,88.2kHz,48kHz,44.1kHz,32kHz,22.05kHz,16kHz,11.025kHz,8kHz>
azalia0:    connections=0xd; selected=0xd
azalia0: mix0a wcap=200103<CONNLIST,INAMP,STEREO>
azalia0:    connections=0x4,0x21; selected=0x4
azalia0:    inamp: mute=1 size=0 steps=0 offset=0
azalia0: mix0b wcap=200103<CONNLIST,INAMP,STEREO>
azalia0:    connections=0xf,0x21; selected=0xf
azalia0:    inamp: mute=1 size=0 steps=0 offset=0
azalia0: sel0c wcap=30010d<CONNLIST,AMPOV,OUTAMP,STEREO>
azalia0:    connections=0x14,0x96,0x20,0x25; selected=0x14
azalia0:    outamp: mute=1 size=5 steps=54 offset=39
azalia0: sel0d wcap=30010d<CONNLIST,AMPOV,OUTAMP,STEREO>
azalia0:    connections=0x14,0x96,0x20,0x25; selected=0x14
azalia0:    outamp: mute=1 size=5 steps=54 offset=39
azalia0: sel0e wcap=300101<CONNLIST,STEREO>
azalia0:    connections=0x3,0x4; selected=0x3
azalia0: sel0f wcap=300101<CONNLIST,STEREO>
azalia0:    connections=0x3,0x4; selected=0x3
azalia0: beep10 wcap=70000c<AMPOV,OUTAMP>
azalia0:    outamp: mute=1 size=11 steps=15 offset=15
azalia0: green11 wcap=40018d<CONNLIST,UNSOL,AMPOV,OUTAMP,STEREO>
azalia0:    pin config; device=headphones color=green assoc=1 seq=15 cap=1f<OUTPUT,HEADPHONE,PRESENCE,TRIGGER,IMPEDANCE>
azalia0:    connections=0x7; selected=0x7
azalia0:    outamp: mute=1 size=0 steps=0 offset=0
azalia0: unknown12 wcap=40058d<POWER,CONNLIST,UNSOL,AMPOV,OUTAMP,STEREO>
azalia0:    pin config; device=speaker color=unknown assoc=1 seq=0 cap=1001f<EAPD,OUTPUT,HEADPHONE,PRESENCE,TRIGGER,IMPEDANCE>
azalia0:    connections=0xa; selected=0xa
azalia0:    outamp: mute=1 size=0 steps=0 offset=0
azalia0: unknown13 wcap=40050c<POWER,CONNLIST,AMPOV,OUTAMP>
azalia0:    pin config; device=speaker color=unknown assoc=15 seq=0 cap=10010<EAPD,OUTPUT>
azalia0:    connections=0x1f; selected=0x1f
azalia0:    outamp: mute=1 size=5 steps=31 offset=31
azalia0: red14 wcap=40008b<UNSOL,AMPOV,INAMP,STEREO>
azalia0:    pin config; device=mic color=red assoc=2 seq=1 cap=3727<INPUT,PRESENCE,TRIGGER,IMPEDANCE>
azalia0:    inamp: mute=0 size=39 steps=3 offset=0
azalia0: unknown15 wcap=40008b<UNSOL,AMPOV,INAMP,STEREO>
azalia0:    pin config; device=mic color=unknown assoc=2 seq=14 cap=3727<INPUT,PRESENCE,TRIGGER,IMPEDANCE>
azalia0:    inamp: mute=0 size=39 steps=3 offset=0
azalia0: unknown16 wcap=40018d<CONNLIST,UNSOL,AMPOV,OUTAMP,STEREO>
azalia0:    pin config; device=cd color=unknown assoc=15 seq=0 cap=37<INPUT,OUTPUT,PRESENCE,TRIGGER,IMPEDANCE>
azalia0:    connections=0xb; selected=0xb
azalia0:    outamp: mute=1 size=0 steps=0 offset=0
azalia0: unknown17 wcap=400001<STEREO>
azalia0:    pin config; device=mic color=unknown assoc=15 seq=0 cap=20<INPUT>
azalia0: unknown18 wcap=400001<STEREO>
azalia0:    pin config; device=mic color=unknown assoc=15 seq=0 cap=20<INPUT>
azalia0: pow19 wcap=500500<POWER,CONNLIST>
azalia0:    connections=0x20,0x21; selected=0x20
azalia0: black1a wcap=400000
azalia0:    pin config; device=other color=black assoc=15 seq=0 cap=20<INPUT>
azalia0: black1b wcap=40030d<DIGITAL,CONNLIST,AMPOV,OUTAMP,STEREO>
azalia0:    pin config; device=SPDIF-out color=black assoc=10 seq=0 cap=10<OUTPUT>
azalia0:    connections=0x2; selected=0x2
azalia0:    outamp: mute=1 size=5 steps=39 offset=39
azalia0: red1c wcap=40018d<CONNLIST,UNSOL,AMPOV,OUTAMP,STEREO>
azalia0:    pin config; device=mic color=red assoc=2 seq=0 cap=3737<INPUT,OUTPUT,PRESENCE,TRIGGER,IMPEDANCE>
azalia0:    connections=0x24; selected=0x24
azalia0:    outamp: mute=1 size=0 steps=0 offset=0
azalia0: widget1d wcap=f00100<CONNLIST>
azalia0:    connections=0x7,0x19,0xa,0x8f,0x1a,0x1c,0x11,0x96,0x1e,0xa6; selected=0x7
azalia0: mix1e wcap=200103<CONNLIST,INAMP,STEREO>
azalia0:    connections=0xe,0x21; selected=0xe
azalia0:    inamp: mute=1 size=0 steps=0 offset=0
azalia0: mix1f wcap=200100<CONNLIST>
azalia0:    connections=0x1e; selected=0x1e
azalia0: mix20 wcap=20010b<CONNLIST,AMPOV,INAMP,STEREO>
azalia0:    connections=0x14,0x96,0x1a,0x25; selected=0x14
azalia0:    inamp: mute=1 size=5 steps=31 offset=23
azalia0: sel21 wcap=30010d<CONNLIST,AMPOV,OUTAMP,STEREO>
azalia0:    connections=0x20; selected=0x20
azalia0:    outamp: mute=1 size=5 steps=31 offset=31
azalia0: sel22 wcap=300101<CONNLIST,STEREO>
azalia0:    connections=0x3,0x4; selected=0x3
azalia0: sel23 wcap=300101<CONNLIST,STEREO>
azalia0:    connections=0x3,0x4; selected=0x3
azalia0: mix24 wcap=200103<CONNLIST,INAMP,STEREO>
azalia0:    connections=0x23,0x21; selected=0x23
azalia0:    inamp: mute=1 size=0 steps=0 offset=0
azalia0: sel25 wcap=30010d<CONNLIST,AMPOV,OUTAMP,STEREO>
azalia0:    connections=0x1c; selected=0x1c
azalia0:    outamp: mute=0 size=39 steps=3 offset=0
azalia0: widget26 wcap=f00100<CONNLIST>
azalia0:    connections=0x14,0x15,0x1c; selected=0x14
generic_codec_find_dac: DAC: nid=0x4 index=4
generic_codec_find_dac: DAC path: nid=0xa index=10
generic_codec_find_dac: DAC path: nid=0x12 index=18
generic_codec_add_dacgroup: assoc=1 seq=0 ==> g=0 n=0
generic_codec_find_dac: DAC: nid=0x3 index=3
generic_codec_find_dac: DAC path: nid=0x23 index=35
generic_codec_find_dac: DAC path: nid=0x24 index=36
generic_codec_find_dac: DAC path: nid=0x1c index=28
generic_codec_add_dacgroup: assoc=2 seq=0 ==> g=1 n=0
generic_codec_find_dac: DAC: nid=0x2 index=2
generic_codec_find_dac: DAC path: nid=0x1b index=27
generic_codec_add_dacgroup: assoc=10 seq=0 ==> g=2 n=0
generic_codec_init_dacgroup: find non-connected DACs
azalia_codec_init: dacgroup[0]: 04
azalia_codec_init: dacgroup[1]: 03
azalia_codec_init: dacgroup[2]: 02
azalia0: playback: max channels=2, encodings=1<PCM>
azalia0: playback: PCM formats=e07ff<24bit,20bit,16bit,192kHz,176.4kHz,96kHz,88.2kHz,48kHz,44.1kHz,32kHz,22.05kHz,16kHz,11.025kHz,8kHz>
azalia0: recording: max channels=2, encodings=1<PCM>
azalia0: recording: PCM formats=e07ff<24bit,20bit,16bit,192kHz,176.4kHz,96kHz,88.2kHz,48kHz,44.1kHz,32kHz,22.05kHz,16kHz,11.025kHz,8kHz>
generic_mixer_init: register classes
generic_mixer_default: unmute
generic_mixer_default: process bidirectional pins
generic_mixer_default: set volume
azalia0: information of codec[1] follows:
azalia_codec_init_vtbl: vid=14f12bfa subid=20ac17aa
azalia0: codec[1]: 0x14f1/0x2bfa (rev. 0.0)
azalia0: codec[1]: High Definition Audio rev. 0.9
azalia_codec_init: nidstart=2 #functions=1
azalia_codec_init: FTYPE result = 0x00000102
azalia0: codec[1]: No support for modem function groups
azalia0: codec[1] has no audio function groups
azalia0: using the #0 codec
audio0 at azalia0: full duplex, independent
azalia_round_blocksize: resultant block size = 1536
azalia_round_blocksize: resultant block size = 1536
Kernelized RAIDframe activated
atapibus0 at atabus0: 2 targets
cd0 at atapibus0 drive 0: <HL-DT-ST DVDRAM GMA-4082N, M3E76803508, PX07> cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
ahcisata0 port 0: device present, speed: 1.5Gb/s
wd0 at atabus1 drive 0: <HITACHI HTS541612J9SA00>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 111 GB, 232581 cyl, 16 head, 63 sec, 512 bytes/sect x 234441648 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(ahcisata0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100) (using DMA)
ubt0 at uhub0 port 1 configuration 1 interface 0
ubt0: Broadcom Corp BCM2045B, rev 2.00/1.00, addr 2
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
cpu1: CPU 1 running
ugen0 at uhub0 port 2
ugen0: TouchStrip Fingerprint Sensor, rev 1.00/0.01, addr 3
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
[/snap]

The output of the mixerctl -av command looks as follows:

[snip]
outputs.dac02.source=hdaudio  [ hdaudio adc08 adc09 ]
inputs.dac03=124,124  delta=6
inputs.dac04=124,124  delta=6
record.adc05.mute=off  [ off on ]
record.adc05=122,122  delta=4
record.adc06.mute=off  [ off on ]
record.adc06=122,122  delta=4
inputs.mix07.sel22.mut=off  [ off on ]
inputs.mix07.sel21.mut=off  [ off on ]
inputs.mix0a.dac04.mut=off  [ off on ]
inputs.mix0a.sel21.mut=off  [ off on ]
inputs.mix0b.sel0f.mut=off  [ off on ]
inputs.mix0b.sel21.mut=off  [ off on ]
inputs.sel0c.source=red14  [ red14 mix20 sel25 ]
outputs.sel0c.mute=off  [ off on ]
outputs.sel0c=122,122  delta=4
inputs.sel0d.source=red14  [ red14 mix20 sel25 ]
outputs.sel0d.mute=off  [ off on ]
outputs.sel0d=122,122  delta=4
inputs.sel0e.source=dac03  [ dac03 dac04 ]
inputs.sel0f.source=dac03  [ dac03 dac04 ]
inputs.beep10.mute=off  [ off on ]
inputs.beep10=119  delta=17
outputs.green11.mute=off  [ off on ]
outputs.green11.boost=off  [ off on ]
outputs.unknown12.mute=off  [ off on ]
outputs.unknown12.boost=off  [ off on ]
outputs.unknown12.eapd=off  [ off on ]
outputs.unknown13.mute=off  [ off on ]
outputs.unknown13=123  delta=8
outputs.unknown13.eapd=off  [ off on ]
outputs.red14=85,85  delta=85
outputs.unknown15=85,85  delta=85
outputs.unknown16.mute=off  [ off on ]
outputs.unknown16.dir=output  [ input output ]
outputs.black1b.mute=off  [ off on ]
outputs.black1b=124,124  delta=6
outputs.red1c.mute=off  [ off on ]
outputs.red1c.dir=output  [ input output ]
outputs.widget1d.source=mix07  [ mix07 pow19 mix0a black1a red1c green11 mix1e ]
inputs.mix1e.sel0e.mut=off  [ off on ]
inputs.mix1e.sel21.mut=off  [ off on ]
inputs.mix20.red14.mut=off  [ off on ]
inputs.mix20.black1a.m=off  [ off on ]
inputs.mix20.sel25.mut=off  [ off on ]
inputs.mix20.red14=123,123  delta=8
inputs.mix20.black1a=123  delta=8
inputs.mix20.sel25=238,238  delta=8
outputs.sel21.mute=off  [ off on ]
outputs.sel21=123,123  delta=8
inputs.sel22.source=dac03  [ dac03 dac04 ]
inputs.sel23.source=dac03  [ dac03 dac04 ]
inputs.mix24.sel23.mut=off  [ off on ]
inputs.mix24.sel21.mut=off  [ off on ]
outputs.sel25=85,85  delta=85
outputs.widget26.source=red14  [ red14 unknown15 red1c ]
playback.mode=04  [ 04 03 02 ]
record.mode=05  [ 05 06 08 09 ]
[/snap]
>How-To-Repeat:
Install NetBSD 4.0_RC2 on a Thinkpad R61 notebook and try to make noise.
>Fix:
Work-around: install a NetBSD -current version and play with the inputs.mix20.sel25 and inputs.dac volumes of mixerctl; for what I can say: at least as of 4.99.33 upwards it should work. Probably it works also for older post-4 versions of NetBSD as assumed by TAMURA Kent:
 http://mail-index.netbsd.org/port-amd64/2007/03/23/0000.html