Skip to contentSkip to conversation

ALSA: ac97: Add Toshiba P500 to ac97 jack sense blacklist

PATCH Applied Daniel Chen 2 participants 2 messages Mar 28, 2010 – Mar 29, 2010 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ALSA: ac97: Add Toshiba P500 to ac97 jack sense blacklist

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.

Best,
-Dan

From d1d39d5db8ebc294ace694921eacaba78a8b8f7e Mon Sep 17 00:00:00 2001
From: Daniel T Chen <[email protected]>
Date: Sun, 28 Mar 2010 16:21:58 -0400
Subject: [PATCH] ALSA: ac97: Add Toshiba P500 to ac97 jack sense blacklist

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
---
 sound/pci/ac97/ac97_patch.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
sound/pci/ac97/ac97_patch.c +1 -0
index 1a59b71..e68c98e 100644
@@ -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 */
 };
Signature · 1 line
1.7.0

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

Applied
#1 lore raw

At Sun, 28 Mar 2010 13:32:34 -0700,

Quoted 6 lines · Daniel Chen

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

Quoted 38 lines

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 <[email protected]>
Date: Sun, 28 Mar 2010 16:21:58 -0400
Subject: [PATCH] ALSA: ac97: Add Toshiba P500 to ac97 jack sense blacklist

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
---
 sound/pci/ac97/ac97_patch.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
sound/pci/ac97/ac97_patch.c +1 -0
index 1a59b71..e68c98e 100644
@@ -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 */
 };
Signature · 1 line
1.7.0