[HDA Intel] output to hdmi:0 is heard through internal speakers as well
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Undecided
|
David Henningsson |
Bug Description
As tested with
speaker-test -c 2 -D hdmi:0
as well as pulseaudio, sound is heard both through internal speakers (or headphones if connected), and hdmi. Expected it to go to hdmi only.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: alsa-base 1.0.24+
ProcVersionSign
Uname: Linux 3.2.0-12-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 1.91-0ubuntu1
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
/dev/snd/pcmC0D0c: david 7475 F...m pulseaudio
Card0.Amixer.info:
Card hw:0 'Intel'/'HDA Intel at 0xd4900000 irq 48'
Mixer name : 'Intel IbexPeak HDMI'
Components : 'HDA:111d7605,
Controls : 22
Simple ctrls : 10
Card1.Amixer.info:
Card hw:1 'Headset'/'Logitech Logitech USB Headset at usb-0000:
Mixer name : 'USB Mixer'
Components : 'USB046d:0a0c'
Controls : 6
Simple ctrls : 2
Date: Tue Jan 31 15:29:55 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120103)
PackageArchitec
SourcePackage: alsa-driver
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 06/29/2010
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 68AZZ Ver. F.08
dmi.board.name: 1413
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 57.1D
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-
dmi.product.name: HP ProBook 4520s
dmi.sys.vendor: Hewlett-Packard
Changed in alsa-driver (Ubuntu): | |
assignee: | nobody → David Henningsson (diwic) |
status: | New → In Progress |
Changed in linux (Ubuntu): | |
status: | In Progress → Fix Committed |
This typo caused the wrong codec's nid to be checked for wcaps type.
As a result, sometimes speakers would duplicate the output sent to
HDMI output.
Cc: <email address hidden> /bugs.launchpad .net/bugs/ 924320 pci/hda/ hda_codec. c | 2 +-
BugLink: https:/
Signed-off-by: David Henningsson <email address hidden>
---
sound/
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/sound/ pci/hda/ hda_codec. c b/sound/ pci/hda/ hda_codec. c pci/hda/ hda_codec. c pci/hda/ hda_codec. c codec_setup_ stream( struct hda_codec *codec, hda_nid_t nid, elem(&c- >cvt_setups, i); type(get_ wcaps(codec, p->nid)) == type) type(get_ wcaps(c, p->nid)) == type)
index 4df72c0..c2c65f6 100644
--- a/sound/
+++ b/sound/
@@ -1447,7 +1447,7 @@ void snd_hda_
for (i = 0; i < c->cvt_setups.used; i++) {
p = snd_array_
if (!p->active && p->stream_tag == stream_tag &&
- get_wcaps_
+ get_wcaps_
p->dirty = 1;
}
}
--
1.7.8.3