Subject: Re: azalia on TP T61p
To: Arto Huusko <arto.huusko@pp2.inet.fi>
From: Chavdar Ivanov <ci4ic4@gmail.com>
List: current-users
Date: 10/19/2007 15:25:25
On 19/10/2007, Arto Huusko <arto.huusko@pp2.inet.fi> wrote:
> Hello,
>
> just reporting that azalia on ThinkPad T61p mostly works on -current.

Same on my HP nx6310...

>
> 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.

Just the opposite with mine - sound comes both from the speakers and
the headphones, until I manually switch off the speakers with
'mixerctl -w outputs.lineout=0'.

> 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.

Gnome here - sound-control does not appear to change anything - I
change the volume with the above command. At the same time things lile
RealPlayer have the desired affect - no idea what and how.

>
> 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

azalia0 at pci0 dev 27 function 0: Generic High Definition Audio Controller
azalia0: interrupting at ioapic0 pin 21 (irq 10)
azalia0: host: Intel 82801GB/GR High Definition Audio Controller (rev. 1)
azalia0: host: High Definition Audio rev. 1.0
azalia0: codec[0]: Analog Devices AD1981HD (rev. 2.0)
azalia0: codec[0]: High Definition Audio rev. 1.0
azalia0: playback: max channels=2, encodings=1<PCM>
azalia0: playback: PCM
formats=e007f<24bit,20bit,16bit,48kHz,44.1kHz,32kHz,22.05kHz,16kHz,11.025kHz,8kHz>
azalia0: recording: max channels=2, encodings=1<PCM>
azalia0: recording: PCM
formats=6007f<20bit,16bit,48kHz,44.1kHz,32kHz,22.05kHz,16kHz,11.025kHz,8kHz>
azalia0: codec[1]: 0x11c1/0x3026 (rev. 7.0)
azalia0: codec[1]: High Definition Audio rev. 1.0
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
>
>
FYI:

outputs.spdif.source=os  [ os adc ]
outputs.lineout.source=dac  [ dac mixerout ]
outputs.lineout.mute=off  [ off on ]
outputs.lineout=178,178  delta=4
record.lineout=85,85  delta=85
outputs.lineout.dir=output  [ input output ]
outputs.lineout.boost=on  [ off on ]
outputs.lineout.eapd=on  [ off on ]
outputs.headphones.src=dac  [ dac mixerout ]
outputs.headphones.mute=off  [ off on ]
outputs.headphones=198,198  delta=4
outputs.headphones.boost=on  [ off on ]
outputs.mono.mute=off  [ off on ]
outputs.mono=117  delta=4
record.mic=85,85  delta=85
outputs.linein.source=dac  [ dac mixerout ]
outputs.linein.mute=off  [ off on ]
outputs.linein=85,85  delta=4
record.linein=85,85  delta=85
outputs.linein.dir=output  [ input output ]
outputs.mono.source=dac  [ dac mixedmic linein mixerout lineout mic2 ]
inputs.beep.source=digitalbeep  [ digitalbeep beep ]
inputs.beep.mute=off  [ off on ]
inputs.beep=119  delta=17
inputs.dac.mute=off  [ off on ]
inputs.dac=115,115  delta=8
inputs.mic.mute=off  [ off on ]
inputs.mic=115,115  delta=8
inputs.linein.mute=off  [ off on ]
inputs.linein=115,115  delta=8
record.source=mixedmic  [ mixedmic linein mixerout mono cd lineout mic2 aux ]
record.mute=off  [ off on ]
record.master=119,119  delta=17
outputs.mic2.source=dac  [ dac mixerout ]
outputs.mic2.mute=off  [ off on ]
outputs.mic2=85,85  delta=4
record.mic2=85,85  delta=85
outputs.mic2.dir=output  [ input output ]
inputs.lineout.mute=off  [ off on ]
inputs.lineout=115,115  delta=8
inputs.aux.mute=off  [ off on ]
inputs.aux=115,115  delta=8
inputs.mic2.mute=off  [ off on ]
inputs.mic2=115,115  delta=8
inputs.cd.mute=off  [ off on ]
inputs.cd=115,115  delta=8
record.mixedmic.mute1=off  [ off on ]
record.mixedmic.mute2=off  [ off on ]
playback.mode=analog  [ analog spdif ]
...

Mine has been recognised slightly better - lineout for the speakers,
headphones for, well, the headphones. But otherwise is pretty good. I
am not sure rught now the status of microphone - it used to work a few
months ago, but I haven't tested it recently, apart from an attempt
(unsuccessful) to get it to work with the latest Skype.


Chavdar Ivanov