[alsa-devel] [PATCH] ALSA: hda: Fix 0 dB for Packard Bell models using Conexant CX20549 (Venice)

Takashi Iwai tiwai at suse.de
Wed May 5 10:01:40 CEST 2010


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 <text/x-diff; US-ASCII (base64)>]
> From e2109922f4505fe08ef6e24673b4e4a91648fa4e Mon Sep 17 00:00:00 2001
> From: Daniel T Chen <crimsun at ubuntu.com>
> 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: <stable at kernel.org>
> Signed-off-by: Daniel T Chen <crimsun at ubuntu.com>
> ---
>  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
> 


More information about the Alsa-devel mailing list