[Bug 569991] New: Sound system mutes when headphones are plugged
http://bugzilla.novell.com/show_bug.cgi?id=569991 http://bugzilla.novell.com/show_bug.cgi?id=569991#c0 Summary: Sound system mutes when headphones are plugged Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: x86-64 OS/Version: openSUSE 11.2 Status: NEW Severity: Major Priority: P5 - None Component: Sound AssignedTo: tiwai@novell.com ReportedBy: ricardo.berlasso@gmail.com QAContact: qa@suse.de Found By: --- Blocker: --- Created an attachment (id=336164) --> (http://bugzilla.novell.com/attachment.cgi?id=336164) Output of alsa-info.sh User-Agent: Mozilla/5.0 (compatible; Konqueror/4.3; Linux) KHTML/4.3.1 (like Gecko) SUSE On a Toshiba Satellite P200-17D, when headphones are plugged the whole sound system mutes, not only the speakers (i.e., no sound from the headphones either) Reproducible: Always Steps to Reproduce: 1.Plug the headphones 2.Reproduce any sound 3. Actual Results: No sound from the headphones nor from the speakers Expected Results: Speakers mute, but with working headphones By adding options snd-hda-intel model=3stack to the /etc/modprobe.d/50-sound.conf file to force a different configuration makes the headphones work... but I then I lost the mic. This issue was presented in the forums http://forums.opensuse.org/hardware/laptop/427123-whole-sound-system-mutes-w... and in bug 547980. As suggested in that bug report, I started this one (different hardware). -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=569991
http://bugzilla.novell.com/show_bug.cgi?id=569991#c1
Takashi Iwai
http://bugzilla.novell.com/show_bug.cgi?id=569991
http://bugzilla.novell.com/show_bug.cgi?id=569991#c2
Ricardo Gabriel Berlasso
http://bugzilla.novell.com/show_bug.cgi?id=569991
http://bugzilla.novell.com/show_bug.cgi?id=569991#c3
--- Comment #3 from Takashi Iwai
http://bugzilla.novell.com/show_bug.cgi?id=569991
http://bugzilla.novell.com/show_bug.cgi?id=569991#c4
Takashi Iwai
http://bugzilla.novell.com/show_bug.cgi?id=569991
http://bugzilla.novell.com/show_bug.cgi?id=569991#c5
Ricardo Gabriel Berlasso
http://bugzilla.novell.com/show_bug.cgi?id=569991
http://bugzilla.novell.com/show_bug.cgi?id=569991#c6
--- Comment #6 from Ricardo Gabriel Berlasso
http://bugzilla.novell.com/show_bug.cgi?id=569991
http://bugzilla.novell.com/show_bug.cgi?id=569991#c7
--- Comment #7 from Ricardo Gabriel Berlasso
http://bugzilla.novell.com/show_bug.cgi?id=569991
http://bugzilla.novell.com/show_bug.cgi?id=569991#c8
--- Comment #8 from Takashi Iwai
http://bugzilla.novell.com/show_bug.cgi?id=569991
http://bugzilla.novell.com/show_bug.cgi?id=569991#c9
--- Comment #9 from Ricardo Gabriel Berlasso
http://bugzilla.novell.com/show_bug.cgi?id=569991
http://bugzilla.novell.com/show_bug.cgi?id=569991#c10
Takashi Iwai
http://bugzilla.novell.com/show_bug.cgi?id=569991
http://bugzilla.novell.com/show_bug.cgi?id=569991#c11
--- Comment #11 from Ricardo Gabriel Berlasso
http://bugzilla.novell.com/show_bug.cgi?id=569991
http://bugzilla.novell.com/show_bug.cgi?id=569991#c12
--- Comment #12 from Takashi Iwai
http://bugzilla.novell.com/show_bug.cgi?id=569991
http://bugzilla.novell.com/show_bug.cgi?id=569991#c13
Ricardo Gabriel Berlasso
http://bugzilla.novell.com/show_bug.cgi?id=569991
http://bugzilla.novell.com/show_bug.cgi?id=569991#c14
Takashi Iwai
http://bugzilla.novell.com/show_bug.cgi?id=569991
http://bugzilla.novell.com/show_bug.cgi?id=569991#c15
--- Comment #15 from Ricardo Gabriel Berlasso
http://bugzilla.novell.com/show_bug.cgi?id=569991
http://bugzilla.novell.com/show_bug.cgi?id=569991#c16
Ricardo Gabriel Berlasso
http://bugzilla.novell.com/show_bug.cgi?id=569991
http://bugzilla.novell.com/show_bug.cgi?id=569991#c17
Takashi Iwai
http://bugzilla.novell.com/show_bug.cgi?id=569991
http://bugzilla.novell.com/show_bug.cgi?id=569991#c18
Ricardo Gabriel Berlasso
http://bugzilla.novell.com/show_bug.cgi?id=569991
http://bugzilla.novell.com/show_bug.cgi?id=569991#c19
Takashi Iwai
http://bugzilla.novell.com/show_bug.cgi?id=569991
http://bugzilla.novell.com/show_bug.cgi?id=569991#c20
Ricardo Gabriel Berlasso
http://bugzilla.novell.com/show_bug.cgi?id=569991
http://bugzilla.novell.com/show_bug.cgi?id=569991#c21
--- Comment #21 from Ricardo Gabriel Berlasso
https://bugzilla.novell.com/show_bug.cgi?id=569991
https://bugzilla.novell.com/show_bug.cgi?id=569991#c22
Uwe Drechsel
https://bugzilla.novell.com/show_bug.cgi?id=569991
https://bugzilla.novell.com/show_bug.cgi?id=569991#c23
--- Comment #23 from Uwe Drechsel
https://bugzilla.novell.com/show_bug.cgi?id=569991
https://bugzilla.novell.com/show_bug.cgi?id=569991#c24
Ricardo Gabriel Berlasso
https://bugzilla.novell.com/show_bug.cgi?id=569991
https://bugzilla.novell.com/show_bug.cgi?id=569991#c25
--- Comment #25 from Aleksander Gut
https://bugzilla.novell.com/show_bug.cgi?id=569991
https://bugzilla.novell.com/show_bug.cgi?id=569991#c26
--- Comment #26 from Ricardo Gabriel Berlasso
This bug not exist in 12.1
Do not agree: this bug still exists at least on the liveCD. In a month or so I'll try installing 12.1 on my system and I'll report back. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=569991
https://bugzilla.novell.com/show_bug.cgi?id=569991#c27
Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=569991
https://bugzilla.novell.com/show_bug.cgi?id=569991#c28
Ricardo Gabriel Berlasso
Does the problem exist on 12.2 version?
Yes. I just finished 12.2 installation and the problem is still here. In addition, the old trick (add options snd-hda-intel model=3stack to the beginning of /etc/modprobe.d/50-sound.conf is not working, it seems. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=569991
https://bugzilla.novell.com/show_bug.cgi?id=569991#c29
Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=569991
https://bugzilla.novell.com/show_bug.cgi?id=569991#c
Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=569991
https://bugzilla.novell.com/show_bug.cgi?id=569991#c30
Ricardo Gabriel Berlasso
https://bugzilla.novell.com/show_bug.cgi?id=569991
https://bugzilla.novell.com/show_bug.cgi?id=569991#c31
Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=569991
https://bugzilla.novell.com/show_bug.cgi?id=569991#c32
Ricardo Gabriel Berlasso
Thanks. Just to make clear: root-plugged-alsa-info.txt.fOA0LrGeWS is at the state where the headphone is plugged in but the tone comes still out of speaker, correct?
root-plugged-etc is with headphone plugged, but speakers also mute: there is no sound at all. With headphones plugged I only get silence from headphones AND silence from speakers.
Judging from the log, the driver behaves properly as expected. If you look at the diff between them, you'll find that the NID 0x14 is set to pin control 0x00 from 0x40. This should disable the speaker output. But, if it doesn't, it means that NID 0x14 isn't a speaker pin as BIOS advertises.
As you checked via hda-verb, 0x15 corresponds obviously to the headphone jack, and the jack-sense verb works as expected.
A puzzling problem is that the result contradicts with your comment 13. Could you perform the test in comment 13 again (run hda-verb on the machine without the headphone plugged), and see whether changing NID 0x14's pin control affects the speaker output or not?
With # hda-verb /dev/snd/hwC0D0 0x14 SET_PIN_WID 0x00 nid = 0x14, verb = 0x707, param = 0x0 value = 0x0 speakers mute. If I plug the headphones nothing happens: no sound from speaker nor headphones With # hda-verb /dev/snd/hwC0D0 0x14 SET_PIN_WID 0x40 nid = 0x14, verb = 0x707, param = 0x40 value = 0x0 speakers start to work, but headphones are mute. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=569991
https://bugzilla.novell.com/show_bug.cgi?id=569991#c33
Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=569991
https://bugzilla.novell.com/show_bug.cgi?id=569991#c34
Ricardo Gabriel Berlasso
OK, then I misunderstood the situation. It's the headphone that doesn't work, not the speaker.
So, if you plug the headphone, and set the pin control for NID 0x14 to 0x40, the speaker starts playing again (even during you plug the headphone), right? And you still get no sound from the headphone with NID 0x14 set to 0x40?
Right. <snip>
A bit weird is that the amp value of NID 0x03 doesn't correspond properly to the mixer value. What happens if you run amixer -c0 set Headphone 63
I obtain Simple mixer control 'Headphone',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 64 Mono: Front Left: Playback 63 [98%] [-1.00dB] [on] Front Right: Playback 63 [98%] [-1.00dB] [on]
Another blind shot is to disable EAPD: hda-verb /dev/snd/hwC0D0 0x15 SET_EAPD 0x00
YES!!! Headphones started to work, and when they are plugged the speakers mute as intended, so everything works!! The output is nid = 0x15, verb = 0x70c, param = 0x0 value = 0x0 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=569991
https://bugzilla.novell.com/show_bug.cgi?id=569991#c35
Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=569991
https://bugzilla.novell.com/show_bug.cgi?id=569991#c36
Ricardo Gabriel Berlasso
Good to hear!
I added a fix patch now to the upstream and kicked off the build of the updated alsa-driver-kmp. Could you try alsa-driver-kmp on OBS multimedia:audio:KMP/alsa-driver-kmp repo?
Download from openSUSE_12.2, check whether the changelog contains like - KERNEL-HEAD:727eec03048527d0934d32388edc902ac0f43bdd * ALSA: hda - Fix silent headphone output from Toshiba P200 ...
I installed http://download.opensuse.org/repositories/multimedia:/audio:/KMP/openSUSE_12... I have the kernel-desktop 3.4.11-2.16.1 The alsa driver-kmp package contains the line you quoted on the changelog but it do not work: I need to use the EADP trick by hand. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=569991
https://bugzilla.novell.com/show_bug.cgi?id=569991#c37
Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=569991
https://bugzilla.novell.com/show_bug.cgi?id=569991#c38
Ricardo Gabriel Berlasso
My bad, the patch wasn't complete. Now I fixed it again and hopefully this works better (at least it seems working on emulator). Please try alsa-driver-kmp later again. The rpm changelog was updated accordingly.
Indeed! It is working wonderfully! That completely solves the problem for me, thanks! Just to be sure about the following steps: I suppose that on next kernel update I need to uninstall the alsa-driver-kmp, right? Thanks again! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=569991
https://bugzilla.novell.com/show_bug.cgi?id=569991#c39
Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=569991
https://bugzilla.novell.com/show_bug.cgi?id=569991#c
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=569991
https://bugzilla.novell.com/show_bug.cgi?id=569991#c40
--- Comment #40 from Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=569991
Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com