[alsa-devel] [PATCH] ALSA: ac97: Add IBM ThinkPad R40e to Headphone/Line Jack Sense blacklist

Takashi Iwai tiwai at suse.de
Fri Mar 26 08:41:55 CET 2010


At Thu, 25 Mar 2010 22:45:36 -0700,
Daniel Chen wrote:
> 
> Hi,
> 
> Attached is a patch against current sound-2.6 master HEAD (also
> applicable to 2.6.32.y and 2.6.33.y) that adds the IBM ThinkPad R40e
> to the Headphone/Line Jack Sense blacklist, which is required for
> audible audio.

Thanks, applied now.


Takashi

> 
> Best,
> -Dan
> [2 0001-ALSA-ac97-Add-IBM-ThinkPad-R40e-to-Headphone-Line-Ja.patch <text/x-diff; US-ASCII (base64)>]
> From dfcb794b4059ed3f6cd88babb8fa651fa67413c5 Mon Sep 17 00:00:00 2001
> From: Daniel T Chen <crimsun at ubuntu.com>
> Date: Thu, 25 Mar 2010 22:38:15 -0700
> Subject: [PATCH] ALSA: ac97: Add IBM ThinkPad R40e to Headphone/Line Jack Sense blacklist
> 
> BugLink: https://launchpad.net/bugs/303789
> 
> This model needs both 'Headphone Jack Sense' and 'Line Jack Sense'
> muted for audible audio, so just add its SSID to the blacklist and
> don't enumerate the controls.
> 
> 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 1caf5e3..1a59b71 100644
> --- a/sound/pci/ac97/ac97_patch.c
> +++ b/sound/pci/ac97/ac97_patch.c
> @@ -1852,6 +1852,7 @@ static unsigned int ad1981_jacks_blacklist[] = {
>  	0x10140523, /* Thinkpad R40 */
>  	0x10140534, /* Thinkpad X31 */
>  	0x10140537, /* Thinkpad T41p */
> +	0x1014053e, /* Thinkpad R40e */
>  	0x10140554, /* Thinkpad T42p/R50p */
>  	0x10140567, /* Thinkpad T43p 2668-G7U */
>  	0x10140581, /* Thinkpad X41-2527 */
> -- 
> 1.7.0
> 


More information about the Alsa-devel mailing list