Public bug reported:

We tested HDMI Audio on SB700+RS780 on linux-ubuntu-
modules-2.6.24_2.6.24-10.14 and found it does not work.

This is a known issue for ALSA and it has been fixed in ALSA hg tree.

Here is the workaround patch for HDMI audio:

--- alsa-kernel/pci/hda/hda_intel.c.orig        2008-02-27 08:54:45.000000000 
-0500
+++ alsa-kernel/pci/hda/hda_intel.c     2008-02-27 08:46:05.000000000 -0500
@@ -1812,15 +1812,15 @@
        gcap = azx_readw(chip, GCAP);
        snd_printdd("chipset global capabilities = 0x%x\n", gcap);
 
-       if (gcap) {
-               /* read number of streams from GCAP register instead of using
-                * hardcoded value
-                */
-               chip->playback_streams = (gcap & (0xF << 12)) >> 12;
-               chip->capture_streams = (gcap & (0xF << 8)) >> 8;
-               chip->playback_index_offset = (gcap & (0xF << 12)) >> 12;
-               chip->capture_index_offset = 0;
-       } else {
+       //if (gcap) {
+       //      /* read number of streams from GCAP register instead of using
+       //       * hardcoded value
+       //       */
+       //      chip->playback_streams = (gcap & (0xF << 12)) >> 12;
+       //      chip->capture_streams = (gcap & (0xF << 8)) >> 8;
+       //      chip->playback_index_offset = (gcap & (0xF << 12)) >> 12;
+       //      chip->capture_index_offset = 0;
+       //} else {
                /* gcap didn't give any info, switching to old method */
 
                switch (chip->driver_type) {
@@ -1843,7 +1843,7 @@
                        chip->capture_index_offset = ICH6_CAPTURE_INDEX;
                        break;
                }
-       }
+       //}
        chip->num_streams = chip->playback_streams + chip->capture_streams;
        chip->azx_dev = kcalloc(chip->num_streams, sizeof(*chip->azx_dev),
                                GFP_KERNEL);

** Affects: linux-ubuntu-modules-2.6.24 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
ALSA HDMI Audio does not work
https://bugs.launchpad.net/bugs/196026
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to