How to enable auto-detection of heaphone jack when plugged with Alsa/Pulseaudio?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












I am running a Debian unstable (updated on a daily basis) with a Gnome3 desktop. Since a few months, the auto-detection of the headphone jack stopped to work totally. Previously, the audio mixer of the Gnome3 desktop would automatically switch the audio to the headphone and mute the speakers when the headphone jack is detected.



Right now, it seems that the detection of the headphone jack is no more working anymore. So, I have to set the sound and the desired audio channel by hand in alsamixer (which is a bit time consuming).



I do believe that the original problem is just coming from the fact that the headphone jack is no more detected (I checked that through the pavucontrol application).



So, first, I would like to have a way on command line only to check if the headphone jack is detected or not. Then, second, I would like to better understand how pulseaudio and alsa interact and can be triggered. And, finally, if somebody has an idea on how to make this auto-detection work, I would be extremely grateful! :)







share|improve this question
















  • 2




    Autodetection is normally performed by ALSA. If it is failing then the issue is there. There may be an input device associated with the audio hardware; you can check there for events to see in insertion can be detected.
    – Ignacio Vazquez-Abrams
    Dec 13 '17 at 17:11














up vote
1
down vote

favorite












I am running a Debian unstable (updated on a daily basis) with a Gnome3 desktop. Since a few months, the auto-detection of the headphone jack stopped to work totally. Previously, the audio mixer of the Gnome3 desktop would automatically switch the audio to the headphone and mute the speakers when the headphone jack is detected.



Right now, it seems that the detection of the headphone jack is no more working anymore. So, I have to set the sound and the desired audio channel by hand in alsamixer (which is a bit time consuming).



I do believe that the original problem is just coming from the fact that the headphone jack is no more detected (I checked that through the pavucontrol application).



So, first, I would like to have a way on command line only to check if the headphone jack is detected or not. Then, second, I would like to better understand how pulseaudio and alsa interact and can be triggered. And, finally, if somebody has an idea on how to make this auto-detection work, I would be extremely grateful! :)







share|improve this question
















  • 2




    Autodetection is normally performed by ALSA. If it is failing then the issue is there. There may be an input device associated with the audio hardware; you can check there for events to see in insertion can be detected.
    – Ignacio Vazquez-Abrams
    Dec 13 '17 at 17:11












up vote
1
down vote

favorite









up vote
1
down vote

favorite











I am running a Debian unstable (updated on a daily basis) with a Gnome3 desktop. Since a few months, the auto-detection of the headphone jack stopped to work totally. Previously, the audio mixer of the Gnome3 desktop would automatically switch the audio to the headphone and mute the speakers when the headphone jack is detected.



Right now, it seems that the detection of the headphone jack is no more working anymore. So, I have to set the sound and the desired audio channel by hand in alsamixer (which is a bit time consuming).



I do believe that the original problem is just coming from the fact that the headphone jack is no more detected (I checked that through the pavucontrol application).



So, first, I would like to have a way on command line only to check if the headphone jack is detected or not. Then, second, I would like to better understand how pulseaudio and alsa interact and can be triggered. And, finally, if somebody has an idea on how to make this auto-detection work, I would be extremely grateful! :)







share|improve this question












I am running a Debian unstable (updated on a daily basis) with a Gnome3 desktop. Since a few months, the auto-detection of the headphone jack stopped to work totally. Previously, the audio mixer of the Gnome3 desktop would automatically switch the audio to the headphone and mute the speakers when the headphone jack is detected.



Right now, it seems that the detection of the headphone jack is no more working anymore. So, I have to set the sound and the desired audio channel by hand in alsamixer (which is a bit time consuming).



I do believe that the original problem is just coming from the fact that the headphone jack is no more detected (I checked that through the pavucontrol application).



So, first, I would like to have a way on command line only to check if the headphone jack is detected or not. Then, second, I would like to better understand how pulseaudio and alsa interact and can be triggered. And, finally, if somebody has an idea on how to make this auto-detection work, I would be extremely grateful! :)









share|improve this question











share|improve this question




share|improve this question










asked Dec 13 '17 at 16:16









perror

1,82841833




1,82841833







  • 2




    Autodetection is normally performed by ALSA. If it is failing then the issue is there. There may be an input device associated with the audio hardware; you can check there for events to see in insertion can be detected.
    – Ignacio Vazquez-Abrams
    Dec 13 '17 at 17:11












  • 2




    Autodetection is normally performed by ALSA. If it is failing then the issue is there. There may be an input device associated with the audio hardware; you can check there for events to see in insertion can be detected.
    – Ignacio Vazquez-Abrams
    Dec 13 '17 at 17:11







2




2




Autodetection is normally performed by ALSA. If it is failing then the issue is there. There may be an input device associated with the audio hardware; you can check there for events to see in insertion can be detected.
– Ignacio Vazquez-Abrams
Dec 13 '17 at 17:11




Autodetection is normally performed by ALSA. If it is failing then the issue is there. There may be an input device associated with the audio hardware; you can check there for events to see in insertion can be detected.
– Ignacio Vazquez-Abrams
Dec 13 '17 at 17:11















active

oldest

votes











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',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
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%2f410685%2fhow-to-enable-auto-detection-of-heaphone-jack-when-plugged-with-alsa-pulseaudio%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f410685%2fhow-to-enable-auto-detection-of-heaphone-jack-when-plugged-with-alsa-pulseaudio%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?