Disable headphone jack detection in pulseaudioHow to enable both built-in audio output and HDMI audio output with PulseAudio?Debian systems seems to recognize speakers but not the headphones for Lenovo laptopsHow to troubleshoot jack detection in PulseaudioPulseaudio antidetects headphonespulse audio defaults soundcard speakers as headphonespulseaudio: auto switch sink when headphones connectedHow to force pulseaudio ports to be availableExternal headset mic not listed in Linux Mint 18.1 64-bit on Acer Aspire E 15Headphones with combo jack: Force internal mic for input and headphones for outputPulseaudio and Jack: cant start jack on pop!os

Denied boarding due to overcrowding, Sparpreis ticket. What are my rights?

COUNT(*) or MAX(id) - which is faster?

Why was the "bread communication" in the arena of Catching Fire left out in the movie?

How to deal with fear of taking dependencies

Symmetry in quantum mechanics

What do you call words made from common English words?

How did the USSR manage to innovate in an environment characterized by government censorship and high bureaucracy?

How to answer pointed "are you quitting" questioning when I don't want them to suspect

Doomsday-clock for my fantasy planet

Was there ever an axiom rendered a theorem?

Shall I use personal or official e-mail account when registering to external websites for work purpose?

Are white and non-white police officers equally likely to kill black suspects?

Copycat chess is back

Hosting Wordpress in a EC2 Load Balanced Instance

Re-submission of rejected manuscript without informing co-authors

What is the offset in a seaplane's hull?

Unbreakable Formation vs. Cry of the Carnarium

Could Giant Ground Sloths have been a good pack animal for the ancient Mayans?

How could a lack of term limits lead to a "dictatorship?"

Eliminate empty elements from a list with a specific pattern

Pristine Bit Checking

Can a planet have a different gravitational pull depending on its location in orbit around its sun?

How can I add custom success page

Is every set a filtered colimit of finite sets?



Disable headphone jack detection in pulseaudio


How to enable both built-in audio output and HDMI audio output with PulseAudio?Debian systems seems to recognize speakers but not the headphones for Lenovo laptopsHow to troubleshoot jack detection in PulseaudioPulseaudio antidetects headphonespulse audio defaults soundcard speakers as headphonespulseaudio: auto switch sink when headphones connectedHow to force pulseaudio ports to be availableExternal headset mic not listed in Linux Mint 18.1 64-bit on Acer Aspire E 15Headphones with combo jack: Force internal mic for input and headphones for outputPulseaudio and Jack: cant start jack on pop!os






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








18















I have a dodgy headphone port on my laptop that does not reliably detect when headphones/external speakers are plugged in. This means that the output is constantly being muted/unmuted which is rather annoying



How can I configure pulseaudio to disable the jack detection (or alternatively just force output through this jack)?



I assume it'll involve editing analog-output-headphones.conf however I can't figure out how to do so (analog-output.conf.common is of no help).










share|improve this question



















  • 2





    Have you considered/tried removing pulseaudio and just using ALSA?

    – goldilocks
    Feb 15 '14 at 13:50











  • Yes, but I kind of like the extra control that pulseaudio gives. Besides I'm sure that there is a simple solution - I just can't work out what it is.

    – Ross
    Feb 15 '14 at 18:05











  • Using ALSA would make the solution simple. So would choosing to use a different jack. Avoiding both of those options I would choose to repair the flaky jack (requires soldering iron and some experience) :)

    – Elder Geek
    Mar 26 '15 at 20:14

















18















I have a dodgy headphone port on my laptop that does not reliably detect when headphones/external speakers are plugged in. This means that the output is constantly being muted/unmuted which is rather annoying



How can I configure pulseaudio to disable the jack detection (or alternatively just force output through this jack)?



I assume it'll involve editing analog-output-headphones.conf however I can't figure out how to do so (analog-output.conf.common is of no help).










share|improve this question



















  • 2





    Have you considered/tried removing pulseaudio and just using ALSA?

    – goldilocks
    Feb 15 '14 at 13:50











  • Yes, but I kind of like the extra control that pulseaudio gives. Besides I'm sure that there is a simple solution - I just can't work out what it is.

    – Ross
    Feb 15 '14 at 18:05











  • Using ALSA would make the solution simple. So would choosing to use a different jack. Avoiding both of those options I would choose to repair the flaky jack (requires soldering iron and some experience) :)

    – Elder Geek
    Mar 26 '15 at 20:14













18












18








18


7






I have a dodgy headphone port on my laptop that does not reliably detect when headphones/external speakers are plugged in. This means that the output is constantly being muted/unmuted which is rather annoying



How can I configure pulseaudio to disable the jack detection (or alternatively just force output through this jack)?



I assume it'll involve editing analog-output-headphones.conf however I can't figure out how to do so (analog-output.conf.common is of no help).










share|improve this question
















I have a dodgy headphone port on my laptop that does not reliably detect when headphones/external speakers are plugged in. This means that the output is constantly being muted/unmuted which is rather annoying



How can I configure pulseaudio to disable the jack detection (or alternatively just force output through this jack)?



I assume it'll involve editing analog-output-headphones.conf however I can't figure out how to do so (analog-output.conf.common is of no help).







pulseaudio






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 15 '14 at 12:42









rahmu

10.5k2070113




10.5k2070113










asked Feb 15 '14 at 12:12









RossRoss

91113




91113







  • 2





    Have you considered/tried removing pulseaudio and just using ALSA?

    – goldilocks
    Feb 15 '14 at 13:50











  • Yes, but I kind of like the extra control that pulseaudio gives. Besides I'm sure that there is a simple solution - I just can't work out what it is.

    – Ross
    Feb 15 '14 at 18:05











  • Using ALSA would make the solution simple. So would choosing to use a different jack. Avoiding both of those options I would choose to repair the flaky jack (requires soldering iron and some experience) :)

    – Elder Geek
    Mar 26 '15 at 20:14












  • 2





    Have you considered/tried removing pulseaudio and just using ALSA?

    – goldilocks
    Feb 15 '14 at 13:50











  • Yes, but I kind of like the extra control that pulseaudio gives. Besides I'm sure that there is a simple solution - I just can't work out what it is.

    – Ross
    Feb 15 '14 at 18:05











  • Using ALSA would make the solution simple. So would choosing to use a different jack. Avoiding both of those options I would choose to repair the flaky jack (requires soldering iron and some experience) :)

    – Elder Geek
    Mar 26 '15 at 20:14







2




2





Have you considered/tried removing pulseaudio and just using ALSA?

– goldilocks
Feb 15 '14 at 13:50





Have you considered/tried removing pulseaudio and just using ALSA?

– goldilocks
Feb 15 '14 at 13:50













