You are not logged in.

#1 2020-10-17 20:43:20

realh
Member
Registered: 2016-12-02
Posts: 13

Misdetection of front headphone jack connection

Not sure if this belongs here or in kernel & hardware. Since I did a pacman -Syu yesterday I've been plagued by a problem with the audio. It works, but at random intervals the system seems to think I've plugged headphones into the front jack, then instantly unplugged them again. This causes GNOME to flash a dialog very briefly, but it's so quick I actually had to record my desktop with OBS Studio for a while and step through individual frames so I could see what it was. Below is what appears with pulseaudio -vv when it happens. I can increase the logging level if necessary. Is there a way to add timestamps? In the meantime, how can I stop the annoying popups until I find a proper fix?

D: [pulseaudio] module-alsa-card.c: Jack 'Front Headphone Jack' is now plugged in
D: [pulseaudio] device-port.c: Setting port analog-output-headphones to status yes
D: [pulseaudio] module-switch-on-port-available.c: Trying to switch to port analog-output-headphones
I: [pulseaudio] alsa-sink.c: Successfully enabled deferred volume.
I: [pulseaudio] alsa-sink.c: Hardware volume ranges from -179.00 dB to 0.00 dB.
I: [pulseaudio] alsa-sink.c: Fixing base volume to 0.00 dB
I: [pulseaudio] alsa-sink.c: Using hardware volume control. Hardware dB scale supported.
I: [pulseaudio] alsa-sink.c: Using hardware mute control.
D: [alsa-sink-ALC887-VD Analog] alsa-mixer.c: Activating path analog-output-headphones
D: [alsa-sink-ALC887-VD Analog] alsa-mixer.c: Path analog-output-headphones (Headphones), direction=1, priority=99, probed=yes, supported=yes, has_mute=yes, has_volume=yes, has_dB=yes, min_volume=0, max_volume=64, min_dB=-179, max_dB=0
D: [alsa-sink-ALC887-VD Analog] alsa-mixer.c: Element 'Master', direction=1, switch=1, volume=1, volume_limit=-1, enumeration=0, required=0, required_any=0, required_absent=0, mask=0x7ffffffffffff, n_channels=1, override_map=yes
D: [alsa-sink-ALC887-VD Analog] alsa-mixer.c: Element 'Headphone', direction=1, switch=1, volume=1, volume_limit=-1, enumeration=0, required=0, required_any=4, required_absent=0, mask=0x3600000000f66, n_channels=2, override_map=yes
D: [alsa-sink-ALC887-VD Analog] alsa-mixer.c: Element 'Front', direction=1, switch=1, volume=3, volume_limit=-1, enumeration=0, required=0, required_any=0, required_absent=0, mask=0x6, n_channels=2, override_map=no
D: [alsa-sink-ALC887-VD Analog] alsa-mixer.c: Element 'Surround', direction=1, switch=2, volume=2, volume_limit=-1, enumeration=0, required=0, required_any=0, required_absent=0, mask=0x6, n_channels=2, override_map=no
D: [alsa-sink-ALC887-VD Analog] alsa-mixer.c: Element 'Center', direction=1, switch=2, volume=2, volume_limit=-1, enumeration=0, required=0, required_any=0, required_absent=0, mask=0x7ffffffffffff, n_channels=1, override_map=no
D: [alsa-sink-ALC887-VD Analog] alsa-mixer.c: Element 'LFE', direction=1, switch=2, volume=2, volume_limit=-1, enumeration=0, required=0, required_any=0, required_absent=0, mask=0x7ffffffffffff, n_channels=1, override_map=no
D: [alsa-sink-ALC887-VD Analog] alsa-mixer.c: Element 'PCM', direction=1, switch=0, volume=1, volume_limit=-1, enumeration=0, required=0, required_any=0, required_absent=0, mask=0x3600000000f66, n_channels=2, override_map=yes
D: [alsa-sink-ALC887-VD Analog] alsa-mixer.c: Element 'IEC958', direction=1, switch=2, volume=0, volume_limit=-1, enumeration=0, required=0, required_any=0, required_absent=0, mask=0x0, n_channels=0, override_map=no
D: [alsa-sink-ALC887-VD Analog] alsa-mixer.c: Jack Dock Headphone, alsa_name='Dock Headphone Jack', detection unavailable
D: [alsa-sink-ALC887-VD Analog] alsa-mixer.c: Jack Dock Headphone Phantom, alsa_name='Dock Headphone Phantom Jack', detection unavailable
D: [alsa-sink-ALC887-VD Analog] alsa-mixer.c: Jack Front Headphone, alsa_name='Front Headphone Jack', detection possible
D: [alsa-sink-ALC887-VD Analog] alsa-mixer.c: Jack Front Headphone Phantom, alsa_name='Front Headphone Phantom Jack', detection unavailable
D: [alsa-sink-ALC887-VD Analog] alsa-mixer.c: Jack Headphone, alsa_name='Headphone Jack', detection unavailable
D: [alsa-sink-ALC887-VD Analog] alsa-mixer.c: Jack Headphone Phantom, alsa_name='Headphone Phantom Jack', detection unavailable
D: [alsa-sink-ALC887-VD Analog] alsa-mixer.c: Jack Headphone Mic, alsa_name='Headphone Mic Jack', detection unavailable
D: [alsa-sink-ALC887-VD Analog] alsa-mixer.c: Jack Headphone - Output, alsa_name='Headphone - Output Jack', detection unavailable
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
I: [pulseaudio] sink.c: Changed port of sink 2 "alsa_output.pci-0000_0b_00.4.analog-stereo" to analog-output-headphones
I: [pulseaudio] module-device-restore.c: Restoring volume for sink alsa_output.pci-0000_0b_00.4.analog-stereo.
D: [alsa-sink-ALC887-VD Analog] alsa-sink.c: Requested volume: front-left: 56210 /  86% / -4.00 dB,   front-right: 56210 /  86% / -4.00 dB
D: [alsa-sink-ALC887-VD Analog] alsa-sink.c: Got hardware volume: front-left: 56210 /  86% / -4.00 dB,   front-right: 56210 /  86% / -4.00 dB
D: [alsa-sink-ALC887-VD Analog] alsa-sink.c: Calculated software volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB (accurate-enough=yes)
D: [alsa-sink-ALC887-VD Analog] sink.c: Volume not changing
I: [pulseaudio] module-device-restore.c: Restoring mute state for sink alsa_output.pci-0000_0b_00.4.analog-stereo.
D: [pulseaudio] module-alsa-card.c: Jack 'Front Headphone Jack' is now unplugged
D: [pulseaudio] device-port.c: Setting port analog-output-headphones to status no
D: [pulseaudio] module-switch-on-port-available.c: Trying to switch away from port analog-output-headphones, found analog-output-lineout
D: [pulseaudio] module-switch-on-port-available.c: Trying to switch to port analog-output-lineout
I: [pulseaudio] alsa-sink.c: Successfully enabled deferred volume.
I: [pulseaudio] alsa-sink.c: Hardware volume ranges from -179.00 dB to 0.00 dB.
I: [pulseaudio] alsa-sink.c: Fixing base volume to 0.00 dB
I: [pulseaudio] alsa-sink.c: Using hardware volume control. Hardware dB scale supported.
I: [pulseaudio] alsa-sink.c: Using hardware mute control.
D: [alsa-sink-ALC887-VD Analog] alsa-mixer.c: Activating path analog-output-lineout
D: [alsa-sink-ALC887-VD Analog] alsa-mixer.c: Path analog-output-lineout (Line Out), direction=1, priority=90, probed=yes, supported=yes, has_mute=yes, has_volume=yes, has_dB=yes, min_volume=0, max_volume=64, min_dB=-179, max_dB=0
D: [alsa-sink-ALC887-VD Analog] alsa-mixer.c: Element 'Master', direction=1, switch=1, volume=1, volume_limit=-1, enumeration=0, required=0, required_any=0, required_absent=0, mask=0x7ffffffffffff, n_channels=1, override_map=yes
D: [alsa-sink-ALC887-VD Analog] alsa-mixer.c: Element 'Headphone', direction=1, switch=2, volume=2, volume_limit=-1, enumeration=0, required=0, required_any=0, required_absent=0, mask=0x6, n_channels=2, override_map=no
D: [alsa-sink-ALC887-VD Analog] alsa-mixer.c: Element 'Front', direction=1, switch=1, volume=1, volume_limit=-1, enumeration=0, required=0, required_any=0, required_absent=0, mask=0x6, n_channels=2, override_map=yes
D: [alsa-sink-ALC887-VD Analog] alsa-mixer.c: Element 'Surround', direction=1, switch=1, volume=1, volume_limit=-1, enumeration=0, required=0, required_any=0, required_absent=0, mask=0x60, n_channels=2, override_map=yes
D: [alsa-sink-ALC887-VD Analog] alsa-mixer.c: Element 'Center', direction=1, switch=1, volume=1, volume_limit=-1, enumeration=0, required=0, required_any=0, required_absent=0, mask=0x4900000000018, n_channels=1, override_map=yes
D: [alsa-sink-ALC887-VD Analog] alsa-mixer.c: Element 'LFE', direction=1, switch=1, volume=1, volume_limit=-1, enumeration=0, required=0, required_any=0, required_absent=0, mask=0x80, n_channels=1, override_map=yes
D: [alsa-sink-ALC887-VD Analog] alsa-mixer.c: Element 'PCM', direction=1, switch=0, volume=1, volume_limit=-1, enumeration=0, required=0, required_any=0, required_absent=0, mask=0x3600000000f66, n_channels=2, override_map=yes
D: [alsa-sink-ALC887-VD Analog] alsa-mixer.c: Element 'IEC958', direction=1, switch=2, volume=0, volume_limit=-1, enumeration=0, required=0, required_any=0, required_absent=0, mask=0x0, n_channels=0, override_map=no
D: [alsa-sink-ALC887-VD Analog] alsa-mixer.c: Jack Line Out, alsa_name='Line Out Jack', detection possible
D: [alsa-sink-ALC887-VD Analog] alsa-mixer.c: Jack Line Out Phantom, alsa_name='Line Out Phantom Jack', detection unavailable
D: [alsa-sink-ALC887-VD Analog] alsa-mixer.c: Jack Front Line Out, alsa_name='Front Line Out Jack', detection unavailable
D: [alsa-sink-ALC887-VD Analog] alsa-mixer.c: Jack Front Line Out Phantom, alsa_name='Front Line Out Phantom Jack', detection unavailable
D: [alsa-sink-ALC887-VD Analog] alsa-mixer.c: Jack Rear Line Out, alsa_name='Rear Line Out Jack', detection unavailable
D: [alsa-sink-ALC887-VD Analog] alsa-mixer.c: Jack Rear Line Out Phantom, alsa_name='Rear Line Out Phantom Jack', detection unavailable
D: [alsa-sink-ALC887-VD Analog] alsa-mixer.c: Jack Line Out Front, alsa_name='Line Out Front Jack', detection unavailable
D: [alsa-sink-ALC887-VD Analog] alsa-mixer.c: Jack Line Out Front Phantom, alsa_name='Line Out Front Phantom Jack', detection unavailable
D: [alsa-sink-ALC887-VD Analog] alsa-mixer.c: Jack Line Out CLFE, alsa_name='Line Out CLFE Jack', detection unavailable
D: [alsa-sink-ALC887-VD Analog] alsa-mixer.c: Jack Line Out CLFE Phantom, alsa_name='Line Out CLFE Phantom Jack', detection unavailable
D: [alsa-sink-ALC887-VD Analog] alsa-mixer.c: Jack Line Out Surround, alsa_name='Line Out Surround Jack', detection unavailable
D: [alsa-sink-ALC887-VD Analog] alsa-mixer.c: Jack Line Out Surround Phantom, alsa_name='Line Out Surround Phantom Jack', detection unavailable
D: [alsa-sink-ALC887-VD Analog] alsa-mixer.c: Jack Line Out Side, alsa_name='Line Out Side Jack', detection unavailable
D: [alsa-sink-ALC887-VD Analog] alsa-mixer.c: Jack Line Out Side Phantom, alsa_name='Line Out Side Phantom Jack', detection unavailable
D: [alsa-sink-ALC887-VD Analog] alsa-mixer.c: Jack Dock Line Out, alsa_name='Dock Line Out Jack', detection unavailable
D: [alsa-sink-ALC887-VD Analog] alsa-mixer.c: Jack Dock Line Out Phantom, alsa_name='Dock Line Out Phantom Jack', detection unavailable
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
I: [pulseaudio] sink.c: Changed port of sink 2 "alsa_output.pci-0000_0b_00.4.analog-stereo" to analog-output-lineout
I: [pulseaudio] module-device-restore.c: Restoring volume for sink alsa_output.pci-0000_0b_00.4.analog-stereo.
D: [alsa-sink-ALC887-VD Analog] alsa-sink.c: Requested volume: front-left: 56210 /  86% / -4.00 dB,   front-right: 56210 /  86% / -4.00 dB
D: [alsa-sink-ALC887-VD Analog] alsa-sink.c: Got hardware volume: front-left: 56210 /  86% / -4.00 dB,   front-right: 56210 /  86% / -4.00 dB
D: [alsa-sink-ALC887-VD Analog] alsa-sink.c: Calculated software volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB (accurate-enough=yes)
D: [alsa-sink-ALC887-VD Analog] sink.c: Volume not changing
I: [pulseaudio] module-device-restore.c: Restoring mute state for sink alsa_output.pci-0000_0b_00.4.analog-stereo.

Offline

Board footer

Powered by FluxBB