Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756052AbYF1NYm (ORCPT ); Sat, 28 Jun 2008 09:24:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752331AbYF1NYd (ORCPT ); Sat, 28 Jun 2008 09:24:33 -0400 Received: from wa-out-1112.google.com ([209.85.146.182]:26345 "EHLO wa-out-1112.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752028AbYF1NYc (ORCPT ); Sat, 28 Jun 2008 09:24:32 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=bhy4x2PfnkVp5EeDvSrxORFiG90Z1LhFhZsmIDs6zJVggE+CWXtkhJtv26tqSgRjEz ggtYN8+IeuKWUAECnm3RzJWfvM1WQmIC0LcIar93n4OnVUoYFpYUbjEsghAzvpkJnD+3 7mrfpRcTkecrXkA1vmshRBNdSqz6yrhCi+qOk= Message-ID: <6278d2220806280624iec3a67rf25789e98f81521@mail.gmail.com> Date: Sat, 28 Jun 2008 14:24:31 +0100 From: "Daniel J Blueman" To: "Vegard Nossum" , "Romano Giannetti" Subject: Re: ALC883 recording troubles... Cc: "Takashi Iwai" , "Linux Kernel" In-Reply-To: <19f34abd0806280539g4961392evb469d7c106c198c9@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6278d2220806091259t47c9b070v269da0f5855ef014@mail.gmail.com> <6278d2220806111200g4f802885wfc5f0fd6c0405efb@mail.gmail.com> <6278d2220806271705v5bd5fec3l86c3560283063092@mail.gmail.com> <19f34abd0806280311s115062e6vc6d0f304cb744934@mail.gmail.com> <6278d2220806280329j2f77c52dp8fbae78420c136c1@mail.gmail.com> <6278d2220806280529n70c6233dk1c5768df5d52acf@mail.gmail.com> <19f34abd0806280539g4961392evb469d7c106c198c9@mail.gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2491 Lines: 58 On Sat, Jun 28, 2008 at 1:39 PM, Vegard Nossum wrote: > On Sat, Jun 28, 2008 at 2:29 PM, Daniel J Blueman > 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/