From: Takashi Iwai Subject: Re: [PATCH] ALSA: hda: Fix 0 dB for Packard Bell models using Conexant CX20549 (Venice) Date: Wed, 05 May 2010 10:01:40 +0200 Message-ID: References: Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id B259B103822 for ; Wed, 5 May 2010 10:01:40 +0200 (CEST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Daniel Chen Cc: alsa-devel , stable@kernel.org List-Id: alsa-devel@alsa-project.org At Wed, 28 Apr 2010 18:07:16 -0400, Daniel Chen wrote: > > Hi, > > Attached is a patch against sound-2.6 master HEAD (also applicable to > 2.6.32.12 and 2.6.33.3) that fixes 0 dB for Packard Bell machines > using Conexant CX20549. Without it, sound distorts horribly. Thanks, applied now. Takashi > > Best, > -Dan > [2 0001-ALSA-hda-Fix-0-dB-for-Packard-Bell-models-using-Cone.patch ] > From e2109922f4505fe08ef6e24673b4e4a91648fa4e Mon Sep 17 00:00:00 2001 > From: Daniel T Chen > Date: Wed, 28 Apr 2010 18:00:11 -0400 > Subject: [PATCH] ALSA: hda: Fix 0 dB for Packard Bell models using Conexant CX20549 (Venice) > > BugLink: https://launchpad.net/bugs/541802 > > The OR's hardware distorts at PCM 100% because it does not correspond to > 0 dB. Fix this in patch_cxt5045() for all Packard Bell models. > > Reported-by: Valombre > Cc: > Signed-off-by: Daniel T Chen > --- > sound/pci/hda/patch_conexant.c | 5 +++-- > 1 files changed, 3 insertions(+), 2 deletions(-) > > diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c > index 509a104..b9644e4 100644 > --- a/sound/pci/hda/patch_conexant.c > +++ b/sound/pci/hda/patch_conexant.c > @@ -1196,9 +1196,10 @@ static int patch_cxt5045(struct hda_codec *codec) > > switch (codec->subsystem_id >> 16) { > case 0x103c: > + case 0x1631: > case 0x1734: > - /* HP & Fujitsu-Siemens laptops have really bad sound over 0dB > - * on NID 0x17. Fix max PCM level to 0 dB > + /* HP, Packard Bell, & Fujitsu-Siemens laptops have really bad > + * sound over 0dB on NID 0x17. Fix max PCM level to 0 dB > * (originally it has 0x2b steps with 0dB offset 0x14) > */ > snd_hda_override_amp_caps(codec, 0x17, HDA_INPUT, > -- > 1.7.0.4 >