[PATCH] hda/patch_sigmatel.c Panasonic CF-74 speaker output

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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);

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux