ALSA HDMI Audio does not work
This bug report was converted into a question: question #91842: ALSA HDMI Audio does not work.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-ubuntu-modules-2.6.24 (Ubuntu) |
Fix Released
|
Medium
|
Tim Gardner |
Bug Description
We tested HDMI Audio on SB700+RS780 on linux-ubuntu-
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/
+++ alsa-kernel/
@@ -1812,15 +1812,15 @@
gcap = azx_readw(chip, GCAP);
snd_printdd(
- if (gcap) {
- /* read number of streams from GCAP register instead of using
- * hardcoded value
- */
- chip->playback_
- chip->capture_
- chip->playback_
- chip->capture_
- } else {
+ //if (gcap) {
+ // /* read number of streams from GCAP register instead of using
+ // * hardcoded value
+ // */
+ // chip->playback_
+ // chip->capture_
+ // chip->playback_
+ // chip->capture_
+ //} else {
/* gcap didn't give any info, switching to old method */
switch (chip->driver_type) {
@@ -1843,7 +1843,7 @@
chip-
break;
}
- }
+ //}
chip->num_streams = chip->playback_
chip->azx_dev = kcalloc(
GFP_KERNEL);
Please forget the workaround patch I submitted. I have found the official patch in alsa hg tree.
Please kindly find the patch in http:// git.kernel. org/?p= linux/kernel/ git/perex/ alsa.git; a=commitdiff; h=b5d85a782c87b cc92c9c20273757 bcd02f692d9c; hp=1cc699e28cee ac996a8a8371c98 bf22c29dd399c