[alsa-devel] [PATCH] ALSA: ac97: Add HP Compaq dc5100 SFF(PT003AW) to Headphone Jack Sense whitelist

Takashi Iwai tiwai at suse.de
Mon Aug 15 10:51:50 CEST 2011


At Sun, 14 Aug 2011 22:53:29 -0400,
Dan Chen wrote:
> 
> Hi,
> 
> Attached please find a patch against sound-2.6 master HEAD fixing
> inaudible audio in the bug reporter's system by unmuting 'Headphone
> Jack Sense'. To make it permanent, his PCI SSID is added to the
> whitelist. Please consider applying.

Applied now.  Thanks.


Takashi


> 
> Cheers,
> -Dan
> [2 0001-ALSA-ac97-Add-HP-Compaq-dc5100-SFF-PT003AW-to-Headph.patch <text/x-patch; US-ASCII (base64)>]
> From ee2acfb197ac630cb68e80d304b78d253649c55b Mon Sep 17 00:00:00 2001
> From: Daniel T Chen <crimsun at ubuntu.com>
> Date: Sun, 14 Aug 2011 22:43:01 -0400
> Subject: [PATCH] ALSA: ac97: Add HP Compaq dc5100 SFF(PT003AW) to Headphone
>  Jack Sense whitelist
> 
> BugLink: https://bugs.launchpad.net/bugs/826081
> 
> The original reporter needs 'Headphone Jack Sense' enabled to have
> audible audio, so add his PCI SSID to the whitelist.
> 
> Reported-and-tested-by: Muhammad Khurram Khan
> Cc: <stable at kernel.org>
> Signed-off-by: Daniel T Chen <crimsun at ubuntu.com>
> ---
>  sound/pci/ac97/ac97_patch.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/sound/pci/ac97/ac97_patch.c b/sound/pci/ac97/ac97_patch.c
> index 200c9a1..a872d0a 100644
> --- a/sound/pci/ac97/ac97_patch.c
> +++ b/sound/pci/ac97/ac97_patch.c
> @@ -1909,6 +1909,7 @@ static unsigned int ad1981_jacks_whitelist[] = {
>  	0x103c0944, /* HP nc6220 */
>  	0x103c0934, /* HP nc8220 */
>  	0x103c006d, /* HP nx9105 */
> +	0x103c300d, /* HP Compaq dc5100 SFF(PT003AW) */
>  	0x17340088, /* FSC Scenic-W */
>  	0 /* end */
>  };
> -- 
> 1.7.5.4
> 


More information about the Alsa-devel mailing list