[alsa-devel] Sigmatel patch for missing
Klaus Schulz
kls.schlz at googlemail.com
Wed Dec 17 09:23:24 CET 2008
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.orig 2007-09-15 17:57:07.000000000 -0700
+++ patch_sigmatel.c 2007-09-15 17:50:26.000000000 -0700
@@ -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);
More information about the Alsa-devel
mailing list