Skip to contentSkip to conversation

Sigmatel patch for missing

PATCH Klaus Schulz 2 participants 2 messages Dec 17, 2008

lore
Share & tools
lore
#0 lore raw

Hi folks.

Below patch seems to be missing in 1.0.18a! Note that also MCP51 seemed to work afterwards.
It needs to be ported to 1.0.18.a though.

https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3036

Can anybody let me know how the patch would look like in latest driver rev.

THX
Klaus

patch_sigmatel.c 2007-09-15 17:50:26.000000000 -0700 renamed from patch_sigmatel.c.orig 2007-09-15 17:57:07.000000000 -0700 +6 -0
@@ -2304,6 +2304,15 @@
         stac92xx_auto_set_pinctl(codec, cfg->dig_in_pin,
                      AC_PINCTL_IN_EN);
 
+    switch (codec->subsystem_id) {
+    case 0x107b0317: // Gateway MX3412, MT3423
+    case 0x107b0318: // Gateway MT3707, ML3109 (ATI SB450)
+    case 0x10de026c: // Gateway MX3410
+        snd_hda_codec_write(codec, 0x08, 0, AC_VERB_SET_POWER_STATE, 0x00);
+        snd_hda_codec_write(codec, 0x08, 0, AC_VERB_SET_EAPD_BTLENABLE,

0x02);
+ break;
+ }
+

     if (spec->gpio_mute) {
         stac922x_gpio_mute(codec, 0, 0);
         stac922x_gpio_mute(codec, 1, 0);
#1 lore raw

At Wed, 17 Dec 2008 09:23:24 +0100,

Quoted 4 lines · Klaus Schulz

Hi folks.

Below patch seems to be missing in 1.0.18a!

Because it's implemented in differently.

They are checked via PCI SSID, not codec SSID right now. Try to pass model=gateway if it didn't detect properly, and attach alsa-info output (with --no-upload option) to check details.

Quoted 2 lines

Note that also MCP51 seemed to
work afterwards.

Elaborate please?

Takashi

Quoted 36 lines

It needs to be ported to 1.0.18.a though.

https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3036

Can anybody let me know how the patch would look like in latest driver rev.

THX
Klaus

patch_sigmatel.c 2007-09-15 17:50:26.000000000 -0700 renamed from patch_sigmatel.c.orig 2007-09-15 17:57:07.000000000 -0700 +9 -0
@@ -2304,6 +2304,15 @@
         stac92xx_auto_set_pinctl(codec, cfg->dig_in_pin,
                      AC_PINCTL_IN_EN);
 
+    switch (codec->subsystem_id) {
+    case 0x107b0317: // Gateway MX3412, MT3423
+    case 0x107b0318: // Gateway MT3707, ML3109 (ATI SB450)
+    case 0x10de026c: // Gateway MX3410
+        snd_hda_codec_write(codec, 0x08, 0, AC_VERB_SET_POWER_STATE, 0x00);
+        snd_hda_codec_write(codec, 0x08, 0, AC_VERB_SET_EAPD_BTLENABLE,
 0x02);
+        break;
+    }
+
     if (spec->gpio_mute) {
         stac922x_gpio_mute(codec, 0, 0);
         stac922x_gpio_mute(codec, 1, 0);

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