Bug 44741

Summary: No sound output yet all software says there should be
Product: PulseAudio Reporter: Josh <cat_herder>
Component: alsaAssignee: Arun Raghavan <arun>
Status: RESOLVED FIXED QA Contact: pulseaudio-bugs
Severity: critical    
Priority: medium CC: diwic, lennart
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Output of command `pactl -list`
Output of running `alsa-info.sh`

Description Josh 2012-01-12 10:59:22 UTC
Created attachment 55520 [details]
Output of command `pactl -list`

Sometime between last night and this morning, my audio in linux decided to stop working. All I did was update the system with emerge, which only merged 3 packages totally unrelated to audio(bitcoin and pth, that's it).  PulseAudio says I should be hearing sound, ALSA says I should be hearing sound, yet I hear nothing. I can dual boot into windows, and the sound works perfectly there, but not in linux, yet no errors that I can see.

uname -a
Linux 3.0.6-gentoo #6 SMP Mon Jan 9 11:26:17 PST 2012 i686 AMD Athlon(tm) II X4 630 Processor AuthenticAMD GNU/Linux

Attached is the output of pactl -list
Comment 1 Josh 2012-01-12 11:00:21 UTC
Created attachment 55521 [details]
Output of running `alsa-info.sh`
Comment 2 Arun Raghavan 2012-01-12 11:23:36 UTC
Thanks for taking the time to report this problem. Summarising from our conversation on IRC:

This bug is similar to the one fixed by David (who I'm adding to CC) in http://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=838672974ec35c9e9eea4f67a2e7206f5cf87c22 -- the difference being that the control is "IEC958" and not "IEC958 Optical Raw".

In general, I'd like to commit a patch that disables the IEC958 control for analog output. On my laptop, for example, that element stays on all the time, when it really need not be in analog mode. What do people think of a patch that looks like this:

--- a/src/modules/alsa/mixer/paths/analog-output.conf.common
+++ b/src/modules/alsa/mixer/paths/analog-output.conf.common
@@ -129,6 +129,9 @@ priority = 0
 name = output-bass-boost-off
 priority = 10
 
+[Element IEC958]
+switch = off
+
 [Element IEC958 Optical Raw]
 switch = off
Comment 3 Tanu Kaskinen 2012-01-12 12:32:00 UTC
I don't see why this patch would be any worse than David's patch. So no objections from me.
Comment 4 David Henningsson 2012-01-13 00:31:20 UTC
The difference between disabling "IEC958" and "IEC958 Optical Raw" is that the former is far more widely used, so bigger impact is to be expected.

Can you verify that all digital output profiles have ports that turn this element on?

Also I'm thinking about the digital input + analog output combination, but I'm not sure whether that is something to worry about.
Comment 5 Arun Raghavan 2012-01-14 03:57:06 UTC
Committed the patch mentioned above now.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.