[Bug 1069846] New: Headphone not functional in most cases
http://bugzilla.opensuse.org/show_bug.cgi?id=1069846 Bug ID: 1069846 Summary: Headphone not functional in most cases Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.3 Hardware: x86-64 OS: openSUSE 42.3 Status: NEW Severity: Normal Priority: P5 - None Component: Sound Assignee: tiwai@suse.com Reporter: werner@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 750107 --> http://bugzilla.opensuse.org/attachment.cgi?id=750107&action=edit /tmp/alsa-info.txt.BmuD2Vdhex without headphone plugged currently I be at a loss with my headphone used on my laptop Tuxedo N15-17RD which has a Realtek ALC269VC combined with some Intel soundhardware like Skylake HDMI. I'm using hdajackretask and then it has wokrd short after reboot but now after suspend mode nothing does work. With alsamixer as well as other mixers from e.g. lspanle I see muting speakers on plugin the headhone's jack and unmute the headphone but I do not hear anything. the difference between two alss-info output with unplugged and plugged headphone jack looks like this: --- /tmp/alsa-info.txt.BmuD2Vdhex 2017-11-26 18:50:40.320766509 +0100 +++ /tmp/alsa-info.txt.bgoL8yWkjc 2017-11-26 18:51:34.509991307 +0100 @@ -3,7 +3,7 @@ upload=true&script=true&cardinfo= !!ALSA Information Script v 0.4.64 !!################################ -!!Script ran on: Sun Nov 26 17:50:39 UTC 2017 +!!Script ran on: Sun Nov 26 17:51:33 UTC 2017 !!Linux Distribution @@ -166,7 +166,7 @@ Node 0x02 [Audio Output] wcaps 0x41d: St ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Device: name="ALC269VC Analog", type="Audio", device=0 Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0 - Amp-Out vals: [0x00 0x00] + Amp-Out vals: [0x53 0x53] Converter: stream=0, channel=0 PCM: rates [0x560]: 44100 48000 96000 192000 @@ -178,7 +178,7 @@ Node 0x03 [Audio Output] wcaps 0x41d: St Control: name="Speaker Playback Volume", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0 - Amp-Out vals: [0x57 0x57] + Amp-Out vals: [0x00 0x00] Converter: stream=0, channel=0 PCM: rates [0x560]: 44100 48000 96000 192000 @@ -287,14 +287,14 @@ Node 0x14 [Pin Complex] wcaps 0x40058d: Control: name="Speaker Playback Switch", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 - Amp-Out vals: [0x00 0x00] + Amp-Out vals: [0x80 0x80] Pincap 0x00010014: OUT EAPD Detect EAPD 0x2: EAPD Pin Default 0x90170110: [Fixed] Speaker at Int N/A Conn = Analog, Color = Unknown DefAssociation = 0x1, Sequence = 0x0 Misc = NO_PRESENCE - Pin-ctls: 0x40: OUT + Pin-ctls: 0x00: Unsolicited: tag=00, enabled=0 Power states: D0 D1 D2 D3 EPSS Power: setting=D3, actual=D3 @@ -304,7 +304,7 @@ Node 0x15 [Pin Complex] wcaps 0x40058d: Control: name="Headphone Playback Switch", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 - Amp-Out vals: [0x80 0x80] + Amp-Out vals: [0x00 0x00] Pincap 0x0001001c: OUT HP EAPD Detect EAPD 0x2: EAPD Pin Default 0x02211020: [Jack] HP Out at Ext Front @@ -618,21 +618,21 @@ Simple mixer control 'Master',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined Playback channels: Mono Limits: Playback 0 - 87 - Mono: Playback 87 [100%] [0.00dB] [on] + Mono: Playback 83 [95%] [-3.00dB] [on] Simple mixer control 'Headphone',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 87 Mono: - Front Left: Playback 0 [0%] [-65.25dB] [off] - Front Right: Playback 0 [0%] [-65.25dB] [off] + Front Left: Playback 87 [100%] [0.00dB] [on] + Front Right: Playback 87 [100%] [0.00dB] [on] Simple mixer control 'Speaker',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 87 Mono: - Front Left: Playback 87 [100%] [0.00dB] [on] - Front Right: Playback 87 [100%] [0.00dB] [on] + Front Left: Playback 0 [0%] [-65.25dB] [off] + Front Right: Playback 0 [0%] [-65.25dB] [off] Simple mixer control 'PCM',0 Capabilities: pvolume Playback channels: Front Left - Front Right @@ -714,8 +714,8 @@ state.PCH { control.1 { iface MIXER name 'Headphone Playback Volume' - value.0 0 - value.1 0 + value.0 87 + value.1 87 comment { access 'read write' type INTEGER @@ -723,15 +723,15 @@ state.PCH { range '0 - 87' dbmin -6525 dbmax 0 - dbvalue.0 -6525 - dbvalue.1 -6525 + dbvalue.0 0 + dbvalue.1 0 } } control.2 { iface MIXER name 'Headphone Playback Switch' - value.0 false - value.1 false + value.0 true + value.1 true comment { access 'read write' type BOOLEAN @@ -741,8 +741,8 @@ state.PCH { control.3 { iface MIXER name 'Speaker Playback Volume' - value.0 87 - value.1 87 + value.0 0 + value.1 0 comment { access 'read write' type INTEGER @@ -750,15 +750,15 @@ state.PCH { range '0 - 87' dbmin -6525 dbmax 0 - dbvalue.0 0 - dbvalue.1 0 + dbvalue.0 -6525 + dbvalue.1 -6525 } } control.4 { iface MIXER name 'Speaker Playback Switch' - value.0 true - value.1 true + value.0 false + value.1 false comment { access 'read write' type BOOLEAN @@ -932,7 +932,7 @@ state.PCH { control.18 { iface MIXER name 'Master Playback Volume' - value 87 + value 83 comment { access 'read write' type INTEGER @@ -940,7 +940,7 @@ state.PCH { range '0 - 87' dbmin -6525 dbmax 0 - dbvalue.0 0 + dbvalue.0 -300 } } control.19 { @@ -976,7 +976,7 @@ state.PCH { control.22 { iface CARD name 'Headphone Jack' - value false + value true comment { access read type BOOLEAN -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1069846 http://bugzilla.opensuse.org/show_bug.cgi?id=1069846#c1 --- Comment #1 from Dr. Werner Fink <werner@suse.com> --- Created attachment 750108 --> http://bugzilla.opensuse.org/attachment.cgi?id=750108&action=edit /tmp/alsa-info.txt.bgoL8yWkjc with headphone plugged -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1069846 http://bugzilla.opensuse.org/show_bug.cgi?id=1069846#c2 --- Comment #2 from Dr. Werner Fink <werner@suse.com> --- Created attachment 750109 --> http://bugzilla.opensuse.org/attachment.cgi?id=750109&action=edit /etc/modprobe.d/hda-jack-retask.conf -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1069846 http://bugzilla.opensuse.org/show_bug.cgi?id=1069846#c3 --- Comment #3 from Dr. Werner Fink <werner@suse.com> --- Created attachment 750110 --> http://bugzilla.opensuse.org/attachment.cgi?id=750110&action=edit /sys/module/snd_hda_intel/parameters/patch -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1069846 http://bugzilla.opensuse.org/show_bug.cgi?id=1069846#c4 --- Comment #4 from Dr. Werner Fink <werner@suse.com> --- Created attachment 750111 --> http://bugzilla.opensuse.org/attachment.cgi?id=750111&action=edit Jack-Retasking.png the used setup in hdajackretask -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1069846 http://bugzilla.opensuse.org/show_bug.cgi?id=1069846#c5 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Headphone not functional in |Headphone not functional |most cases |after suspend --- Comment #5 from Dr. Werner Fink <werner@suse.com> --- Just tested, reboot and everthing works with and without plugged headphone. then suspend by closing the lid, wait a few seconds, open the lid, wait upto the system is back again. Sound without plugged headphon works, sound with plugged headphone is gone. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1069846 http://bugzilla.opensuse.org/show_bug.cgi?id=1069846#c6 --- Comment #6 from Dr. Werner Fink <werner@suse.com> --- Maybe related https://github.com/Unrud/init-headphone-ubuntu https://fitzcarraldoblog.wordpress.com/2016/05/21/no-sound-from-headphones-a... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1069846 http://bugzilla.opensuse.org/show_bug.cgi?id=1069846#c7 --- Comment #7 from Dr. Werner Fink <werner@suse.com> --- OK tried the solution/workaround from the URL I've posted. That is add acpi_enforce_resources=lax to kernels command line, create a file /etc/modules-load.d/headphone.conf with the lines cat /etc/modules-load.d/headphone.conf i2c_dev i2c_i801 download the python script init-headphone wget https://raw.githubusercontent.com/ektor5/init-headphone/master/init-headphon... then suspend, resume, and first check that there is no sound ... then run sudo python init-headphone and sound on headphone is back again! -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1069846 http://bugzilla.opensuse.org/show_bug.cgi?id=1069846#c12 --- Comment #12 from Dr. Werner Fink <werner@suse.com> --- Created attachment 750934 --> http://bugzilla.opensuse.org/attachment.cgi?id=750934&action=edit /tmp/i2c.txt -- various i2c informations i2cdetect -l appended i2cdetect -F '<busses in order> appended i2cdump 'SMBus I801 adapter at f040' 0x73 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1069846 http://bugzilla.opensuse.org/show_bug.cgi?id=1069846#c13 --- Comment #13 from Dr. Werner Fink <werner@suse.com> --- Just rebootet now with /local/werner> cat /etc/modules-load.d/headphone.conf i2c_dev /local/werner> cat /proc/cmdline BOOT_IMAGE=/vmlinuz-4.4.92-31-default root=UUID=df469636-2ce6-4a8b-a88b-d0ac5cb85660 resume=/dev/nvme0n1p1 splash=silent i915.preliminary_hw_support=1 rcutree.rcu_idle_gp_delay=1 plymouth.enable=0 systemd.show_status=true acpi_os_name=Linux acpi_osi= acpi_backlight=vendor "acpi_osi=!Windows 2012" usbcore.autosuspend=-1 acpi=force acpi_sleep=s3_bios libata.force=5.00:noncq elevator=bfq showopts resume=/dev/nvme0n1p1 splash=silent quiet showopts ... sound works, headphone plugged works ... now going to suspend by closing the lid ... back again ... headphone plugged works, sound also works -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1069846 http://bugzilla.opensuse.org/show_bug.cgi?id=1069846#c19 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(werner@suse.com) | --- Comment #19 from Dr. Werner Fink <werner@suse.com> --- (In reply to Takashi Iwai from comment #18)
I guess the problem persists with the latest releases?
If the problem still needs to be resolved, we'd need to contact with Tuxedo people. Basically this requires a special i2c driver that does initialization at boot up and PM. But without the hardware details, it can't work.
I have still to use cat /usr/lib/systemd/system-sleep/headphone.sleep #!/bin/bash case "$1/$2" in post/*) /root/bin/init-headphone systemctl restart pulseaudio ;; esac with the script from comment #7 -- You are receiving this mail because: You are on the CC list for the bug.
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com