Yes, but I kind of like the extra control that pulseaudio gives. Besides I'm sure that there is a simple solution - I just can't work out what it is.

– Ross
Feb 15 '14 at 18:05





Yes, but I kind of like the extra control that pulseaudio gives. Besides I'm sure that there is a simple solution - I just can't work out what it is.

– Ross
Feb 15 '14 at 18:05













Using ALSA would make the solution simple. So would choosing to use a different jack. Avoiding both of those options I would choose to repair the flaky jack (requires soldering iron and some experience) :)

– Elder Geek
Mar 26 '15 at 20:14





Using ALSA would make the solution simple. So would choosing to use a different jack. Avoiding both of those options I would choose to repair the flaky jack (requires soldering iron and some experience) :)

– Elder Geek
Mar 26 '15 at 20:14










9 Answers
9






active

oldest

votes


















7














You can try suspending the headphone jack. To find the index of the headphone jack:



pactl list short sinks


Then suspend that sink:



pactl suspend-sink [SINK] 1|0


Where "SINK" is the index from the first command, and "1" will suspend and "0" will unsuspend.



Edit: Sorry, misunderstood the situation. Found an Arch thread that has a method of disabling the automatic switching. Edit /etc/pulse/default.pa (gdamjan suggests the alternate ~/.config/pulse/default.pa) to remove the following line:



load-module module-switch-on-port-available





share|improve this answer




















  • 1





    Thanks, but I don't want to disable the headphones, rather force output through them - even when they don't detect a cable plugged in.

    – Ross
    Mar 22 '14 at 19:42











  • Regarding disabling: load-module module-switch-on-port-available - I have tried that but it seems to make no difference.

    – Ross
    Mar 29 '14 at 10:24







  • 1





    aletrantively try ~/.config/pulse/default.pa

    – gdamjan
    Feb 5 '15 at 18:04











  • I was trying this to get sound to come though speakers when I plug in a microphone (it is a headset mic - but I want the mic to pick up the speaker sounds for recording). When I tried removing the switch, I can get it (with a "pacmd set-sink-port" command) to output only to speaker (no sound comes out on headphones), but sound will still only come out of the speaker when nothing is plugged into the jack. Arrrggghhhh....

    – anthony
    Dec 6 '16 at 2:35


















5














I don't know how (or if) this can be directly done via PulseAudio itself, but I do know this can be done via the ALSA control named "Auto-Mute Mode", untoggling this control (with 'alsamixer' for example) should prevent your output from being automatically muted when something is plugged in in the front jack.



Changing it this way will work even if your system runs PulseAudio, as long as it uses ALSA as the backend (but I think this is the case in most Linux distros by default).



If you use 'alsamixer' to change this setting, you will have to select the right hardware device first (press F6), since the default device will likely be the PulseAudio virtual device, which doesn't have the "Auto-Mute Mode" control.



To make this setting permanent, run as root:



# alsactl store





share|improve this answer

























  • Thanks for putting in the detail about changing device via F6. I spent half an hour in alsa and other config/control files trying to find something related to "AutoMute" until reading your comment, I hadn't thought to change device.

    – Daniel
    Feb 22 '18 at 1:21


















1














assuming atleast one of your jacks still works without fault, i suggest you refer to this question on askubuntu - instead of depending on the faulty audio jack, i suggest you use the mic in port for the headphones.






share|improve this answer

























  • I guess I didn't explain it all that clearly. The output from the jack is fine. For whatever reason there is a problem detecting if a cable is plugged in or not. This leads to pulseaudio randomly muting the stream as it thinks the plug has been removed (when it hasn’t).

    – Ross
    Mar 24 '14 at 22:39


















1














Run pavucontrol. Under "Configuration" menu, select "Off" option for Built-in Audio card.






