commit e21f4b8c54579e56e977363f4fc881d75b7296bc
Author: Daniel Chen <[EMAIL PROTECTED]>
Date:   Wed Apr 4 11:47:34 2007 -0400

    UBUNTU: sound/pci/ac97/: Fix regression from Edgy - readd jack sense 
blacklist entries (ac97_patch.c)
    
    Status: Not yet merged in upstream alsa-kernel hg
    
    This commit for Feisty readds missing jack sense blacklist entries.
    
    Signed-off-by: Daniel T Chen <[EMAIL PROTECTED]>

diff --git a/sound/pci/ac97/ac97_patch.c b/sound/pci/ac97/ac97_patch.c
index 4eb010f..4a64f5b 100644
--- a/sound/pci/ac97/ac97_patch.c
+++ b/sound/pci/ac97/ac97_patch.c
@@ -1793,6 +1793,16 @@ static unsigned int ad1981_jacks_blacklist[] = {
        0x10140534, /* Thinkpad X31 */
        0x10140537, /* Thinkpad T41p */
        0x10140554, /* Thinkpad T42p/R50p */
+       0x10140567, /* Thinkpad T43p 2668-G7U */
+       0x10140581, /* Thinkpad X41-2527 */
+       0x104380b0, /* Asus A7V8X-MX */
+       0x11790241, /* Toshiba Satellite A-15 S127 */
+       0x144dc01a, /* Samsung NP-X20C004/SEG */
+       0 /* end */
+};
+
+static unsigned int ad1985_jacks_blacklist[] = {
+       0x8086e002, /* confirmed by [EMAIL PROTECTED] */
        0 /* end */
 };
 
@@ -2153,6 +2163,8 @@ static int patch_ad1985_specific(struct snd_ac97 *ac97)
 
        if ((err = patch_build_controls(ac97, &snd_ac97_ad198x_2cmic, 1)) < 0)
                return err;
+       if (check_list(ac97, ad1985_jacks_blacklist))
+               return 0;
 
        return patch_build_controls(ac97, snd_ac97_ad1985_controls, 
ARRAY_SIZE(snd_ac97_ad1985_controls));
 }

** Changed in: linux-source-2.6.20 (Ubuntu)
   Importance: Undecided => Medium
       Status: Confirmed => Fix Committed

-- 
No sound on IBM T43 laptop
https://bugs.launchpad.net/bugs/96061
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to