[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Issue with headset on debian testing



Anton Vorobyov wrote:

> 
> Hi.
> 
> I want to file a bug report, but I am not familiar with sound system in
> linux enough to determine which package is to blame.
> 
> So, my issue started only recently. I have a laptop with Debian Testing.
> Previously, when I plug in my headset (2x 3.5mm jacks - one for
> headphones, one for mic) the system automatically switched to it, both
> input and output. After some system update whenever I plug my headset in,
> Gnome started showing prompt if I plugged in headphones, headset or
> external mic, and according to my choice it configures sound settings.
> 
> The issue is that when I have Headphones selected for output and External
> mic for input (which correspond to my headset headphones and mic
> correspondingly), sound cannot be played via headset’s headphones.
> Whenever I switch input from external mic to built-in laptop mic, sound
> from headphones resumes. But it results in me being unable to use the
> headset (as I am unable to use either headphones or mic).
> 
> I believe the issue started after an upgrade which involved linux image
> update from 5.3.9-3 to 5.4.8-1. I haven’t been able to confirm that as
> rolling back to the older kernel version did not fix the issue, though. I
> did multiple system updates before final reboot which exposed the issue,
> so identifying which update broke it is very hard.
> 
> I have spent some time to rule out PulseAudio as possible cause of the
> issue. More details on the issue overall and how I ruled PA out are
> available in this thread: 
> http://forums.debian.net/viewtopic.php?f=6&t=144902
> 
> I have little understanding on what is involved in the sound system below
> PA. ALSA? Kernel? What could be broken and how to debug it?
> 
> Any help is appreaciated.
> 
> Regards,
> -av


First of all you choose using testing + unstable. Secondly you do not have
understanding of all the sub systems. Why not choosing stable then?

Regarding the problem my view: PA is mixer layer on top of ALSA and it gives
an interface for applications to use the audio system in an easy way.

To stop PA relaunching you put in the config file autospawn=no and shut down
PA.

Then you start PA in the console with verbose output and repeat your use
case.

Honestly what I think is that if you are connected with 3.5" jacks to
line/mic in and line/audio out from the headset could be that the system
automatically mutes one input/output in favor to another.

>From your description of the problem
http://forums.debian.net/viewtopic.php?f=6&t=144902 it looks like it could
be also a wrong mapping or configuration within alsa. Then it could be that
you might want to look any specific settings for the audio card.

For this you could use amixer or aplay. In my opinion it is better to use
pavucontrol with PA enabled.

I also think it could be some driver settings or udev rule ... hard to say.
When I look for your audio card, I get many recent (2019) issues related
with this card. Very interesting I found
https://blog.kafaiworks.com/posts/arch-linux-audio-setup-on-msi-gp63/

regards


Reply to: