This patch causes ALSA to send sound to the speakers of a Panasonic CF-74 (Toughbook) instead of just its headphone jack.
--kyler
diff -Naur linux-2.6.24.1/sound/pci/hda/patch_sigmatel.c linux-2.6.24.1-ALSA_CF74/sound/pci/hda/patch_sigmatel.c --- linux-2.6.24.1/sound/pci/hda/patch_sigmatel.c 2008-02-08 14:55:30.000000000 -0500 +++ linux-2.6.24.1-ALSA_CF74/sound/pci/hda/patch_sigmatel.c 2008-02-11 12:05:11.824064617 -0500 @@ -2467,6 +2467,11 @@ spec->init = stac9200_core_init; spec->mixer = stac9200_mixer;
+ /* Kyler - fix for CF-74 speaker */ + spec->gpio_mask = 0x00000009; + spec->gpio_data = 0x00000000; + stac92xx_enable_gpio_mask(codec); + err = stac9200_parse_auto_config(codec); if (err < 0) { stac92xx_free(codec);