[SOLVED]Audio problem with headphones

Everything about X, Gnome, KDE, ... and everything running on it

[SOLVED]Audio problem with headphones

Postby melfn » 2018-03-24 17:40

Hi all, I have a problem with audio. It works fine with the speakers, but when I connect any kind of headphones, the audio continues to be played by the speakers.

Here is the output of alsa-info, ran while the headphones were connected.
I tried several methods I googled, including:
* unmuting and raising the volumes trough pulseaudio
* editing some alsa related files in the /etc/modprobe.d/ directory
* removing all the configuration files of pulseaudio, then killing and restarting pulseaudio
* restoring alsactl
* editing /usr/share/pulseaudio/alsa-mixer/paths/analog-output-headphones.conf

and then rebooting, but none of them worked.
Can you please help me to fix my problem?

Thank you in advance
Last edited by melfn on 2018-03-25 10:19, edited 1 time in total.
melfn
 
Posts: 12
Joined: 2016-09-23 20:41

Re: Audio problem with headphones

Postby Hallvor » 2018-03-24 21:49

Intel Core i5 3320-M CPU @ 2.60 GHz, 6 GB RAM, Intel HD 4000 graphics, 240 GB SSD, Debian Stretch (KDE)
User avatar
Hallvor
 
Posts: 798
Joined: 2009-04-16 18:35
Location: Norway

Re: Audio problem with headphones

Postby melfn » 2018-03-25 10:17

Hallvor wrote:Any luck with this method? https://wiki.debian.org/PulseAudio#Fron ... ot_working


Hi Hallvor, thank you for the reply. I read the guide you posted, but unfortunately, I don't even understand what procedure should I follow to fix my problem. That is because I don't know the meaning of the terms and expressions "toggle feature of a sound card", "bring up the alsamixer", "switch the audio output", "read of a card" and "front panel".
I think someone should rewrite that guide so that it is more understandable by users which are not expert in this field like I am.

Anyway, I searched on the web "switch audio output from the read of the card to the front-panel debian" and I ended up in the pacmd command.
So I did
Code: Select all
pacmd list-cards


That lists informations about the available sound cards. I noticed the output:analog-stereo+input:analog-stereo profile, that I set:
Code: Select all
pacmd set-card-profile 0 output:analog-stereo+input:analog-stereo


This fixed my problem.
melfn
 
Posts: 12
Joined: 2016-09-23 20:41


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 11 guests

fashionable