You are not logged in.

#1 2021-11-24 02:00:59

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 1,970
Website

[pulseaudio?] headphone jack randomly not working

I use pulseaudio on a dell precision m6800.
the same setup with pulseaudio has worked for years: if i plug earbuds in the headphone jack, that's where the sound comes from, if i unplug them, sound comes from the speaker. it worked fine until yesterday
as of booting my computer this morning, sound from speakers was still fine, but no sound when plugging in headphones. retried a couple times, no change. wiggled the pin in the jack a bit, thinking that maybe the actual jack hardware is getting loose and expecting some crackling or maybe sound going on/off as i wiggle it, but nothing. it consistently, didn't work.
all my pulse audio settings looked fine (i could see the built-in audio and it was enabled, VU meters were going with the music, etc)
Then i decided to reboot (i actually wanted to reboot into a live fedora image just to see if sound would work there, but the usb stick didn't work at all, so i booted back into arch), and all of a sudden it worked again...

I tried looking at the logs of this boot and the last couple boots and while the "-b" flag doesn't seem to behave like expected, it does show that there are no logs for the last couple of days.

journalctl -u pulse
-- Journal begins at Thu 2021-11-18 15:06:35 EST, ends at Tue 2021-11-23 20:55:48 EST. --
-- No entries --
~ ❯❯❯ journalctl -b -1 -u pulse
-- Journal begins at Thu 2021-11-18 15:06:35 EST, ends at Tue 2021-11-23 20:56:05 EST. --
-- No entries --
~ ❯❯❯ journalctl -b -2 -u pulse                                                                                                                                                                                 ✘ 1 
-- Journal begins at Thu 2021-11-18 15:06:35 EST, ends at Tue 2021-11-23 20:56:27 EST. --
-- No entries --
~ ❯❯❯ journalctl -b=-2 -u pulse
Failed to parse boot descriptor '=-2'
~ ❯❯❯ journalctl --since="2021-11-20" -u pulse                                                                                                                                                                  ✘ 1 
-- Journal begins at Thu 2021-11-18 15:06:35 EST, ends at Tue 2021-11-23 20:58:05 EST. --
-- No entries --
~ ❯❯❯ 

strange huh?


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#2 2021-11-24 07:39:23

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 14,444

Re: [pulseaudio?] headphone jack randomly not working

Nothing strange so far. The unit is called pulseaudio and since it's an user service you need to use the --user-service argument on journalctl. As pulseaudio didn't get updated yesterday this might've been some jack detection issue in the kernel. Incidentally there were a few ACPI detection issues in earlier 5.15 kernels that got fixed in 5.15.4 so if you updated your systems I'm suspecting not working to be an earlier 5.15 point release and "suddenly" working again to be 5.15.4

Last edited by V1del (2021-11-24 07:39:51)

Offline

#3 2021-11-24 14:14:11

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 1,970
Website

Re: [pulseaudio?] headphone jack randomly not working

Thanks for your reply.  I didn't update my kernel though (i was running 5.15.4 when the issue started and when it auto-resolved).
(see all boots below for nov 23. for completeness i added one boot before and after, as well)

~ ❯❯❯ journalctl -b -7 | grep 'Linux version'
Nov 22 14:08:52 dieter-m6800 kernel: Linux version 5.15.4-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) 2.36.1) #1 SMP PREEMPT Sun, 21 Nov 2021 21:34:33 +0000
~ ❯❯❯ journalctl -b -6 | grep 'Linux version'
Nov 23 08:28:22 dieter-m6800 kernel: Linux version 5.15.4-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) 2.36.1) #1 SMP PREEMPT Sun, 21 Nov 2021 21:34:33 +0000
~ ❯❯❯ journalctl -b -5 | grep 'Linux version'
Nov 23 10:28:23 dieter-m6800 kernel: Linux version 5.15.4-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) 2.36.1) #1 SMP PREEMPT Sun, 21 Nov 2021 21:34:33 +0000
~ ❯❯❯ journalctl -b -4 | grep 'Linux version'
Nov 23 13:52:10 dieter-m6800 kernel: Linux version 5.15.4-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) 2.36.1) #1 SMP PREEMPT Sun, 21 Nov 2021 21:34:33 +0000
~ ❯❯❯ journalctl -b -3 | grep 'Linux version'
Nov 23 19:30:53 dieter-m6800 kernel: Linux version 5.15.4-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) 2.36.1) #1 SMP PREEMPT Sun, 21 Nov 2021 21:34:33 +0000
~ ❯❯❯ journalctl -b -2 | grep 'Linux version'
Nov 23 21:09:19 dieter-m6800 kernel: Linux version 5.15.4-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) 2.36.1) #1 SMP PREEMPT Sun, 21 Nov 2021 21:34:33 +0000
~ ❯❯❯ journalctl -b -1 | grep 'Linux version'
Nov 23 22:21:03 dieter-m6800 kernel: Linux version 5.15.4-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) 2.36.1) #1 SMP PREEMPT Sun, 21 Nov 2021 21:34:33 +0000
~ ❯❯❯ journalctl -b 0 | grep 'Linux version'
Nov 24 08:18:55 dieter-m6800 kernel: Linux version 5.15.4-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) 2.36.1) #1 SMP PREEMPT Sun, 21 Nov 2021 21:34:33 +0000

