Subject: azalia on TP T61p
To: None <current-users@netbsd.org>
From: Arto Huusko <arto.huusko@pp2.inet.fi>
List: current-users
Date: 10/19/2007 14:26:16
Hello,

just reporting that azalia on ThinkPad T61p mostly works on -current.

One problem I have is that when I plug in headphones, sound from builtin
speakers stops as expected, but no sound comes from the headphones.
Either there  is some switch in mixerctl that I need to turn (I can make no
sense of what it reports to me, is there any documentation about what all
the  keys in mixerctl mean), or the driver needs to do something about the
headphones.

Another problem is that, at least in xfce4-mixer, I see only PCM control.
No master control, etc.

Anyway, here are the attach messages

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: codec[0]: Analog Devices AD1984 (rev. 4.0)
azalia0: codec[0]: High Definition Audio rev. 1.0
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>
azalia0: codec[1]: 0x14f1/0x2bfa (rev. 0.0)
azalia0: codec[1]: High Definition Audio rev. 0.9
azalia0: codec[1]: No support for modem function groups
azalia0: codec[1] has no audio function groups
audio0 at azalia0: full duplex, independent


And mixerctl output, in case there is a switch I need to turn to make
headphones work:

outputs.dac02.source=hdaudio
inputs.dac03=124,124
inputs.dac=228,228
record.adc05.mute=off
record.adc05=122,122
record.adc06.mute=off
record.adc06=122,122
inputs.mix07.sel22.mut=off
inputs.mix07.sel21.mut=off
inputs.mix0a.dac.mute=off
inputs.mix0a.sel21.mut=off
inputs.mix0b.sel0f.mut=off
inputs.mix0b.sel21.mut=off
inputs.sel0c.source=red14
outputs.sel0c.mute=off
outputs.sel0c=255,255
inputs.sel0d.source=red14
outputs.sel0d.mute=off
outputs.sel0d=122,122
inputs.sel0e.source=dac03
inputs.sel0f.source=dac03
inputs.beep10.mute=off
inputs.beep10=119
outputs.green11.mute=off
outputs.green11.boost=off
outputs.unknown12.mute=off
outputs.unknown12.boost=off
outputs.unknown12.eapd=on
outputs.unknown13.mute=off
outputs.unknown13=123
outputs.unknown13.eapd=on
outputs.red14=85,85
outputs.unknown15=85,85
outputs.unknown16.mute=off
outputs.unknown16.dir=output
outputs.black1b.mute=off
outputs.black1b=124,124
outputs.red1c.mute=off
outputs.red1c.dir=output
outputs.widget1d.source=mix07
inputs.mix1e.sel0e.mut=off
inputs.mix1e.sel21.mut=off
inputs.mix20.red14.mut=off
inputs.mix20.black1a.m=off
inputs.mix20.sel25.mut=off
inputs.mix20.red14=123,123
inputs.mix20.black1a=123
inputs.mix20.sel25=123,123
outputs.sel21.mute=off
outputs.sel21=123,123
inputs.sel22.source=dac03
inputs.sel23.source=dac03
inputs.mix24.sel23.mut=off
inputs.mix24.sel21.mut=off
outputs.sel25=85,85
outputs.widget26.source=red14
playback.mode=04
record.mode=05