White noise from headphones in Ubuntu 18.04.1 on Dell XPS 13 9370











up vote
0
down vote

favorite












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.










share|improve this question




























    up vote
    0
    down vote

    favorite












    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.










    share|improve this question


























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      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.










      share|improve this question















      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.







      sound dell headphones noise






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 22 at 12:28

























      asked Nov 22 at 10:57









      forgetso

      1012




      1012






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote













          Not sure if that qualifies for a full answer but:
          There's a doc describing the process step by step on example:
          https://www.proware.com.tw/support/software/cdb16patch-lnx/linux-patch.pdf



          in fact, you apply the patch with a patch tool, same as any patchfile is applied. Anyways, not having 9370 here, so wish you luck in the process. I'd wait for official kernel release, though.






          share|improve this answer





















          • Thanks for the link. How would I go about checking the version of patch_realtek.c that is in my kernel 4.15.0-39-generic?
            – forgetso
            Nov 22 at 11:57










          • first update to latest 4.15.X kernel, then try tomoyo.osdn.jp/cgi-bin/lxr/source/sound/pci/hda/…
            – janmyszkier
            Nov 22 at 12:14












          • It appears I've been mistaken anyway. ALC3271 is listed in 4.15 :(. I'll need to find a different way to get rid of the white noise.
            – forgetso
            Nov 22 at 12:26












          • So I updated to 4.19.3-041903-generic using this guide but the white noise remains...
            – forgetso
            Nov 22 at 12:33










          • well, then the chances are few: you didn't apply the patch to the kernel correctly, or your system is not running the patched kernel or that kernel patch wasn't meant to fix YOUR issue (there may be multiple causes of it and patch could only fix one of them). Sorry I can't help more, but without 9370 on hand, it's really hard to debug anything on my end.
            – janmyszkier
            Nov 22 at 12:42











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1095069%2fwhite-noise-from-headphones-in-ubuntu-18-04-1-on-dell-xps-13-9370%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          1
          down vote













          Not sure if that qualifies for a full answer but:
          There's a doc describing the process step by step on example:
          https://www.proware.com.tw/support/software/cdb16patch-lnx/linux-patch.pdf



          in fact, you apply the patch with a patch tool, same as any patchfile is applied. Anyways, not having 9370 here, so wish you luck in the process. I'd wait for official kernel release, though.






          share|improve this answer





















          • Thanks for the link. How would I go about checking the version of patch_realtek.c that is in my kernel 4.15.0-39-generic?
            – forgetso
            Nov 22 at 11:57










          • first update to latest 4.15.X kernel, then try tomoyo.osdn.jp/cgi-bin/lxr/source/sound/pci/hda/…
            – janmyszkier
            Nov 22 at 12:14












          • It appears I've been mistaken anyway. ALC3271 is listed in 4.15 :(. I'll need to find a different way to get rid of the white noise.
            – forgetso
            Nov 22 at 12:26












          • So I updated to 4.19.3-041903-generic using this guide but the white noise remains...
            – forgetso
            Nov 22 at 12:33










          • well, then the chances are few: you didn't apply the patch to the kernel correctly, or your system is not running the patched kernel or that kernel patch wasn't meant to fix YOUR issue (there may be multiple causes of it and patch could only fix one of them). Sorry I can't help more, but without 9370 on hand, it's really hard to debug anything on my end.
            – janmyszkier
            Nov 22 at 12:42















          up vote
          1
          down vote













          Not sure if that qualifies for a full answer but:
          There's a doc describing the process step by step on example:
          https://www.proware.com.tw/support/software/cdb16patch-lnx/linux-patch.pdf



          in fact, you apply the patch with a patch tool, same as any patchfile is applied. Anyways, not having 9370 here, so wish you luck in the process. I'd wait for official kernel release, though.






          share|improve this answer





















          • Thanks for the link. How would I go about checking the version of patch_realtek.c that is in my kernel 4.15.0-39-generic?
            – forgetso
            Nov 22 at 11:57










          • first update to latest 4.15.X kernel, then try tomoyo.osdn.jp/cgi-bin/lxr/source/sound/pci/hda/…
            – janmyszkier
            Nov 22 at 12:14












          • It appears I've been mistaken anyway. ALC3271 is listed in 4.15 :(. I'll need to find a different way to get rid of the white noise.
            – forgetso
            Nov 22 at 12:26












          • So I updated to 4.19.3-041903-generic using this guide but the white noise remains...
            – forgetso
            Nov 22 at 12:33










          • well, then the chances are few: you didn't apply the patch to the kernel correctly, or your system is not running the patched kernel or that kernel patch wasn't meant to fix YOUR issue (there may be multiple causes of it and patch could only fix one of them). Sorry I can't help more, but without 9370 on hand, it's really hard to debug anything on my end.
            – janmyszkier
            Nov 22 at 12:42













          up vote
          1
          down vote










          up vote
          1
          down vote









          Not sure if that qualifies for a full answer but:
          There's a doc describing the process step by step on example:
          https://www.proware.com.tw/support/software/cdb16patch-lnx/linux-patch.pdf



          in fact, you apply the patch with a patch tool, same as any patchfile is applied. Anyways, not having 9370 here, so wish you luck in the process. I'd wait for official kernel release, though.






          share|improve this answer












          Not sure if that qualifies for a full answer but:
          There's a doc describing the process step by step on example:
          https://www.proware.com.tw/support/software/cdb16patch-lnx/linux-patch.pdf



          in fact, you apply the patch with a patch tool, same as any patchfile is applied. Anyways, not having 9370 here, so wish you luck in the process. I'd wait for official kernel release, though.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 22 at 11:22









          janmyszkier

          49327




          49327












          • Thanks for the link. How would I go about checking the version of patch_realtek.c that is in my kernel 4.15.0-39-generic?
            – forgetso
            Nov 22 at 11:57










          • first update to latest 4.15.X kernel, then try tomoyo.osdn.jp/cgi-bin/lxr/source/sound/pci/hda/…
            – janmyszkier
            Nov 22 at 12:14












          • It appears I've been mistaken anyway. ALC3271 is listed in 4.15 :(. I'll need to find a different way to get rid of the white noise.
            – forgetso
            Nov 22 at 12:26












          • So I updated to 4.19.3-041903-generic using this guide but the white noise remains...
            – forgetso
            Nov 22 at 12:33










          • well, then the chances are few: you didn't apply the patch to the kernel correctly, or your system is not running the patched kernel or that kernel patch wasn't meant to fix YOUR issue (there may be multiple causes of it and patch could only fix one of them). Sorry I can't help more, but without 9370 on hand, it's really hard to debug anything on my end.
            – janmyszkier
            Nov 22 at 12:42


















          • Thanks for the link. How would I go about checking the version of patch_realtek.c that is in my kernel 4.15.0-39-generic?
            – forgetso
            Nov 22 at 11:57










          • first update to latest 4.15.X kernel, then try tomoyo.osdn.jp/cgi-bin/lxr/source/sound/pci/hda/…
            – janmyszkier
            Nov 22 at 12:14












          • It appears I've been mistaken anyway. ALC3271 is listed in 4.15 :(. I'll need to find a different way to get rid of the white noise.
            – forgetso
            Nov 22 at 12:26












          • So I updated to 4.19.3-041903-generic using this guide but the white noise remains...
            – forgetso
            Nov 22 at 12:33










          • well, then the chances are few: you didn't apply the patch to the kernel correctly, or your system is not running the patched kernel or that kernel patch wasn't meant to fix YOUR issue (there may be multiple causes of it and patch could only fix one of them). Sorry I can't help more, but without 9370 on hand, it's really hard to debug anything on my end.
            – janmyszkier
            Nov 22 at 12:42
















          Thanks for the link. How would I go about checking the version of patch_realtek.c that is in my kernel 4.15.0-39-generic?
          – forgetso
          Nov 22 at 11:57




          Thanks for the link. How would I go about checking the version of patch_realtek.c that is in my kernel 4.15.0-39-generic?
          – forgetso
          Nov 22 at 11:57












          first update to latest 4.15.X kernel, then try tomoyo.osdn.jp/cgi-bin/lxr/source/sound/pci/hda/…
          – janmyszkier
          Nov 22 at 12:14






          first update to latest 4.15.X kernel, then try tomoyo.osdn.jp/cgi-bin/lxr/source/sound/pci/hda/…
          – janmyszkier
          Nov 22 at 12:14














          It appears I've been mistaken anyway. ALC3271 is listed in 4.15 :(. I'll need to find a different way to get rid of the white noise.
          – forgetso
          Nov 22 at 12:26






          It appears I've been mistaken anyway. ALC3271 is listed in 4.15 :(. I'll need to find a different way to get rid of the white noise.
          – forgetso
          Nov 22 at 12:26














          So I updated to 4.19.3-041903-generic using this guide but the white noise remains...
          – forgetso
          Nov 22 at 12:33




          So I updated to 4.19.3-041903-generic using this guide but the white noise remains...
          – forgetso
          Nov 22 at 12:33












          well, then the chances are few: you didn't apply the patch to the kernel correctly, or your system is not running the patched kernel or that kernel patch wasn't meant to fix YOUR issue (there may be multiple causes of it and patch could only fix one of them). Sorry I can't help more, but without 9370 on hand, it's really hard to debug anything on my end.
          – janmyszkier
          Nov 22 at 12:42




          well, then the chances are few: you didn't apply the patch to the kernel correctly, or your system is not running the patched kernel or that kernel patch wasn't meant to fix YOUR issue (there may be multiple causes of it and patch could only fix one of them). Sorry I can't help more, but without 9370 on hand, it's really hard to debug anything on my end.
          – janmyszkier
          Nov 22 at 12:42


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1095069%2fwhite-noise-from-headphones-in-ubuntu-18-04-1-on-dell-xps-13-9370%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Mont Emei

          Province de Neuquén

          Journaliste