I did however reinstall pulseaudio (15.0-1) and install pamixer (1.5-2) yesterday.

For completeness...
let me also mention that a few days ago (before the issue started) i cleaned up pacnew files, this resulted in the following change to files/etc/pulse/default.pa:

                                                                                                                                                                                     
@@ -95,17 +95,12 @@ load-module module-gsettings                                                                                                                                                                     
 .fail
 .endif

-                                                                                                                                                                                                                    
 ### Automatically restore the default sink/source when changed by the user
 ### during runtime
 ### NOTE: This should be loaded as early as possible so that subsequent modules
 ### that look up the default sink/source get the right value
 load-module module-default-device-restore

-### Automatically move streams to the default sink if the sink they are                                                                                                                                             
-### connected to dies, similar for sources                                                                                                                                                                          
-load-module module-rescue-streams                                                                                                                                                                                   
-                                                                                                                                                                                                                    
 ### Make sure we always have a sink around, even if it is a null sink.
 load-module module-always-sink

@@ -140,8 +135,8 @@ load-module module-filter-apply                                                                                                                                                                  
 ### Make some devices default
 #set-default-sink output
 #set-default-source input
-#                                                                                                                                                                                                                   
-#                                                                                                                                                                                                                   
-#                                                                                                                                                                                                                   
-load-module module-switch-on-connect                                                                                                                                                                                

+### Allow including a default.pa.d directory, which if present, can be used                                                                                                                                         
+### for additional configuration snippets.                                                                                                                                                                          
+.nofail                                                                                                                                                                                                             
+.include /etc/pulse/default.pa.d   

then it broke, and in an effort to fix it , i undid this exact change, restarted pulseaudio and even rebooted once or twice, but no luck. It didn't fix it.
until i did another reboot (to try to boot a livecd, which failed), at which point it worked again... So i don't think the config change has anything to do with it.

Below is the output of "journalctl --user-unit pulseaudio" with all of yesterdays sessions.  I'm not sure exactly in which boot it started working again, but it must be one of the later ones that says "module-rescue-stream is obsolete" as I had re-introduced that and rebooted a few times until it started working again.

-- Boot 6c4cf05ab07f4041963a37c4aabc853b --
Nov 23 10:28:27 dieter-m6800 systemd[840]: Starting Sound Service...
Nov 23 10:28:28 dieter-m6800 pulseaudio[894]: stat('/etc/pulse/default.pa.d'): No such file or directory
Nov 23 10:28:28 dieter-m6800 systemd[840]: Started Sound Service.
Nov 23 10:28:28 dieter-m6800 pulseaudio[894]: GetManagedObjects() failed: org.freedesktop.systemd1.NoSuchUnit: Unit dbus-org.bluez.service not found.
Nov 23 10:34:29 dieter-m6800 pulseaudio[894]: Invalid non-ASCII character: 0xffffffc3
Nov 23 10:34:29 dieter-m6800 pulseaudio[894]: Invalid non-ASCII character: 0xffffffc3
Nov 23 10:34:29 dieter-m6800 pulseaudio[894]: Invalid non-ASCII character: 0xffffffc3
Nov 23 10:34:29 dieter-m6800 pulseaudio[894]: Invalid non-ASCII character: 0xffffffc3
Nov 23 10:35:40 dieter-m6800 pulseaudio[894]: Invalid non-ASCII character: 0xffffffc3
Nov 23 10:35:59 dieter-m6800 pulseaudio[894]: Invalid non-ASCII character: 0xffffffc3
Nov 23 10:36:01 dieter-m6800 pulseaudio[894]: Invalid non-ASCII character: 0xffffffc3
Nov 23 10:36:19 dieter-m6800 pulseaudio[894]: Invalid non-ASCII character: 0xffffffc3
Nov 23 10:36:20 dieter-m6800 pulseaudio[894]: Invalid non-ASCII character: 0xffffffc3
Nov 23 10:36:23 dieter-m6800 pulseaudio[894]: Invalid non-ASCII character: 0xffffffc3
Nov 23 10:36:24 dieter-m6800 pulseaudio[894]: Invalid non-ASCII character: 0xffffffc3
Nov 23 10:36:25 dieter-m6800 pulseaudio[894]: Invalid non-ASCII character: 0xffffffc3
Nov 23 10:54:20 dieter-m6800 pulseaudio[894]: Invalid non-ASCII character: 0xffffffc3
Nov 23 10:54:48 dieter-m6800 pulseaudio[894]: Invalid non-ASCII character: 0xffffffc3
Nov 23 10:54:50 dieter-m6800 pulseaudio[894]: Invalid non-ASCII character: 0xffffffc3
Nov 23 10:54:51 dieter-m6800 pulseaudio[894]: Invalid non-ASCII character: 0xffffffc3
Nov 23 10:57:24 dieter-m6800 pulseaudio[894]: Invalid non-ASCII character: 0xffffffc3
Nov 23 10:57:25 dieter-m6800 pulseaudio[894]: Invalid non-ASCII character: 0xffffffc3
Nov 23 12:29:49 dieter-m6800 pulseaudio[894]: Invalid non-ASCII character: 0xffffffc3
Nov 23 12:29:50 dieter-m6800 pulseaudio[894]: Invalid non-ASCII character: 0xffffffc3
Nov 23 13:37:27 dieter-m6800 pulseaudio[894]: Invalid non-ASCII character: 0xffffffc3
Nov 23 13:37:35 dieter-m6800 pulseaudio[894]: Invalid non-ASCII character: 0xffffffc3
Nov 23 13:46:25 dieter-m6800 systemd[840]: Stopping Sound Service...
Nov 23 13:46:25 dieter-m6800 systemd[840]: Stopped Sound Service.
Nov 23 13:46:25 dieter-m6800 systemd[840]: pulseaudio.service: Consumed 4min 55.428s CPU time.
Nov 23 13:46:25 dieter-m6800 systemd[840]: Starting Sound Service...
Nov 23 13:46:25 dieter-m6800 pulseaudio[976645]: module-rescue-stream is obsolete and should no longer be loaded. Please remove it from your configuration.
Nov 23 13:46:25 dieter-m6800 systemd[840]: Started Sound Service.
Nov 23 13:46:25 dieter-m6800 pulseaudio[976645]: GetManagedObjects() failed: org.freedesktop.systemd1.NoSuchUnit: Unit dbus-org.bluez.service not found.
Nov 23 13:46:26 dieter-m6800 pulseaudio[976645]: Invalid non-ASCII character: 0xffffffc3
Nov 23 13:46:26 dieter-m6800 pulseaudio[976645]: Invalid non-ASCII character: 0xffffffc3
Nov 23 13:46:26 dieter-m6800 pulseaudio[976645]: Invalid non-ASCII character: 0xffffffc3
Nov 23 13:46:26 dieter-m6800 pulseaudio[976645]: Invalid non-ASCII character: 0xffffffc3
Nov 23 13:46:36 dieter-m6800 pulseaudio[976645]: Invalid non-ASCII character: 0xffffffc3
Nov 23 13:46:50 dieter-m6800 pulseaudio[976645]: Invalid non-ASCII character: 0xffffffc3
Nov 23 13:47:08 dieter-m6800 pulseaudio[976645]: Invalid non-ASCII character: 0xffffffc3
Nov 23 13:47:09 dieter-m6800 pulseaudio[976645]: Invalid non-ASCII character: 0xffffffc3
Nov 23 13:51:33 dieter-m6800 pulseaudio[976645]: Lost I/O connection in module "module-gsettings"
Nov 23 13:51:33 dieter-m6800 systemd[840]: Stopping Sound Service...
Nov 23 13:51:34 dieter-m6800 systemd[840]: Stopped Sound Service.
Nov 23 13:51:34 dieter-m6800 systemd[840]: pulseaudio.service: Consumed 9.187s CPU time.
-- Boot 179148ba568549958acd9744ed7d04f9 --
Nov 23 13:52:14 dieter-m6800 systemd[829]: Starting Sound Service...
Nov 23 13:52:15 dieter-m6800 pulseaudio[888]: module-rescue-stream is obsolete and should no longer be loaded. Please remove it from your configuration.
Nov 23 13:52:15 dieter-m6800 systemd[829]: Started Sound Service.
Nov 23 13:52:15 dieter-m6800 pulseaudio[888]: GetManagedObjects() failed: org.freedesktop.systemd1.NoSuchUnit: Unit dbus-org.bluez.service not found.
Nov 23 13:57:43 dieter-m6800 pulseaudio[888]: Invalid non-ASCII character: 0xffffffc3
Nov 23 13:57:43 dieter-m6800 pulseaudio[888]: Invalid non-ASCII character: 0xffffffc3
Nov 23 13:57:43 dieter-m6800 pulseaudio[888]: Invalid non-ASCII character: 0xffffffc3
Nov 23 13:57:43 dieter-m6800 pulseaudio[888]: Invalid non-ASCII character: 0xffffffc3
Nov 23 13:58:08 dieter-m6800 pulseaudio[888]: Invalid non-ASCII character: 0xffffffc3
Nov 23 13:58:09 dieter-m6800 pulseaudio[888]: Invalid non-ASCII character: 0xffffffc3
Nov 23 13:58:10 dieter-m6800 pulseaudio[888]: Invalid non-ASCII character: 0xffffffc3
Nov 23 14:08:04 dieter-m6800 pulseaudio[888]: Invalid non-ASCII character: 0xffffffc3
Nov 23 14:08:04 dieter-m6800 pulseaudio[888]: Invalid non-ASCII character: 0xffffffc3
Nov 23 14:11:29 dieter-m6800 pulseaudio[888]: Invalid non-ASCII character: 0xffffffc3
Nov 23 14:12:10 dieter-m6800 pulseaudio[888]: Invalid non-ASCII character: 0xffffffc3
Nov 23 14:15:33 dieter-m6800 systemd[829]: Stopping Sound Service...
Nov 23 14:15:33 dieter-m6800 systemd[829]: Stopped Sound Service.
Nov 23 14:15:33 dieter-m6800 systemd[829]: pulseaudio.service: Consumed 36.473s CPU time.
Nov 23 14:15:33 dieter-m6800 systemd[829]: Starting Sound Service...
Nov 23 14:15:33 dieter-m6800 pulseaudio[111583]: module-rescue-stream is obsolete and should no longer be loaded. Please remove it from your configuration.
Nov 23 14:15:33 dieter-m6800 systemd[829]: Started Sound Service.
Nov 23 14:15:33 dieter-m6800 pulseaudio[111583]: GetManagedObjects() failed: org.freedesktop.systemd1.NoSuchUnit: Unit dbus-org.bluez.service not found.
Nov 23 14:15:34 dieter-m6800 pulseaudio[111583]: Invalid non-ASCII character: 0xffffffc3
Nov 23 14:15:34 dieter-m6800 pulseaudio[111583]: Invalid non-ASCII character: 0xffffffc3
Nov 23 14:15:34 dieter-m6800 pulseaudio[111583]: Invalid non-ASCII character: 0xffffffc3
Nov 23 14:15:34 dieter-m6800 pulseaudio[111583]: Invalid non-ASCII character: 0xffffffc3
Nov 23 14:15:37 dieter-m6800 pulseaudio[111583]: Invalid non-ASCII character: 0xffffffc3
Nov 23 14:15:43 dieter-m6800 pulseaudio[111583]: Invalid non-ASCII character: 0xffffffc3
Nov 23 19:28:54 dieter-m6800 systemd[829]: Stopped Sound Service.
Nov 23 19:28:54 dieter-m6800 systemd[829]: pulseaudio.service: Consumed 7min 25.293s CPU time.
-- Boot 8c199a97c9b142fc9c8fda9871b016d1 --
Nov 23 19:30:57 dieter-m6800 systemd[842]: Starting Sound Service...
Nov 23 19:30:58 dieter-m6800 pulseaudio[906]: module-rescue-stream is obsolete and should no longer be loaded. Please remove it from your configuration.
Nov 23 19:30:58 dieter-m6800 systemd[842]: Started Sound Service.
Nov 23 19:30:58 dieter-m6800 pulseaudio[906]: GetManagedObjects() failed: org.freedesktop.systemd1.NoSuchUnit: Unit dbus-org.bluez.service not found.
Nov 23 20:42:50 dieter-m6800 pulseaudio[906]: Invalid non-ASCII character: 0xffffffc3
Nov 23 20:42:50 dieter-m6800 pulseaudio[906]: Invalid non-ASCII character: 0xffffffc3
Nov 23 20:42:50 dieter-m6800 pulseaudio[906]: Invalid non-ASCII character: 0xffffffc3
Nov 23 20:42:50 dieter-m6800 pulseaudio[906]: Invalid non-ASCII character: 0xffffffc3
Nov 23 20:54:11 dieter-m6800 pulseaudio[906]: Invalid non-ASCII character: 0xffffffc3
Nov 23 20:54:11 dieter-m6800 pulseaudio[906]: Invalid non-ASCII character: 0xffffffc3
Nov 23 20:54:11 dieter-m6800 pulseaudio[906]: Invalid non-ASCII character: 0xffffffc3
Nov 23 20:54:11 dieter-m6800 pulseaudio[906]: Invalid non-ASCII character: 0xffffffc3
Nov 23 20:54:17 dieter-m6800 pulseaudio[906]: Invalid non-ASCII character: 0xffffffc3
Nov 23 20:54:18 dieter-m6800 pulseaudio[906]: Invalid non-ASCII character: 0xffffffc3
Nov 23 20:54:19 dieter-m6800 pulseaudio[906]: Invalid non-ASCII character: 0xffffffc3
Nov 23 20:54:21 dieter-m6800 pulseaudio[906]: Invalid non-ASCII character: 0xffffffc3
Nov 23 21:01:42 dieter-m6800 pulseaudio[906]: Error opening PCM device hw:0: No such file or directory
Nov 23 21:01:42 dieter-m6800 pulseaudio[906]: Error opening PCM device front:2: No such file or directory
Nov 23 21:01:42 dieter-m6800 systemd[842]: Stopped Sound Service.
Nov 23 21:01:42 dieter-m6800 systemd[842]: pulseaudio.service: Consumed 1min 18.407s CPU time.
-- Boot fd784752631147fe83175282db6d1393 --
Nov 23 21:09:23 dieter-m6800 systemd[847]: Starting Sound Service...
Nov 23 21:09:24 dieter-m6800 pulseaudio[907]: module-rescue-stream is obsolete and should no longer be loaded. Please remove it from your configuration.
Nov 23 21:09:24 dieter-m6800 systemd[847]: Started Sound Service.
Nov 23 21:09:24 dieter-m6800 pulseaudio[907]: GetManagedObjects() failed: org.freedesktop.systemd1.NoSuchUnit: Unit dbus-org.bluez.service not found.
Nov 23 21:45:37 dieter-m6800 pulseaudio[907]: Lost I/O connection in module "module-gsettings"
Nov 23 21:45:37 dieter-m6800 systemd[847]: Stopping Sound Service...
Nov 23 21:45:38 dieter-m6800 systemd[847]: Stopped Sound Service.
Nov 23 21:45:38 dieter-m6800 systemd[847]: pulseaudio.service: Consumed 30.781s CPU time.
-- Boot 65b302c340a64bbf9910d1aff9b885cf --
Nov 23 22:21:06 dieter-m6800 systemd[833]: Starting Sound Service...
Nov 23 22:21:07 dieter-m6800 pulseaudio[902]: module-rescue-stream is obsolete and should no longer be loaded. Please remove it from your configuration.
Nov 23 22:21:07 dieter-m6800 systemd[833]: Started Sound Service.
Nov 23 22:21:07 dieter-m6800 pulseaudio[902]: GetManagedObjects() failed: org.freedesktop.systemd1.NoSuchUnit: Unit dbus-org.bluez.service not found.
Nov 23 23:29:07 dieter-m6800 pulseaudio[902]: Error opening PCM device front:1: No such file or directory
Nov 23 23:29:07 dieter-m6800 pulseaudio[902]: Error opening PCM device hw:3: No such file or directory
Nov 23 23:29:07 dieter-m6800 pulseaudio[902]: Error opening PCM device front:1: No such file or directory
Nov 23 23:29:07 dieter-m6800 systemd[833]: Stopped Sound Service.
Nov 23 23:29:07 dieter-m6800 systemd[833]: pulseaudio.service: Consumed 1min 2.901s CPU time.

< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

Board footer

Powered by FluxBB