[alsa-devel] [PATCH] ALSA: ac97: Add Toshiba P500 to ac97 jack sense blacklist

Takashi Iwai tiwai at suse.de
Mon Mar 29 08:31:43 CEST 2010


At Sun, 28 Mar 2010 13:32:34 -0700,
Daniel Chen wrote:
> 
> Hi,
> 
> Attached is a patch against sound-2.6 (also applicable to 2.6.32.y and
> 2.6.33.y) adding the OR's SSID to ad1981_jacks_blacklist for audible
> audio by default.

Thanks, applied now to sound git tree.


Takashi

> 
> Best,
> -Dan
> [2 0001-ALSA-ac97-Add-Toshiba-P500-to-ac97-jack-sense-blackl.patch <text/x-diff; US-ASCII (base64)>]
> From d1d39d5db8ebc294ace694921eacaba78a8b8f7e Mon Sep 17 00:00:00 2001
> From: Daniel T Chen <crimsun at ubuntu.com>
> Date: Sun, 28 Mar 2010 16:21:58 -0400
> Subject: [PATCH] ALSA: ac97: Add Toshiba P500 to ac97 jack sense blacklist
> 
> BugLink: https://launchpad.net/bugs/481058
> 
> The OR has verified that both 'Headphone Jack Sense' and 'Line Jack Sense'
> need to be muted for sound to be audible, so just add the machine's SSID
> to the ac97 jack sense blacklist.
> 
> Reported-by: Richard Gagne
> Tested-by: Richard Gagne
> 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 1a59b71..e68c98e 100644
> --- a/sound/pci/ac97/ac97_patch.c
> +++ b/sound/pci/ac97/ac97_patch.c
> @@ -1859,6 +1859,7 @@ static unsigned int ad1981_jacks_blacklist[] = {
>  	0x10280160, /* Dell Dimension 2400 */
>  	0x104380b0, /* Asus A7V8X-MX */
>  	0x11790241, /* Toshiba Satellite A-15 S127 */
> +	0x1179ff10, /* Toshiba P500 */
>  	0x144dc01a, /* Samsung NP-X20C004/SEG */
>  	0 /* end */
>  };
> -- 
> 1.7.0
> 


More information about the Alsa-devel mailing list