share|improve this answer






























    1














    Just in case this is useful for someone I will describe how I solved my problem with front jacks on Ubuntu 14.04



    I my case the front mic was not working properly, I tried unmuting it in alsamixer and a thousand possible solutions more, but finally what solved it was to install alsa-tools and use hdajackretask to set up the front mic as an "internal mic", then on alsamixer I just unmuted the internal mic and internal mic boost channels and adjusted their values (53 on both on my case)






    share|improve this answer






























      1














      I had the problem that the headphone detection disabled the speaker, which is apparently hooked to my headphone jack in the laptop. HDA-intel on Fujitsu Siemens Amilo 1520 here.



      What should give you a clue is having the alsamixer open on your soundcard and seeing the volume controls for speaker and headphone being influenced (on plugging headphone in, speaker mutes and headphone unmutes, and vice versa).



      then using the hdajackretask I selected: green headphone (rear side)
      - select override
      - and set to "internal speaker"



      you can then check by actually plugging in and out the headphones if it works for your configuration (documentation is meager).



      In my case this worked, and I clicked the "Install boot override" button. Reboot the system and have working sound...



      (I would really like to know what it has set up under the hood, will find that out sometime later.)






      share|improve this answer






























        1














        My issue is jacksense on the front port switching to "headphones" constantly (even when front panel header is not connected) and a faulty MSI motherboard they refused me RMA on. Even when jack sense is disabled in config by commenting it out in default.pa. A terrible work around was to use the front panel and just get constant crackling. I tried all the work-arounds listed here and everywhere in google.



        I tried hdajackretask which did not work on Debian Stretch, However all it needed was /lib/firmware to be created. When thats done the boot override install script it creates under /tmp correctly copies the .fw file there.



        /etc/modprobe.d/hda-jack-retask.conf contains:



        # This file was added by the program 'hda-jack-retask'.
        # If you want to revert the changes made by this program, you can simply erase this file and reboot your computer.
        options snd-hda-intel patch=hda-jack-retask.fw,hda-jack-retask.fw,hda-jack-retask.fw,hda-jack-retask.fw


        (which expects the file under /lib/firmware, )



        I'm not sure if other options snd-hda-intel overrides it or interferes so try disabling those if it fails.



        My firmware file looks like this, not sure if I could of just used the [hint] stanza as I'm just happy to nuke the thing:



        /lib/firmware/hda-jack-retask.fw



        [codec]
        0x10ec0892 0x1458a002 2

        [pincfg]
        0x11 0x99430130
        0x12 0x4037c540
        0x14 0x01014010
        0x15 0x01011012
        0x16 0x01016011
        0x17 0x411111f0
        0x18 0x01a19050
        0x19 0x02a19060
        0x1a 0x0181305f
        0x1b 0x43f1413f
        0x1c 0x411111f0
        0x1d 0x4045e601
        0x1e 0x01452140
        0x1f 0x411111f0

        [hints]
        jack_detect=no


        I cant upvote those answers or comment on them, If your reading this and you tried every other listed solution as I have, Try to retask jack to "not connected". On my hdajackretask it was called "Green headphone Front Side"






        share|improve this answer

























        • I've got a front panel audio port that doesn't have the jack detection pin, thus always shows as unplugged. Eventually fixed it and this answer is the best. One can not apply the settings because pulseaudio is probably using the card and stopping PA is surprisingly difficult. If one enables advanced override, it's possible to turn off jack detection on a per port basis. Also have the port priority of the non-detecting port in PA lower than detecting ports, otherwise your jack detecting line out will never be used because the broken headphone appears always connected.

          – TrentP
          Jan 31 '18 at 8:59



















        0














        Here's the dead simple, manual override, workaround that worked for me (Mint Debian Edition with Cinnamon):



        1. Open Sound settings (you can get there from the volume control
          widget or System Settings)

        2. Under the default Output tab, under
          Device, click "Analog Output Built-in Audio"

        That's it. You're done.



        I spent a day and a half on this. Yes, you need to manually set the device you want to use each time, but for me two seconds doing that is better than another several days of searching and at best, it seems, setting output to one or another and changing only with a reboot. I've not seen any fix for the root problem of flaky detection.



        Importantly, test sound always worked for the heapdphones or external speaker, so in my case it is a matter of flaky detection. That's presumably not the universal case. I described the symptoms in my case in greater detail elsewhere.






        share|improve this answer






























          0














          Edit /etc/pulse/default.pa



          comment following:



          #load-module module-switch-on-port-available
          #load-module module-suspend-on-idle


          and un-comment the last two lines:



          set-default-sink output
          set-default-source input


          Now your Jack plugs will be active after boot.






          share|improve this answer























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "106"
            ;
            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',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            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%2funix.stackexchange.com%2fquestions%2f115302%2fdisable-headphone-jack-detection-in-pulseaudio%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            9 Answers
            9






            active

            oldest

            votes








            9 Answers
            9






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            7














            You can try suspending the headphone jack. To find the index of the headphone jack:



            pactl list short sinks


            Then suspend that sink:



            pactl suspend-sink [SINK] 1|0


            Where "SINK" is the index from the first command, and "1" will suspend and "0" will unsuspend.



            Edit: Sorry, misunderstood the situation. Found an Arch thread that has a method of disabling the automatic switching. Edit /etc/pulse/default.pa (gdamjan suggests the alternate ~/.config/pulse/default.pa) to remove the following line:



            load-module module-switch-on-port-available





            share|improve this answer




















            • 1





              Thanks, but I don't want to disable the headphones, rather force output through them - even when they don't detect a cable plugged in.

              – Ross
              Mar 22 '14 at 19:42











            • Regarding disabling: load-module module-switch-on-port-available - I have tried that but it seems to make no difference.

              – Ross
              Mar 29 '14 at 10:24







            • 1





              aletrantively try ~/.config/pulse/default.pa

              – gdamjan
              Feb 5 '15 at 18:04











            • I was trying this to get sound to come though speakers when I plug in a microphone (it is a headset mic - but I want the mic to pick up the speaker sounds for recording). When I tried removing the switch, I can get it (with a "pacmd set-sink-port" command) to output only to speaker (no sound comes out on headphones), but sound will still only come out of the speaker when nothing is plugged into the jack. Arrrggghhhh....

              – anthony
              Dec 6 '16 at 2:35















            7














            You can try suspending the headphone jack. To find the index of the headphone jack:



            pactl list short sinks


            Then suspend that sink:



            pactl suspend-sink [SINK] 1|0


            Where "SINK" is the index from the first command, and "1" will suspend and "0" will unsuspend.



            Edit: Sorry, misunderstood the situation. Found an Arch thread that has a method of disabling the automatic switching. Edit /etc/pulse/default.pa (gdamjan suggests the alternate ~/.config/pulse/default.pa) to remove the following line:



            load-module module-switch-on-port-available





            share|improve this answer




















            • 1





              Thanks, but I don't want to disable the headphones, rather force output through them - even when they don't detect a cable plugged in.

              – Ross
              Mar 22 '14 at 19:42











            • Regarding disabling: load-module module-switch-on-port-available - I have tried that but it seems to make no difference.

              – Ross
              Mar 29 '14 at 10:24







            • 1





              aletrantively try ~/.config/pulse/default.pa

              – gdamjan
              Feb 5 '15 at 18:04











            • I was trying this to get sound to come though speakers when I plug in a microphone (it is a headset mic - but I want the mic to pick up the speaker sounds for recording). When I tried removing the switch, I can get it (with a "pacmd set-sink-port" command) to output only to speaker (no sound comes out on headphones), but sound will still only come out of the speaker when nothing is plugged into the jack. Arrrggghhhh....

              – anthony
              Dec 6 '16 at 2:35













            7












            7








            7







            You can try suspending the headphone jack. To find the index of the headphone jack:



            pactl list short sinks


            Then suspend that sink:



            pactl suspend-sink [SINK] 1|0


            Where "SINK" is the index from the first command, and "1" will suspend and "0" will unsuspend.



            Edit: Sorry, misunderstood the situation. Found an Arch thread that has a method of disabling the automatic switching. Edit /etc/pulse/default.pa (gdamjan suggests the alternate ~/.config/pulse/default.pa) to remove the following line:



            load-module module-switch-on-port-available





            share|improve this answer















            You can try suspending the headphone jack. To find the index of the headphone jack:



            pactl list short sinks


            Then suspend that sink:



            pactl suspend-sink [SINK] 1|0


            Where "SINK" is the index from the first command, and "1" will suspend and "0" will unsuspend.



            Edit: Sorry, misunderstood the situation. Found an Arch thread that has a method of disabling the automatic switching. Edit /etc/pulse/default.pa (gdamjan suggests the alternate ~/.config/pulse/default.pa) to remove the following line:



            load-module module-switch-on-port-available






            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Feb 5 '15 at 18:15

























            answered Mar 21 '14 at 18:56









            foootfooot

            441414




            441414







            • 1





              Thanks, but I don't want to disable the headphones, rather force output through them - even when they don't detect a cable plugged in.

              – Ross
              Mar 22 '14 at 19:42











            • Regarding disabling: load-module module-switch-on-port-available - I have tried that but it seems to make no difference.

              – Ross
              Mar 29 '14 at 10:24







            • 1





              aletrantively try ~/.config/pulse/default.pa

              – gdamjan
              Feb 5 '15 at 18:04











            • I was trying this to get sound to come though speakers when I plug in a microphone (it is a headset mic - but I want the mic to pick up the speaker sounds for recording). When I tried removing the switch, I can get it (with a "pacmd set-sink-port" command) to output only to speaker (no sound comes out on headphones), but sound will still only come out of the speaker when nothing is plugged into the jack. Arrrggghhhh....

              – anthony
              Dec 6 '16 at 2:35












            • 1





              Thanks, but I don't want to disable the headphones, rather force output through them - even when they don't detect a cable plugged in.

              – Ross
              Mar 22 '14 at 19:42











            • Regarding disabling: load-module module-switch-on-port-available - I have tried that but it seems to make no difference.

              – Ross
              Mar 29 '14 at 10:24







            • 1





              aletrantively try ~/.config/pulse/default.pa

              – gdamjan
              Feb 5 '15 at 18:04











            • I was trying this to get sound to come though speakers when I plug in a microphone (it is a headset mic - but I want the mic to pick up the speaker sounds for recording). When I tried removing the switch, I can get it (with a "pacmd set-sink-port" command) to output only to speaker (no sound comes out on headphones), but sound will still only come out of the speaker when nothing is plugged into the jack. Arrrggghhhh....

              – anthony
              Dec 6 '16 at 2:35







            1




            1





            Thanks, but I don't want to disable the headphones, rather force output through them - even when they don't detect a cable plugged in.

            – Ross
            Mar 22 '14 at 19:42





            Thanks, but I don't want to disable the headphones, rather force output through them - even when they don't detect a cable plugged in.

            – Ross
            Mar 22 '14 at 19:42













            Regarding disabling: load-module module-switch-on-port-available - I have tried that but it seems to make no difference.

            – Ross
            Mar 29 '14 at 10:24






            Regarding disabling: load-module module-switch-on-port-available - I have tried that but it seems to make no difference.

            – Ross
            Mar 29 '14 at 10:24





            1




            1





            aletrantively try ~/.config/pulse/default.pa

            – gdamjan
            Feb 5 '15 at 18:04





            aletrantively try ~/.config/pulse/default.pa

            – gdamjan
            Feb 5 '15 at 18:04













            I was trying this to get sound to come though speakers when I plug in a microphone (it is a headset mic - but I want the mic to pick up the speaker sounds for recording). When I tried removing the switch, I can get it (with a "pacmd set-sink-port" command) to output only to speaker (no sound comes out on headphones), but sound will still only come out of the speaker when nothing is plugged into the jack. Arrrggghhhh....

            – anthony
            Dec 6 '16 at 2:35





            I was trying this to get sound to come though speakers when I plug in a microphone (it is a headset mic - but I want the mic to pick up the speaker sounds for recording). When I tried removing the switch, I can get it (with a "pacmd set-sink-port" command) to output only to speaker (no sound comes out on headphones), but sound will still only come out of the speaker when nothing is plugged into the jack. Arrrggghhhh....

            – anthony
            Dec 6 '16 at 2:35













            5














            I don't know how (or if) this can be directly done via PulseAudio itself, but I do know this can be done via the ALSA control named "Auto-Mute Mode", untoggling this control (with 'alsamixer' for example) should prevent your output from being automatically muted when something is plugged in in the front jack.



            Changing it this way will work even if your system runs PulseAudio, as long as it uses ALSA as the backend (but I think this is the case in most Linux distros by default).



            If you use 'alsamixer' to change this setting, you will have to select the right hardware device first (press F6), since the default device will likely be the PulseAudio virtual device, which doesn't have the "Auto-Mute Mode" control.



            To make this setting permanent, run as root:



            # alsactl store





            share|improve this answer

























            • Thanks for putting in the detail about changing device via F6. I spent half an hour in alsa and other config/control files trying to find something related to "AutoMute" until reading your comment, I hadn't thought to change device.

              – Daniel
              Feb 22 '18 at 1:21















            5














            I don't know how (or if) this can be directly done via PulseAudio itself, but I do know this can be done via the ALSA control named "Auto-Mute Mode", untoggling this control (with 'alsamixer' for example) should prevent your output from being automatically muted when something is plugged in in the front jack.



            Changing it this way will work even if your system runs PulseAudio, as long as it uses ALSA as the backend (but I think this is the case in most Linux distros by default).



            If you use 'alsamixer' to change this setting, you will have to select the right hardware device first (press F6), since the default device will likely be the PulseAudio virtual device, which doesn't have the "Auto-Mute Mode" control.



            To make this setting permanent, run as root:



            # alsactl store





            share|improve this answer

























            • Thanks for putting in the detail about changing device via F6. I spent half an hour in alsa and other config/control files trying to find something related to "AutoMute" until reading your comment, I hadn't thought to change device.

              – Daniel
              Feb 22 '18 at 1:21













            5












            5








            5







            I don't know how (or if) this can be directly done via PulseAudio itself, but I do know this can be done via the ALSA control named "Auto-Mute Mode", untoggling this control (with 'alsamixer' for example) should prevent your output from being automatically muted when something is plugged in in the front jack.



            Changing it this way will work even if your system runs PulseAudio, as long as it uses ALSA as the backend (but I think this is the case in most Linux distros by default).



            If you use 'alsamixer' to change this setting, you will have to select the right hardware device first (press F6), since the default device will likely be the PulseAudio virtual device, which doesn't have the "Auto-Mute Mode" control.



            To make this setting permanent, run as root:



            # alsactl store





            share|improve this answer















            I don't know how (or if) this can be directly done via PulseAudio itself, but I do know this can be done via the ALSA control named "Auto-Mute Mode", untoggling this control (with 'alsamixer' for example) should prevent your output from being automatically muted when something is plugged in in the front jack.



            Changing it this way will work even if your system runs PulseAudio, as long as it uses ALSA as the backend (but I think this is the case in most Linux distros by default).



            If you use 'alsamixer' to change this setting, you will have to select the right hardware device first (press F6), since the default device will likely be the PulseAudio virtual device, which doesn't have the "Auto-Mute Mode" control.



            To make this setting permanent, run as root:



            # alsactl store






            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Jan 21 '15 at 11:20

























            answered Jan 21 '15 at 11:13









            hnsrhnsr

            8827




            8827












            • Thanks for putting in the detail about changing device via F6. I spent half an hour in alsa and other config/control files trying to find something related to "AutoMute" until reading your comment, I hadn't thought to change device.

              – Daniel
              Feb 22 '18 at 1:21

















            • Thanks for putting in the detail about changing device via F6. I spent half an hour in alsa and other config/control files trying to find something related to "AutoMute" until reading your comment, I hadn't thought to change device.

              – Daniel
              Feb 22 '18 at 1:21
















            Thanks for putting in the detail about changing device via F6. I spent half an hour in alsa and other config/control files trying to find something related to "AutoMute" until reading your comment, I hadn't thought to change device.

            – Daniel
            Feb 22 '18 at 1:21





            Thanks for putting in the detail about changing device via F6. I spent half an hour in alsa and other config/control files trying to find something related to "AutoMute" until reading your comment, I hadn't thought to change device.

            – Daniel
            Feb 22 '18 at 1:21











            1














            assuming atleast one of your jacks still works without fault, i suggest you refer to this question on askubuntu - instead of depending on the faulty audio jack, i suggest you use the mic in port for the headphones.






            share|improve this answer

























            • I guess I didn't explain it all that clearly. The output from the jack is fine. For whatever reason there is a problem detecting if a cable is plugged in or not. This leads to pulseaudio randomly muting the stream as it thinks the plug has been removed (when it hasn’t).

              – Ross
              Mar 24 '14 at 22:39















            1














            assuming atleast one of your jacks still works without fault, i suggest you refer to this question on askubuntu - instead of depending on the faulty audio jack, i suggest you use the mic in port for the headphones.






            share|improve this answer

























            • I guess I didn't explain it all that clearly. The output from the jack is fine. For whatever reason there is a problem detecting if a cable is plugged in or not. This leads to pulseaudio randomly muting the stream as it thinks the plug has been removed (when it hasn’t).

              – Ross
              Mar 24 '14 at 22:39













            1












            1








            1







            assuming atleast one of your jacks still works without fault, i suggest you refer to this question on askubuntu - instead of depending on the faulty audio jack, i suggest you use the mic in port for the headphones.






            share|improve this answer















            assuming atleast one of your jacks still works without fault, i suggest you refer to this question on askubuntu - instead of depending on the faulty audio jack, i suggest you use the mic in port for the headphones.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Apr 13 '17 at 12:22









            Community

            1




            1










            answered Mar 24 '14 at 6:44









            rahul.porurirahul.poruri

            111




            111












            • I guess I didn't explain it all that clearly. The output from the jack is fine. For whatever reason there is a problem detecting if a cable is plugged in or not. This leads to pulseaudio randomly muting the stream as it thinks the plug has been removed (when it hasn’t).

              – Ross
              Mar 24 '14 at 22:39

















            • I guess I didn't explain it all that clearly. The output from the jack is fine. For whatever reason there is a problem detecting if a cable is plugged in or not. This leads to pulseaudio randomly muting the stream as it thinks the plug has been removed (when it hasn’t).

              – Ross
              Mar 24 '14 at 22:39
















            I guess I didn't explain it all that clearly. The output from the jack is fine. For whatever reason there is a problem detecting if a cable is plugged in or not. This leads to pulseaudio randomly muting the stream as it thinks the plug has been removed (when it hasn’t).

            – Ross
            Mar 24 '14 at 22:39





            I guess I didn't explain it all that clearly. The output from the jack is fine. For whatever reason there is a problem detecting if a cable is plugged in or not. This leads to pulseaudio randomly muting the stream as it thinks the plug has been removed (when it hasn’t).

            – Ross
            Mar 24 '14 at 22:39











            1














            Run pavucontrol. Under "Configuration" menu, select "Off" option for Built-in Audio card.






            share|improve this answer



























              1














              Run pavucontrol. Under "Configuration" menu, select "Off" option for Built-in Audio card.






              share|improve this answer

























                1












                1








                1







                Run pavucontrol. Under "Configuration" menu, select "Off" option for Built-in Audio card.






                share|improve this answer













                Run pavucontrol. Under "Configuration" menu, select "Off" option for Built-in Audio card.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Oct 17 '14 at 17:46









                iElectriciElectric

                1514




                1514





















                    1














                    Just in case this is useful for someone I will describe how I solved my problem with front jacks on Ubuntu 14.04



                    I my case the front mic was not working properly, I tried unmuting it in alsamixer and a thousand possible solutions more, but finally what solved it was to install alsa-tools and use hdajackretask to set up the front mic as an "internal mic", then on alsamixer I just unmuted the internal mic and internal mic boost channels and adjusted their values (53 on both on my case)






                    share|improve this answer



























                      1














                      Just in case this is useful for someone I will describe how I solved my problem with front jacks on Ubuntu 14.04



                      I my case the front mic was not working properly, I tried unmuting it in alsamixer and a thousand possible solutions more, but finally what solved it was to install alsa-tools and use hdajackretask to set up the front mic as an "internal mic", then on alsamixer I just unmuted the internal mic and internal mic boost channels and adjusted their values (53 on both on my case)






                      share|improve this answer

























                        1












                        1








                        1







                        Just in case this is useful for someone I will describe how I solved my problem with front jacks on Ubuntu 14.04



                        I my case the front mic was not working properly, I tried unmuting it in alsamixer and a thousand possible solutions more, but finally what solved it was to install alsa-tools and use hdajackretask to set up the front mic as an "internal mic", then on alsamixer I just unmuted the internal mic and internal mic boost channels and adjusted their values (53 on both on my case)






                        share|improve this answer













                        Just in case this is useful for someone I will describe how I solved my problem with front jacks on Ubuntu 14.04



                        I my case the front mic was not working properly, I tried unmuting it in alsamixer and a thousand possible solutions more, but finally what solved it was to install alsa-tools and use hdajackretask to set up the front mic as an "internal mic", then on alsamixer I just unmuted the internal mic and internal mic boost channels and adjusted their values (53 on both on my case)







                        share|improve this answer












                        share|improve this answer



                        share|improve this answer










                        answered Oct 15 '15 at 11:38









                        lordscales91lordscales91

                        112




                        112





















                            1














                            I had the problem that the headphone detection disabled the speaker, which is apparently hooked to my headphone jack in the laptop. HDA-intel on Fujitsu Siemens Amilo 1520 here.



                            What should give you a clue is having the alsamixer open on your soundcard and seeing the volume controls for speaker and headphone being influenced (on plugging headphone in, speaker mutes and headphone unmutes, and vice versa).



                            then using the hdajackretask I selected: green headphone (rear side)
                            - select override
                            - and set to "internal speaker"



                            you can then check by actually plugging in and out the headphones if it works for your configuration (documentation is meager).



                            In my case this worked, and I clicked the "Install boot override" button. Reboot the system and have working sound...



                            (I would really like to know what it has set up under the hood, will find that out sometime later.)






                            share|improve this answer



























                              1














                              I had the problem that the headphone detection disabled the speaker, which is apparently hooked to my headphone jack in the laptop. HDA-intel on Fujitsu Siemens Amilo 1520 here.



                              What should give you a clue is having the alsamixer open on your soundcard and seeing the volume controls for speaker and headphone being influenced (on plugging headphone in, speaker mutes and headphone unmutes, and vice versa).



                              then using the hdajackretask I selected: green headphone (rear side)
                              - select override
                              - and set to "internal speaker"



                              you can then check by actually plugging in and out the headphones if it works for your configuration (documentation is meager).



                              In my case this worked, and I clicked the "Install boot override" button. Reboot the system and have working sound...



                              (I would really like to know what it has set up under the hood, will find that out sometime later.)






                              share|improve this answer

























                                1












                                1








                                1







                                I had the problem that the headphone detection disabled the speaker, which is apparently hooked to my headphone jack in the laptop. HDA-intel on Fujitsu Siemens Amilo 1520 here.



                                What should give you a clue is having the alsamixer open on your soundcard and seeing the volume controls for speaker and headphone being influenced (on plugging headphone in, speaker mutes and headphone unmutes, and vice versa).



                                then using the hdajackretask I selected: green headphone (rear side)
                                - select override
                                - and set to "internal speaker"



                                you can then check by actually plugging in and out the headphones if it works for your configuration (documentation is meager).



                                In my case this worked, and I clicked the "Install boot override" button. Reboot the system and have working sound...



                                (I would really like to know what it has set up under the hood, will find that out sometime later.)






                                share|improve this answer













                                I had the problem that the headphone detection disabled the speaker, which is apparently hooked to my headphone jack in the laptop. HDA-intel on Fujitsu Siemens Amilo 1520 here.



                                What should give you a clue is having the alsamixer open on your soundcard and seeing the volume controls for speaker and headphone being influenced (on plugging headphone in, speaker mutes and headphone unmutes, and vice versa).



                                then using the hdajackretask I selected: green headphone (rear side)
                                - select override
                                - and set to "internal speaker"



                                you can then check by actually plugging in and out the headphones if it works for your configuration (documentation is meager).



                                In my case this worked, and I clicked the "Install boot override" button. Reboot the system and have working sound...



                                (I would really like to know what it has set up under the hood, will find that out sometime later.)







                                share|improve this answer












                                share|improve this answer



                                share|improve this answer










                                answered Nov 18 '15 at 21:20









                                Tjeerd PinkertTjeerd Pinkert

                                111




                                111





















                                    1














                                    My issue is jacksense on the front port switching to "headphones" constantly (even when front panel header is not connected) and a faulty MSI motherboard they refused me RMA on. Even when jack sense is disabled in config by commenting it out in default.pa. A terrible work around was to use the front panel and just get constant crackling. I tried all the work-arounds listed here and everywhere in google.



                                    I tried hdajackretask which did not work on Debian Stretch, However all it needed was /lib/firmware to be created. When thats done the boot override install script it creates under /tmp correctly copies the .fw file there.



                                    /etc/modprobe.d/hda-jack-retask.conf contains:



                                    # This file was added by the program 'hda-jack-retask'.
                                    # If you want to revert the changes made by this program, you can simply erase this file and reboot your computer.
                                    options snd-hda-intel patch=hda-jack-retask.fw,hda-jack-retask.fw,hda-jack-retask.fw,hda-jack-retask.fw


                                    (which expects the file under /lib/firmware, )



                                    I'm not sure if other options snd-hda-intel overrides it or interferes so try disabling those if it fails.



                                    My firmware file looks like this, not sure if I could of just used the [hint] stanza as I'm just happy to nuke the thing:



                                    /lib/firmware/hda-jack-retask.fw



                                    [codec]
                                    0x10ec0892 0x1458a002 2

                                    [pincfg]
                                    0x11 0x99430130
                                    0x12 0x4037c540
                                    0x14 0x01014010
                                    0x15 0x01011012
                                    0x16 0x01016011
                                    0x17 0x411111f0
                                    0x18 0x01a19050
                                    0x19 0x02a19060
                                    0x1a 0x0181305f
                                    0x1b 0x43f1413f
                                    0x1c 0x411111f0
                                    0x1d 0x4045e601
                                    0x1e 0x01452140
                                    0x1f 0x411111f0

                                    [hints]
                                    jack_detect=no


                                    I cant upvote those answers or comment on them, If your reading this and you tried every other listed solution as I have, Try to retask jack to "not connected". On my hdajackretask it was called "Green headphone Front Side"






                                    share|improve this answer

























                                    • I've got a front panel audio port that doesn't have the jack detection pin, thus always shows as unplugged. Eventually fixed it and this answer is the best. One can not apply the settings because pulseaudio is probably using the card and stopping PA is surprisingly difficult. If one enables advanced override, it's possible to turn off jack detection on a per port basis. Also have the port priority of the non-detecting port in PA lower than detecting ports, otherwise your jack detecting line out will never be used because the broken headphone appears always connected.

                                      – TrentP
                                      Jan 31 '18 at 8:59
















                                    1














                                    My issue is jacksense on the front port switching to "headphones" constantly (even when front panel header is not connected) and a faulty MSI motherboard they refused me RMA on. Even when jack sense is disabled in config by commenting it out in default.pa. A terrible work around was to use the front panel and just get constant crackling. I tried all the work-arounds listed here and everywhere in google.



                                    I tried hdajackretask which did not work on Debian Stretch, However all it needed was /lib/firmware to be created. When thats done the boot override install script it creates under /tmp correctly copies the .fw file there.



                                    /etc/modprobe.d/hda-jack-retask.conf contains:



                                    # This file was added by the program 'hda-jack-retask'.
                                    # If you want to revert the changes made by this program, you can simply erase this file and reboot your computer.
                                    options snd-hda-intel patch=hda-jack-retask.fw,hda-jack-retask.fw,hda-jack-retask.fw,hda-jack-retask.fw


                                    (which expects the file under /lib/firmware, )



                                    I'm not sure if other options snd-hda-intel overrides it or interferes so try disabling those if it fails.



                                    My firmware file looks like this, not sure if I could of just used the [hint] stanza as I'm just happy to nuke the thing:



                                    /lib/firmware/hda-jack-retask.fw



                                    [codec]
                                    0x10ec0892 0x1458a002 2

                                    [pincfg]
                                    0x11 0x99430130
                                    0x12 0x4037c540
                                    0x14 0x01014010
                                    0x15 0x01011012
                                    0x16 0x01016011
                                    0x17 0x411111f0
                                    0x18 0x01a19050
                                    0x19 0x02a19060
                                    0x1a 0x0181305f
                                    0x1b 0x43f1413f
                                    0x1c 0x411111f0
                                    0x1d 0x4045e601
                                    0x1e 0x01452140
                                    0x1f 0x411111f0

                                    [hints]
                                    jack_detect=no


                                    I cant upvote those answers or comment on them, If your reading this and you tried every other listed solution as I have, Try to retask jack to "not connected". On my hdajackretask it was called "Green headphone Front Side"






                                    share|improve this answer

























                                    • I've got a front panel audio port that doesn't have the jack detection pin, thus always shows as unplugged. Eventually fixed it and this answer is the best. One can not apply the settings because pulseaudio is probably using the card and stopping PA is surprisingly difficult. If one enables advanced override, it's possible to turn off jack detection on a per port basis. Also have the port priority of the non-detecting port in PA lower than detecting ports, otherwise your jack detecting line out will never be used because the broken headphone appears always connected.

                                      – TrentP
                                      Jan 31 '18 at 8:59














                                    1












                                    1








                                    1







                                    My issue is jacksense on the front port switching to "headphones" constantly (even when front panel header is not connected) and a faulty MSI motherboard they refused me RMA on. Even when jack sense is disabled in config by commenting it out in default.pa. A terrible work around was to use the front panel and just get constant crackling. I tried all the work-arounds listed here and everywhere in google.



                                    I tried hdajackretask which did not work on Debian Stretch, However all it needed was /lib/firmware to be created. When thats done the boot override install script it creates under /tmp correctly copies the .fw file there.



                                    /etc/modprobe.d/hda-jack-retask.conf contains:



                                    # This file was added by the program 'hda-jack-retask'.
                                    # If you want to revert the changes made by this program, you can simply erase this file and reboot your computer.
                                    options snd-hda-intel patch=hda-jack-retask.fw,hda-jack-retask.fw,hda-jack-retask.fw,hda-jack-retask.fw


                                    (which expects the file under /lib/firmware, )



                                    I'm not sure if other options snd-hda-intel overrides it or interferes so try disabling those if it fails.



                                    My firmware file looks like this, not sure if I could of just used the [hint] stanza as I'm just happy to nuke the thing:



                                    /lib/firmware/hda-jack-retask.fw



                                    [codec]
                                    0x10ec0892 0x1458a002 2

                                    [pincfg]
                                    0x11 0x99430130
                                    0x12 0x4037c540
                                    0x14 0x01014010
                                    0x15 0x01011012
                                    0x16 0x01016011
                                    0x17 0x411111f0
                                    0x18 0x01a19050
                                    0x19 0x02a19060
                                    0x1a 0x0181305f
                                    0x1b 0x43f1413f
                                    0x1c 0x411111f0
                                    0x1d 0x4045e601
                                    0x1e 0x01452140
                                    0x1f 0x411111f0

                                    [hints]
                                    jack_detect=no


                                    I cant upvote those answers or comment on them, If your reading this and you tried every other listed solution as I have, Try to retask jack to "not connected". On my hdajackretask it was called "Green headphone Front Side"






                                    share|improve this answer















                                    My issue is jacksense on the front port switching to "headphones" constantly (even when front panel header is not connected) and a faulty MSI motherboard they refused me RMA on. Even when jack sense is disabled in config by commenting it out in default.pa. A terrible work around was to use the front panel and just get constant crackling. I tried all the work-arounds listed here and everywhere in google.



                                    I tried hdajackretask which did not work on Debian Stretch, However all it needed was /lib/firmware to be created. When thats done the boot override install script it creates under /tmp correctly copies the .fw file there.



                                    /etc/modprobe.d/hda-jack-retask.conf contains:



                                    # This file was added by the program 'hda-jack-retask'.
                                    # If you want to revert the changes made by this program, you can simply erase this file and reboot your computer.
                                    options snd-hda-intel patch=hda-jack-retask.fw,hda-jack-retask.fw,hda-jack-retask.fw,hda-jack-retask.fw


                                    (which expects the file under /lib/firmware, )



                                    I'm not sure if other options snd-hda-intel overrides it or interferes so try disabling those if it fails.



                                    My firmware file looks like this, not sure if I could of just used the [hint] stanza as I'm just happy to nuke the thing:



                                    /lib/firmware/hda-jack-retask.fw



                                    [codec]
                                    0x10ec0892 0x1458a002 2

                                    [pincfg]
                                    0x11 0x99430130
                                    0x12 0x4037c540
                                    0x14 0x01014010
                                    0x15 0x01011012
                                    0x16 0x01016011
                                    0x17 0x411111f0
                                    0x18 0x01a19050
                                    0x19 0x02a19060
                                    0x1a 0x0181305f
                                    0x1b 0x43f1413f
                                    0x1c 0x411111f0
                                    0x1d 0x4045e601
                                    0x1e 0x01452140
                                    0x1f 0x411111f0

                                    [hints]
                                    jack_detect=no


                                    I cant upvote those answers or comment on them, If your reading this and you tried every other listed solution as I have, Try to retask jack to "not connected". On my hdajackretask it was called "Green headphone Front Side"







                                    share|improve this answer














                                    share|improve this answer



                                    share|improve this answer








                                    edited Aug 10 '17 at 9:54

























                                    answered Aug 10 '17 at 9:49









                                    RussRuss

                                    112




                                    112












                                    • I've got a front panel audio port that doesn't have the jack detection pin, thus always shows as unplugged. Eventually fixed it and this answer is the best. One can not apply the settings because pulseaudio is probably using the card and stopping PA is surprisingly difficult. If one enables advanced override, it's possible to turn off jack detection on a per port basis. Also have the port priority of the non-detecting port in PA lower than detecting ports, otherwise your jack detecting line out will never be used because the broken headphone appears always connected.

                                      – TrentP
                                      Jan 31 '18 at 8:59


















                                    • I've got a front panel audio port that doesn't have the jack detection pin, thus always shows as unplugged. Eventually fixed it and this answer is the best. One can not apply the settings because pulseaudio is probably using the card and stopping PA is surprisingly difficult. If one enables advanced override, it's possible to turn off jack detection on a per port basis. Also have the port priority of the non-detecting port in PA lower than detecting ports, otherwise your jack detecting line out will never be used because the broken headphone appears always connected.

                                      – TrentP
                                      Jan 31 '18 at 8:59

















                                    I've got a front panel audio port that doesn't have the jack detection pin, thus always shows as unplugged. Eventually fixed it and this answer is the best. One can not apply the settings because pulseaudio is probably using the card and stopping PA is surprisingly difficult. If one enables advanced override, it's possible to turn off jack detection on a per port basis. Also have the port priority of the non-detecting port in PA lower than detecting ports, otherwise your jack detecting line out will never be used because the broken headphone appears always connected.

                                    – TrentP
                                    Jan 31 '18 at 8:59






                                    I've got a front panel audio port that doesn't have the jack detection pin, thus always shows as unplugged. Eventually fixed it and this answer is the best. One can not apply the settings because pulseaudio is probably using the card and stopping PA is surprisingly difficult. If one enables advanced override, it's possible to turn off jack detection on a per port basis. Also have the port priority of the non-detecting port in PA lower than detecting ports, otherwise your jack detecting line out will never be used because the broken headphone appears always connected.

                                    – TrentP
                                    Jan 31 '18 at 8:59












                                    0














                                    Here's the dead simple, manual override, workaround that worked for me (Mint Debian Edition with Cinnamon):



                                    1. Open Sound settings (you can get there from the volume control
                                      widget or System Settings)

                                    2. Under the default Output tab, under
                                      Device, click "Analog Output Built-in Audio"

                                    That's it. You're done.



                                    I spent a day and a half on this. Yes, you need to manually set the device you want to use each time, but for me two seconds doing that is better than another several days of searching and at best, it seems, setting output to one or another and changing only with a reboot. I've not seen any fix for the root problem of flaky detection.



                                    Importantly, test sound always worked for the heapdphones or external speaker, so in my case it is a matter of flaky detection. That's presumably not the universal case. I described the symptoms in my case in greater detail elsewhere.






                                    share|improve this answer



























                                      0














                                      Here's the dead simple, manual override, workaround that worked for me (Mint Debian Edition with Cinnamon):



                                      1. Open Sound settings (you can get there from the volume control
                                        widget or System Settings)

                                      2. Under the default Output tab, under
                                        Device, click "Analog Output Built-in Audio"

                                      That's it. You're done.



                                      I spent a day and a half on this. Yes, you need to manually set the device you want to use each time, but for me two seconds doing that is better than another several days of searching and at best, it seems, setting output to one or another and changing only with a reboot. I've not seen any fix for the root problem of flaky detection.



                                      Importantly, test sound always worked for the heapdphones or external speaker, so in my case it is a matter of flaky detection. That's presumably not the universal case. I described the symptoms in my case in greater detail elsewhere.






                                      share|improve this answer

























                                        0












                                        0








                                        0







                                        Here's the dead simple, manual override, workaround that worked for me (Mint Debian Edition with Cinnamon):



                                        1. Open Sound settings (you can get there from the volume control
                                          widget or System Settings)

                                        2. Under the default Output tab, under
                                          Device, click "Analog Output Built-in Audio"

                                        That's it. You're done.



                                        I spent a day and a half on this. Yes, you need to manually set the device you want to use each time, but for me two seconds doing that is better than another several days of searching and at best, it seems, setting output to one or another and changing only with a reboot. I've not seen any fix for the root problem of flaky detection.



                                        Importantly, test sound always worked for the heapdphones or external speaker, so in my case it is a matter of flaky detection. That's presumably not the universal case. I described the symptoms in my case in greater detail elsewhere.






                                        share|improve this answer













                                        Here's the dead simple, manual override, workaround that worked for me (Mint Debian Edition with Cinnamon):



                                        1. Open Sound settings (you can get there from the volume control
                                          widget or System Settings)

                                        2. Under the default Output tab, under
                                          Device, click "Analog Output Built-in Audio"

                                        That's it. You're done.



                                        I spent a day and a half on this. Yes, you need to manually set the device you want to use each time, but for me two seconds doing that is better than another several days of searching and at best, it seems, setting output to one or another and changing only with a reboot. I've not seen any fix for the root problem of flaky detection.



                                        Importantly, test sound always worked for the heapdphones or external speaker, so in my case it is a matter of flaky detection. That's presumably not the universal case. I described the symptoms in my case in greater detail elsewhere.







                                        share|improve this answer












                                        share|improve this answer



                                        share|improve this answer










                                        answered May 24 '16 at 15:21









                                        mlncnmlncn

                                        1012




                                        1012





















                                            0














                                            Edit /etc/pulse/default.pa



                                            comment following:



                                            #load-module module-switch-on-port-available
                                            #load-module module-suspend-on-idle


                                            and un-comment the last two lines:



                                            set-default-sink output
                                            set-default-source input


                                            Now your Jack plugs will be active after boot.






                                            share|improve this answer



























                                              0














                                              Edit /etc/pulse/default.pa



                                              comment following:



                                              #load-module module-switch-on-port-available
                                              #load-module module-suspend-on-idle


                                              and un-comment the last two lines:



                                              set-default-sink output
                                              set-default-source input


                                              Now your Jack plugs will be active after boot.






                                              share|improve this answer

























                                                0












                                                0








                                                0







                                                Edit /etc/pulse/default.pa



                                                comment following:



                                                #load-module module-switch-on-port-available
                                                #load-module module-suspend-on-idle


                                                and un-comment the last two lines:



                                                set-default-sink output
                                                set-default-source input


                                                Now your Jack plugs will be active after boot.






                                                share|improve this answer













                                                Edit /etc/pulse/default.pa



                                                comment following:



                                                #load-module module-switch-on-port-available
                                                #load-module module-suspend-on-idle


                                                and un-comment the last two lines:



                                                set-default-sink output
                                                set-default-source input


                                                Now your Jack plugs will be active after boot.







                                                share|improve this answer












                                                share|improve this answer



                                                share|improve this answer










                                                answered Mar 28 at 11:27









                                                linuxmarclinuxmarc

                                                11




                                                11



























                                                    draft saved

                                                    draft discarded
















































                                                    Thanks for contributing an answer to Unix & Linux Stack Exchange!


                                                    • 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%2funix.stackexchange.com%2fquestions%2f115302%2fdisable-headphone-jack-detection-in-pulseaudio%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







                                                    -pulseaudio

                                                    Popular posts from this blog

                                                    Creating 100m^2 grid automatically using QGIS?Creating grid constrained within polygon in QGIS?Createing polygon layer from point data using QGIS?Creating vector grid using QGIS?Creating grid polygons from coordinates using R or PythonCreating grid from spatio temporal point data?Creating fields in attributes table using other layers using QGISCreate .shp vector grid in QGISQGIS Creating 4km point grid within polygonsCreate a vector grid over a raster layerVector Grid Creates just one grid

                                                    What is this called? Old film camera viewer?What makes a good film camera?What to do with an old film camera?What should one look for when buying a used film camera?What is the value and age of this pre-1967 Ricoh 35 mm camera?DSLR recommendation, question about old Canon 35mm film Camera & lensesCan anyone identify the silver rangefinder-style camera in this advertisement?What kind of a Polaroid 600-camera is this?Will an old film camera still work even when not used in a very long time?What is this camera / Can I develop the film?How to fit an action camera into antique (bellows) housing?What to check when buying used and old film bodies?

                                                    Why is this plane circling around the Lucknow airport every day?Why do aircraft on Flight Radar 24 jump around randomly sometimes?What airport has this walkway over a taxiway?How does Chicago O'Hare's tower sequence aircraft at peak capacity?Which airport is featured in this Delta commercial?After a crash, for how long is the airport closed?Can a passenger plane stand still in the air, or hover at a fixed location above a ground?What are those trucks towing around, and why?What is this airport outside of Cairo, Egypt?Which US airport has the lowest circling MDH?What is this airport video?