Subject: Re: NetBSD on Thinkpads
To: None <mark@mcs.vuw.ac.nz>
From: Tatoku Ogaito <tacha@tack.fukui-med.ac.jp>
List: current-users
Date: 12/04/2007 07:54:35
Hi.
>> In Message <200712031717.12111.mark@mcs.vuw.ac.nz>
at Mon, 3 Dec 2007 17:17:12 +1300
Mark Davies <mark@mcs.vuw.ac.nz> wrote:
> On the AD1984 headphone input comes from dac03 by default but the
> system tends to use dac04 (dac) so if you want to feed that to the
> headphones try:
>
> mixerctl -w inputs.sel22.source=dac
Thanks for your information. Now my ThinkPad works well with headphones.
More over, when plug in headphone, the internal speaker automatically
turns off.
> Attached is a patch for azalia_codec.c that gives somewhat more
> meaningful names (to my mind) for the widgets of the AD1984. After
> applying "mixerctl -av" will look something like this:
Applying this patch I realize (or at least imagin) what these
variables contorls :-) Current my "mixerctl -av" output is
outputs.dac02.source=hdaudio [ hdaudio adc08 adc09 ]
inputs.dac03=163,163 delta=6
inputs.dac=176,176 delta=6
record.adc05.mute=off [ off on ]
record.adc05=85,85 delta=4
record.adc06.mute=off [ off on ]
record.adc06=85,85 delta=4
inputs.hp.hpsel.mute=off [ off on ]
inputs.hp.sel21.mute=off [ off on ]
inputs.spkr.dac.mute=off [ off on ]
inputs.spkr.sel21.mute=off [ off on ]
inputs.aux.auxsel.mute=off [ off on ]
inputs.aux.sel21.mute=off [ off on ]
inputs.adc08.source=mic [ mic mix20 dock.pre ]
outputs.adc08.mute=off [ off on ]
outputs.adc08=127,127 delta=4
inputs.adc09.source=mic [ mic mix20 dock.pre ]
outputs.adc09.mute=off [ off on ]
outputs.adc09=127,127 delta=4
inputs.monosel.source=dac03 [ dac03 dac ]
inputs.auxsel.source=dac03 [ dac03 dac ]
inputs.beep.mute=off [ off on ]
inputs.beep=136 delta=17
outputs.headphones.mute=off [ off on ]
outputs.headphones.boos=off [ off on ]
outputs.speaker.mute=off [ off on ]
outputs.speaker.boost=off [ off on ]
outputs.speaker.eapd=on [ off on ]
outputs.mono.mute=off [ off on ]
outputs.mono=131 delta=8
outputs.mono.eapd=off [ off on ]
outputs.mic=170,170 delta=85
outputs.line=170,170 delta=85
outputs.aux.mute=off [ off on ]
outputs.aux.dir=output [ input output ]
outputs.black1b.mute=off [ off on ]
outputs.black1b=85,85 delta=6
outputs.dock.mute=off [ off on ]
outputs.dock.dir=output [ input output ]
outputs.widget1d.source=hp [ hp pow19 spkr beep dock headphones mono ]
inputs.mono.monosel.mu=off [ off on ]
inputs.mono.sel21.mute=off [ off on ]
inputs.mix20.mic.mute=off [ off on ]
inputs.mix20.beep.mute=off [ off on ]
inputs.mix20.dock.pre.=off [ off on ]
inputs.mix20.mic=131,131 delta=8
inputs.mix20.beep=131 delta=8
inputs.mix20.dock.pre=131,131 delta=8
outputs.sel21.mute=off [ off on ]
outputs.sel21=255,255 delta=8
inputs.hpsel.source=dac [ dac03 dac ]
inputs.docksel.source=dac03 [ dac03 dac ]
inputs.dock.docksel.mu=off [ off on ]
inputs.dock.sel21.mute=off [ off on ]
outputs.dock.pre=170,170 delta=85
outputs.widget26.source=mic [ mic line dock ]
playback.mode=04 [ 04 03 02 ]
record.mode=05 [ 05 06 08 09 ]
Tacha