Whenever I plug in my headphones on my Dell XPS 9370 I hear a white hissing sound. Apparently, this was common in the XPS 9360 as well and can be fixed by setting the headphone mic volume to 10dB.
$ amixer -c PCH cset 'name=Headphone Mic Boost Volume' 1
This doesn't work on the 9370.
The sound card is a realtek ALC3271. I noticed that Realtek provide a file for Linux called patch_realtek.c. In the Linux linux-4.15.18 kernel (closest version I could see to my kernel) there is no mention of ALC3271.
However, it appears at some point and is present in the latest patch. I'm thinking that I might need to add this patch to my kernel as i am running the 4.15.0-39-generic
kernel. Does this seem like a reasonable thing to try?
How would I go about applying the patch above?
Thanks
[EDIT] ALC3271 does appear in the 4.15 kernel so the question is more or less incorrect.