lkml.org 
[lkml]   [2008]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: ALC883 recording troubles...
On Sat, Jun 28, 2008 at 1:39 PM, Vegard Nossum <vegard.nossum@gmail.com> wrote:
> On Sat, Jun 28, 2008 at 2:29 PM, Daniel J Blueman
> <daniel.blueman@gmail.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


\
 
 \ /
  Last update: 2008-06-28 15:27    [W:0.070 / U:0.052 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site