Bug 204753 - White static noise on headphones on DELL XPS 13 9360
Summary: White static noise on headphones on DELL XPS 13 9360
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Sound(ALSA) (show other bugs)
Hardware: Intel Linux
: P1 normal
Assignee: Jaroslav Kysela
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-02 10:44 UTC by Clemens John
Modified: 2024-02-08 20:19 UTC (History)
3 users (show)

See Also:
Kernel Version: 5.2.11
Subsystem:
Regression: No
Bisected commit-id:


Attachments
Output of alsa-info.sh on Kernel Linux 5.3.5-arch1-1-ARCH (43.46 KB, text/plain)
2019-11-07 07:23 UTC, Clemens John
Details

Description Clemens John 2019-09-02 10:44:29 UTC
When plugging in headphone I get a white static noise and I just want to let you know how to fix this.

I have the following laptop model:

[root@cjohnlap cjohn]# dmidecode | grep -A3 '^System Information'
System Information
        Manufacturer: Dell Inc.
        Product Name: XPS 13 9360
        Version: Not Specified

As mentioned here [1] the wrong driver might be selected during boot. To select the right driver I checked my sound card model:

[root@cjohnlap cjohn]# grep Codec /proc/asound/card*/codec*
/proc/asound/card0/codec#0:Codec: Realtek ALC3246
/proc/asound/card0/codec#2:Codec: Intel Kabylake HDMI

Then I applyed the right model from the list here [2] (ALC3XXX) by adding the following to /etc/modprobe.d/sound.conf:
"options snd-hda-intel model=headset-mic"

My headphone jack has a combined headphone+mic symbol. So I choose the headset-mic. After a reboot the noise is gone. Is there any way you can automate this driver selection for this laptop model? Please let me know if you need any additional data.

[1] https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture/Troubleshooting#Wrong_sound_card_model_type
[2] https://www.mjmwired.net/kernel/Documentation/sound/alsa/HD-Audio-Models.txt
Comment 1 Takashi Iwai 2019-09-03 13:00:40 UTC
Please give alsa-info.sh output.  Run the script with --no-upload and attach the output to Bugzilla.

Also, please check whether it's a regression by the recent kernels.
Comment 2 Clemens John 2019-11-07 07:23:26 UTC
Created attachment 285811 [details]
Output of alsa-info.sh on Kernel Linux 5.3.5-arch1-1-ARCH
Comment 3 Clemens John 2019-11-07 08:54:39 UTC
I testet some older kernels with the following results:

no noise: Linux cjohnlap 5.0.13-arch1-1-ARCH #1 SMP PREEMPT Sun May 5 18:05:41 UTC 2019 x86_64 GNU/Linux
no noise: Linux cjohnlap 5.1.9-arch1-1-ARCH #1 SMP PREEMPT Tue Jun 11 16:18:09 UTC 2019 x86_64 GNU/Linux
has noise: Linux cjohnlap 5.2.0-arch2-1-ARCH #1 SMP PREEMPT Mon Jul 8 18:18:54 UTC 2019 x86_64 GNU/Linux
has noise: Linux cjohnlap 5.2.14-arch2-1-ARCH #1 SMP PREEMPT Thu Sep 12 10:42:38 UTC 2019 x86_64 GNU/Linux
has noise: Linux cjohnlap 5.3.5-arch1-1-ARCH #1 SMP PREEMPT Mon Oct 7 19:03:08 UTC 2019 x86_64 GNU/Linux

So it seems to be an regression from Kernel 5.1.9 to 5.2.
Comment 4 Paul Menzel 2024-02-08 20:19:10 UTC
Clemens, was the regression fixed?

Note You need to log in before you can comment on or make changes to this bug.