Summary: | Speaker volume is set to 0 when plugging/unplugging headphones | ||
---|---|---|---|
Product: | PulseAudio | Reporter: | Ignaker <ignaker> |
Component: | alsa | Assignee: | pulseaudio-bugs |
Status: | RESOLVED MOVED | QA Contact: | pulseaudio-bugs |
Severity: | normal | ||
Priority: | medium | CC: | freedesktop, hans, iam, lennart, raphael.rochet |
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
pacmd ls
Dell XPS L502X - still not working after the patch. Lenovo X220 pacmd ls |
I suffer from this too. I have a Toshiba laptop with HDA Intel (Realteck ALC272) chip. My guess is that this issue has been fixed by this patch: http://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=a703451811f31abe6302f39675c1e1fdfc1925d6 To verify that, could you try changing /usr/share/pulseaudio/alsa-mixer/paths/analog-output-speaker-always.conf accordingly? The patch worked for me, now Speaker volume is no more to 0 at boot, neither it is when I unplug the headphones jack. Thank you, I'll close this bug. (In reply to comment #4) > Thank you, I'll close this bug. Hello Mr. Kaskinen, I tryed your suggestion and now all works perfectly. Thanks. Have a nice day. Still not solved for me after applying the patch. I have the exact same problem as the OP. I will also attach the output of 'pacmd ls'. The system is a Dell XPS L502X. The soundcard is 00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05) Subsystem: Dell Device 050e Created attachment 73277 [details]
Dell XPS L502X - still not working after the patch.
Sorry for the noise. Instead of applying the diff I downloaded analog-output-speaker-always.conf from the git web interface. But I chose the wrong one. All is fine now. I have issue with "Speaker" volume. It is set to 0 every boot. IIRC it worked fine with PulseAudio 4 but not with PulseAudio 5. Lenovo X220, ArchLinux x86_64. Created attachment 95415 [details]
Lenovo X220 pacmd ls
You have three ports on the sink: analog-output, analog-output-speaker and analog-output-headphones. The active port is analog-output, which sets the "Speaker" volume to zero. I don't know why analog-output got selected, since analog-output-speaker has higher priority, but you can switch the port with this command: pactl set-sink-port alsa_output.pci-0000_00_1b.0.analog-stereo analog-output-speaker If pulseaudio keeps selecting the analog-output port, you're probably suffering from this bug: https://bugs.freedesktop.org/show_bug.cgi?id=74609 does headphone and dock headphone really support 4.0 ? for four channels hda codecs with three output pin complexes (headphone , dock headphone and speaker) ,one volume controls have to shared by two output pins while the other volume control used by one output pin output:analog-surround-40: Analog Surround 4.0 Output (priority 700, available: unknown) output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (priority 760, available: unknown) off: Off (priority 0, available: unknown) active profile: <output:analog-stereo+input:analog-stereo> sinks: alsa_output.pci-0000_00_1b.0.analog-stereo/#0: Built-in Audio Analog Stereo sources: alsa_output.pci-0000_00_1b.0.analog-stereo.monitor/#0: Monitor of Built-in Audio Analog Stereo alsa_input.pci-0000_00_1b.0.analog-stereo/#1: Built-in Audio Analog Stereo ports: analog-input-internal-mic: Internal Microphone (priority 8900, latency offset 0 usec, available: unknown) properties: device.icon_name = "audio-input-microphone" analog-input-dock-mic: Dock Microphone (priority 7800, latency offset 0 usec, available: no) properties: device.icon_name = "audio-input-microphone" analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: no) properties: device.icon_name = "audio-input-microphone" analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown) properties: analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown) properties: device.icon_name = "audio-speakers" analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no) properties: device.icon_name = "audio-headphones" (In reply to comment #11) It is fixed for me after provided command. Thanks a lot! -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/180. |
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.
Created attachment 72808 [details] pacmd ls Hello, sound was ok on my Fujitsu laptop AH530 with Archlinux (x86_64) until I upgraded pulseaudio (and libpulse) to version 3.0. After upgrading: 1) when pulseaudio starts, the alsa "Speaker" volume is set to zero and I can't hear any sound. If i set again the alsa "Speaker" volume with 'amixer -c0 sset "Speaker" 100%', sound comes back. I explicitly tried to set volume to 100% (hearing sound), restarted pulseaudio ('pulseaudio -k', then pulseaudio restarted automatically), verifying that alsa "Speaker" volume was now set to 0. 2) every time I plug or unplug the headphones, alsa "Speaker" volume is set to 0, so, after unplugging the headphones, I can't hear any sound and I must issue again 'amixer -c0 sset "Speaker" 100%' and (again) I explicitly verified alsa "Speaker" volume before and after using output of "amixer -c0". While headphones are connected, all is working as intended: speakers have volume set to 0 and I can hear sound through the headphones. With previous version all was ok: some other people on archlinux forum facing same issue solved(?) downgrading to pulseaudio 2.1: I didn't do that because I don't want to mess the bug. I don't know exactly which logs, documentation, etc. could be useful: I issued (as root) 'journalctl -b /usr/bin/pulseaudio' but obtained empty output. I attached output of "pacmd ls". I can do some experiments if it's necessary. Sorry for my bad English. Thanks in advance for your valuable time and patience.