18.04 Realtek ACL898 jack detection











up vote
0
down vote

favorite












I am trying to get my headphones working with Kubuntu 18.04 on my laptop with a Realtek ACL898.



Hardware



I have three 3.5 mm jacks on my laptop, Line Out, Mic, and Headphones, in that order. The headphone jack also includes a SPDIF output, judging by the red light it emits. All these are driven by the Realtek chip.



Issue



Audio plays through speakers just fine. If I plug in my headphones to the headphone jack, it has no effect. If I plug them into line out, they are detected as a line out device, Alsa cuts the internal speakers, and they work. This is a workable situation, though not ideal.



Testing



Running hdajacksenestest with everything plugged into the "proper" jack gives:



> sudo hdajacksensetest
Pin 0x17 (Black Line Out, Rear side): present = No
Pin 0x18 (Black Mic, Rear side): present = Yes


So my headphone jack appears to be entirely unconfigured. In an effort to find out which pin is detecting my headphones, if any, I ran hdajacksensetest -a (for the sake of brevity I have removed any lines that were (Not connected): present = No:



> sudo hdajacksensetest -a
Pin 0x12 (Internal Mic): present = No
Pin 0x14 (Internal Speaker): present = No
Pin 0x17 (Black Line Out, Rear side): present = No
Pin 0x18 (Black Mic, Rear side): present = Yes
Pin 0x1b (Not connected): present = Yes
Pin 0x1e (Black SPDIF Out, Rear side): present = No


So it would seem that my headphone jack is 0x1b, at least by sensing, even though logically we might hazard a guess at it being 0x19.



Attempted Fix



I used hdajackretask to reconfigure my jacks, setting either 0x1b or 0x19 to Jack connection, with jack detection both enabled and disabled, and with each pin as either Headphone or Speaker. After every change I went into alsamixer to make sure nothing was muted. No configuration gave me audio through my headphones, though some did cause jack detection to auto mute my speakers.



Final Note



Does anyone have any idea what might be causing this and/or how to fix it?



I can certainly operate using the line out port instead as described above. I have posted this because I believe this to be a fairly common issue, and am interested in knowing what is happening, and helping others figure the issue out without spending as long as I have trying to figure it out.



Thanks in advance for your feedback.










share|improve this question


























    up vote
    0
    down vote

    favorite












    I am trying to get my headphones working with Kubuntu 18.04 on my laptop with a Realtek ACL898.



    Hardware



    I have three 3.5 mm jacks on my laptop, Line Out, Mic, and Headphones, in that order. The headphone jack also includes a SPDIF output, judging by the red light it emits. All these are driven by the Realtek chip.



    Issue



    Audio plays through speakers just fine. If I plug in my headphones to the headphone jack, it has no effect. If I plug them into line out, they are detected as a line out device, Alsa cuts the internal speakers, and they work. This is a workable situation, though not ideal.



    Testing



    Running hdajacksenestest with everything plugged into the "proper" jack gives:



    > sudo hdajacksensetest
    Pin 0x17 (Black Line Out, Rear side): present = No
    Pin 0x18 (Black Mic, Rear side): present = Yes


    So my headphone jack appears to be entirely unconfigured. In an effort to find out which pin is detecting my headphones, if any, I ran hdajacksensetest -a (for the sake of brevity I have removed any lines that were (Not connected): present = No:



    > sudo hdajacksensetest -a
    Pin 0x12 (Internal Mic): present = No
    Pin 0x14 (Internal Speaker): present = No
    Pin 0x17 (Black Line Out, Rear side): present = No
    Pin 0x18 (Black Mic, Rear side): present = Yes
    Pin 0x1b (Not connected): present = Yes
    Pin 0x1e (Black SPDIF Out, Rear side): present = No


    So it would seem that my headphone jack is 0x1b, at least by sensing, even though logically we might hazard a guess at it being 0x19.



    Attempted Fix



    I used hdajackretask to reconfigure my jacks, setting either 0x1b or 0x19 to Jack connection, with jack detection both enabled and disabled, and with each pin as either Headphone or Speaker. After every change I went into alsamixer to make sure nothing was muted. No configuration gave me audio through my headphones, though some did cause jack detection to auto mute my speakers.



    Final Note



    Does anyone have any idea what might be causing this and/or how to fix it?



    I can certainly operate using the line out port instead as described above. I have posted this because I believe this to be a fairly common issue, and am interested in knowing what is happening, and helping others figure the issue out without spending as long as I have trying to figure it out.



    Thanks in advance for your feedback.










    share|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I am trying to get my headphones working with Kubuntu 18.04 on my laptop with a Realtek ACL898.



      Hardware



      I have three 3.5 mm jacks on my laptop, Line Out, Mic, and Headphones, in that order. The headphone jack also includes a SPDIF output, judging by the red light it emits. All these are driven by the Realtek chip.



      Issue



      Audio plays through speakers just fine. If I plug in my headphones to the headphone jack, it has no effect. If I plug them into line out, they are detected as a line out device, Alsa cuts the internal speakers, and they work. This is a workable situation, though not ideal.



      Testing



      Running hdajacksenestest with everything plugged into the "proper" jack gives:



      > sudo hdajacksensetest
      Pin 0x17 (Black Line Out, Rear side): present = No
      Pin 0x18 (Black Mic, Rear side): present = Yes


      So my headphone jack appears to be entirely unconfigured. In an effort to find out which pin is detecting my headphones, if any, I ran hdajacksensetest -a (for the sake of brevity I have removed any lines that were (Not connected): present = No:



      > sudo hdajacksensetest -a
      Pin 0x12 (Internal Mic): present = No
      Pin 0x14 (Internal Speaker): present = No
      Pin 0x17 (Black Line Out, Rear side): present = No
      Pin 0x18 (Black Mic, Rear side): present = Yes
      Pin 0x1b (Not connected): present = Yes
      Pin 0x1e (Black SPDIF Out, Rear side): present = No


      So it would seem that my headphone jack is 0x1b, at least by sensing, even though logically we might hazard a guess at it being 0x19.



      Attempted Fix



      I used hdajackretask to reconfigure my jacks, setting either 0x1b or 0x19 to Jack connection, with jack detection both enabled and disabled, and with each pin as either Headphone or Speaker. After every change I went into alsamixer to make sure nothing was muted. No configuration gave me audio through my headphones, though some did cause jack detection to auto mute my speakers.



      Final Note



      Does anyone have any idea what might be causing this and/or how to fix it?



      I can certainly operate using the line out port instead as described above. I have posted this because I believe this to be a fairly common issue, and am interested in knowing what is happening, and helping others figure the issue out without spending as long as I have trying to figure it out.



      Thanks in advance for your feedback.










      share|improve this question













      I am trying to get my headphones working with Kubuntu 18.04 on my laptop with a Realtek ACL898.



      Hardware



      I have three 3.5 mm jacks on my laptop, Line Out, Mic, and Headphones, in that order. The headphone jack also includes a SPDIF output, judging by the red light it emits. All these are driven by the Realtek chip.



      Issue



      Audio plays through speakers just fine. If I plug in my headphones to the headphone jack, it has no effect. If I plug them into line out, they are detected as a line out device, Alsa cuts the internal speakers, and they work. This is a workable situation, though not ideal.



      Testing



      Running hdajacksenestest with everything plugged into the "proper" jack gives:



      > sudo hdajacksensetest
      Pin 0x17 (Black Line Out, Rear side): present = No
      Pin 0x18 (Black Mic, Rear side): present = Yes


      So my headphone jack appears to be entirely unconfigured. In an effort to find out which pin is detecting my headphones, if any, I ran hdajacksensetest -a (for the sake of brevity I have removed any lines that were (Not connected): present = No:



      > sudo hdajacksensetest -a
      Pin 0x12 (Internal Mic): present = No
      Pin 0x14 (Internal Speaker): present = No
      Pin 0x17 (Black Line Out, Rear side): present = No
      Pin 0x18 (Black Mic, Rear side): present = Yes
      Pin 0x1b (Not connected): present = Yes
      Pin 0x1e (Black SPDIF Out, Rear side): present = No


      So it would seem that my headphone jack is 0x1b, at least by sensing, even though logically we might hazard a guess at it being 0x19.



      Attempted Fix



      I used hdajackretask to reconfigure my jacks, setting either 0x1b or 0x19 to Jack connection, with jack detection both enabled and disabled, and with each pin as either Headphone or Speaker. After every change I went into alsamixer to make sure nothing was muted. No configuration gave me audio through my headphones, though some did cause jack detection to auto mute my speakers.



      Final Note



      Does anyone have any idea what might be causing this and/or how to fix it?



      I can certainly operate using the line out port instead as described above. I have posted this because I believe this to be a fairly common issue, and am interested in knowing what is happening, and helping others figure the issue out without spending as long as I have trying to figure it out.



      Thanks in advance for your feedback.







      18.04 pulseaudio alsa headphones realtek






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Dec 2 at 0:07









      Gozz

      11




      11



























          active

          oldest

          votes











          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%2f1097782%2f18-04-realtek-acl898-jack-detection%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          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%2f1097782%2f18-04-realtek-acl898-jack-detection%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

          Quarter-circle Tiles

          build a pushdown automaton that recognizes the reverse language of a given pushdown automaton?

          Mont Emei