[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6278d2220806280624iec3a67rf25789e98f81521@mail.gmail.com>
Date: Sat, 28 Jun 2008 14:24:31 +0100
From: "Daniel J Blueman" <daniel.blueman@...il.com>
To: "Vegard Nossum" <vegard.nossum@...il.com>,
"Romano Giannetti" <romano@....icai.upcomillas.es>
Cc: "Takashi Iwai" <tiwai@...e.de>,
"Linux Kernel" <linux-kernel@...r.kernel.org>
Subject: Re: ALC883 recording troubles...
On Sat, Jun 28, 2008 at 1:39 PM, Vegard Nossum <vegard.nossum@...il.com> wrote:
> On Sat, Jun 28, 2008 at 2:29 PM, Daniel J Blueman
> <daniel.blueman@...il.com> wrote:
>> Using your dumped config and
>> ftp://202.65.194.211/pc/audio/ALC268_DataSheet_1.3.pdf page 42, your
>> front mic pin complex is at node 19h; the mixers connecting to it are
>> at nodes 0Bh, 22h and 23h, all at the second input index, so one of
>> these should work:
>>
>> # ./hda-verb /dev/snd/hwC0D0 0x0b SET_AMP_GAIN_MUTE 0x7280
>> # ./hda-verb /dev/snd/hwC0D0 0x22 SET_AMP_GAIN_MUTE 0x7280
>> # ./hda-verb /dev/snd/hwC0D0 0x23 SET_AMP_GAIN_MUTE 0x7280
>>
>> On my ALC883, we need to mute the first input instead, thus 0x7180.
>> Can you see if the above helps you out?
>
> Thanks for helping out!
>
> Unfortunately, none of these commands (with either 0x7180 or 0x7280)
> seems to make any difference at all. (I tried various combinations,
> with reloading the driver in-between to undo the trial attempts.)
I made a mistake - the second input is selected by 0x7180, as the
first is 0x7080...perhaps retry this with nodes 0Bh, 22h and 23h?
Failing that, these are the steps I'd try:
1. setup audio so as to reproduce input DC offset
2. start recording in audacity and observe DC offset
3. for each input of each mixer:
3.1 mute until you see the DC offset disappear
ie for ALC268, mixer input amps at nodes (# inputs): 0Eh(1) 0Fh(2)
10h(3) 18h(1) 19h(1) 1Ah(1)
ie:
# ./hda-verb /dev/snd/hwC0D0 0x0e SET_AMP_GAIN_MUTE 0x7080
# ./hda-verb /dev/snd/hwC0D0 0x0f SET_AMP_GAIN_MUTE 0x7080
# ./hda-verb /dev/snd/hwC0D0 0x0f SET_AMP_GAIN_MUTE 0x7180
# ./hda-verb /dev/snd/hwC0D0 0x10 SET_AMP_GAIN_MUTE 0x7080
# ./hda-verb /dev/snd/hwC0D0 0x10 SET_AMP_GAIN_MUTE 0x7180
# ./hda-verb /dev/snd/hwC0D0 0x10 SET_AMP_GAIN_MUTE 0x7280
# ./hda-verb /dev/snd/hwC0D0 0x18 SET_AMP_GAIN_MUTE 0x7080
# ./hda-verb /dev/snd/hwC0D0 0x19 SET_AMP_GAIN_MUTE 0x7080
# ./hda-verb /dev/snd/hwC0D0 0x1a SET_AMP_GAIN_MUTE 0x7080
Changes are real-time, so no need to restart anything. Once you've
found which mixer input amp and input index stops the DC offset, reset
the HD codec (eg reboot) and try just that one! I'm interested in
hearing if this finds the issue...
Dan
--
Daniel J Blueman
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists