My wired earphones are giving me static noise, I am writing this after I tried everything on this site and nothing worked. This involves:
- Using the famous
pulseaudio -k
option ( it just transfers the sound to my PC speakers, and there is no static there, as soon I connect the earphones it starts again ). - Using
echo "0" | sudo tee /sys/module/snd_hda_intel/parameters/power_save
, nothing changed. - Using alsamixer, here the default volume of headphones section is full, whenever I change the master volume using the "f2" and "f3" keys the headphones section always goes very high directly as well as the PCM section, so this tool does not change anything.
So as the end option I just opened the pulseaudio logs, I used Does pulseaudio have an error log? stackoverflow post to help debug pulseaudio.
When I give the pulseaudio --verbose
command, this is the output:
https://pastebin.com/XMPqCTX2 (Using this pastebin because my total post will exceed the characters limit)
When I connect the earphones these extra logs appear:
I: [pulseaudio] module-device-restore.c: Storing volume/mute for device+port sink:alsa_output.pci-0000_00_1f.3.analog-stereo:analog-output-speaker.
I: [pulseaudio] module-device-restore.c: Storing volume/mute for device+port sink:alsa_output.pci-0000_00_1f.3.analog-stereo:analog-output-speaker.
I: [pulseaudio] module-device-restore.c: Storing volume/mute for device+port sink:alsa_output.pci-0000_00_1f.3.analog-stereo:analog-output-speaker.
I: [pulseaudio] module-device-restore.c: Synced.
I: [pulseaudio] module-device-restore.c: Storing volume/mute for device+port sink:alsa_output.pci-0000_00_1f.3.analog-stereo:analog-output-speaker.
I: [pulseaudio] module-device-restore.c: Storing volume/mute for device+port source:alsa_input.pci-0000_00_1f.3.analog-stereo:analog-input-internal-mic.
I: [pulseaudio] alsa-sink.c: Successfully enabled deferred volume.
I: [pulseaudio] alsa-sink.c: Hardware volume ranges from -181.50 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.
I: [pulseaudio] sink.c: Changed port of sink 0 "alsa_output.pci-0000_00_1f.3.analog-stereo" to analog-output-headphones
I: [pulseaudio] alsa-source.c: Successfully enabled deferred volume.
I: [pulseaudio] alsa-source.c: Hardware volume ranges from -17.25 dB to 60.00 dB.
I: [pulseaudio] alsa-source.c: Fixing base volume to -60.00 dB
I: [pulseaudio] alsa-source.c: Using hardware volume control. Hardware dB scale supported.
I: [pulseaudio] alsa-source.c: Using hardware mute control.
I: [pulseaudio] source.c: Changed port of source 1 "alsa_input.pci-0000_00_1f.3.analog-stereo" to analog-input-headphone-mic
I: [pulseaudio] alsa-source.c: Successfully enabled deferred volume.
I: [pulseaudio] alsa-source.c: Hardware volume ranges from -17.25 dB to 60.00 dB.
I: [pulseaudio] alsa-source.c: Fixing base volume to -60.00 dB
I: [pulseaudio] alsa-source.c: Using hardware volume control. Hardware dB scale supported.
I: [pulseaudio] alsa-source.c: Using hardware mute control.
I: [pulseaudio] source.c: Changed port of source 1 "alsa_input.pci-0000_00_1f.3.analog-stereo" to analog-input-headset-mic
I: [pulseaudio] module-device-restore.c: Storing volume/mute for device+port sink:alsa_output.pci-0000_00_1f.3.analog-stereo:analog-output-headphones.
I: [pulseaudio] module-device-restore.c: Storing volume/mute for device+port source:alsa_input.pci-0000_00_1f.3.analog-stereo:analog-input-headset-mic.
I: [pulseaudio] module-device-restore.c: Storing volume/mute for device+port source:alsa_input.pci-0000_00_1f.3.analog-stereo:analog-input-headset-mic.
I: [pulseaudio] module-device-restore.c: Storing volume/mute for device+port sink:alsa_output.pci-0000_00_1f.3.analog-stereo:analog-output-headphones.
I: [pulseaudio] module-device-restore.c: Storing volume/mute for device+port sink:alsa_output.pci-0000_00_1f.3.analog-stereo:analog-output-headphones.
I: [pulseaudio] module-device-restore.c: Storing volume/mute for device+port sink:alsa_output.pci-0000_00_1f.3.analog-stereo:analog-output-headphones.
I: [pulseaudio] module-device-restore.c: Storing volume/mute for device+port sink:alsa_output.pci-0000_00_1f.3.analog-stereo:analog-output-headphones.
I: [pulseaudio] module-device-restore.c: Storing volume/mute for device+port sink:alsa_output.pci-0000_00_1f.3.analog-stereo:analog-output-headphones.
I: [pulseaudio] module-device-restore.c: Storing volume/mute for device+port sink:alsa_output.pci-0000_00_1f.3.analog-stereo:analog-output-headphones.
I: [pulseaudio] module-device-restore.c: Storing volume/mute for device+port sink:alsa_output.pci-0000_00_1f.3.analog-stereo:analog-output-headphones.
I: [pulseaudio] module-device-restore.c: Storing volume/mute for device+port sink:alsa_output.pci-0000_00_1f.3.analog-stereo:analog-output-headphones.
I: [pulseaudio] module-device-restore.c: Storing volume/mute for device+port sink:alsa_output.pci-0000_00_1f.3.analog-stereo:analog-output-headphones.
I: [pulseaudio] module-device-restore.c: Storing volume/mute for device+port sink:alsa_output.pci-0000_00_1f.3.analog-stereo:analog-output-headphones.
I: [pulseaudio] module-device-restore.c: Storing volume/mute for device+port sink:alsa_output.pci-0000_00_1f.3.analog-stereo:analog-output-headphones.
I: [pulseaudio] module-device-restore.c: Storing volume/mute for device+port sink:alsa_output.pci-0000_00_1f.3.analog-stereo:analog-output-headphones.
I: [pulseaudio] module-device-restore.c: Storing volume/mute for device+port sink:alsa_output.pci-0000_00_1f.3.analog-stereo:analog-output-headphones.
I: [pulseaudio] module-device-restore.c: Storing volume/mute for device+port sink:alsa_output.pci-0000_00_1f.3.analog-stereo:analog-output-headphones.
I: [pulseaudio] module-device-restore.c: Storing volume/mute for device+port sink:alsa_output.pci-0000_00_1f.3.analog-stereo:analog-output-headphones.
I: [pulseaudio] module-device-restore.c: Storing volume/mute for device+port sink:alsa_output.pci-0000_00_1f.3.analog-stereo:analog-output-headphones.
I: [pulseaudio] module-device-restore.c: Synced.
I: [pulseaudio] sink-input.c: Freeing input 0 "Valorant: *NEW* Butterfly Knife is SO AMAZING! - Recon Skin Bundle! - YouTube"
I: [pulseaudio] sink-input.c: Trying to change sample spec
I: [pulseaudio] module-stream-restore.c: Restoring volume for sink input sink-input-by-application-name:Firefox.
I: [alsa-sink-ALC3246 Analog] alsa-sink.c: Trying resume...
I: [alsa-sink-ALC3246 Analog] alsa-sink.c: Resumed successfully...
I: [alsa-sink-ALC3246 Analog] alsa-sink.c: Starting playback.
I: [pulseaudio] resampler.c: Forcing resampler 'copy', because of fixed, identical sample rates.
I: [pulseaudio] sink-input.c: Created input 1 "AudioStream" on alsa_output.pci-0000_00_1f.3.analog-stereo with sample spec float32le 2ch 48000Hz and channel map front-left,front-right
I: [pulseaudio] sink-input.c: media.name = "AudioStream"
I: [pulseaudio] sink-input.c: application.name = "Firefox"
I: [pulseaudio] sink-input.c: native-protocol.peer = "UNIX socket client"
I: [pulseaudio] sink-input.c: native-protocol.version = "33"
I: [pulseaudio] sink-input.c: application.process.id = "4565"
I: [pulseaudio] sink-input.c: application.process.user = "aaryan"
I: [pulseaudio] sink-input.c: application.process.host = "aaryan-Inspiron-5577"
I: [pulseaudio] sink-input.c: application.process.binary = "firefox"
I: [pulseaudio] sink-input.c: application.language = "en_IN"
I: [pulseaudio] sink-input.c: window.x11.display = ":1"
I: [pulseaudio] sink-input.c: application.process.machine_id = "45ccba0212de46e1ae093c22cc4dfe12"
I: [pulseaudio] sink-input.c: application.icon_name = "firefox"
I: [pulseaudio] sink-input.c: module-stream-restore.id = "sink-input-by-application-name:Firefox"
I: [pulseaudio] protocol-native.c: Requested tlength=200.00 ms, minreq=25.00 ms
I: [pulseaudio] protocol-native.c: Final latency 249.91 ms = 99.96 ms + 2*25.00 ms + 99.95 ms
I: [pulseaudio] module-suspend-on-idle.c: Sink alsa_output.pci-0000_00_1f.3.analog-stereo idle for too long, suspending ...
I: [alsa-sink-ALC3246 Analog] alsa-sink.c: Device suspended...
I: [pulseaudio] core.c: All sinks and sources are suspended, vacuuming memory
When connected the noise stops but as soon as I play anything the static noise start in the background with the video sound also.
You can see in the last logs the line Freeing input 0 "Valorant: *NEW* Butterfly Knife is SO AMAZING! - Recon Skin Bundle! - YouTube"
as that video is the one I am using for testing.
When I stop the video, these extra lines appear after a few seconds
I: [pulseaudio] module-suspend-on-idle.c: Sink alsa_output.pci-0000_00_1f.3.analog-stereo idle for too long, suspending ...
I: [alsa-sink-ALC3246 Analog] alsa-sink.c: Device suspended...
I: [pulseaudio] core.c: All sinks and sources are suspended, vacuuming memory
and then the static stops.
I am at a loss here on how to fix this, any pointers will be helpful thanks!
0 Answers