[pulseaudio-discuss] troubleshooting switch-on-connect and switch-on-port-available
Krister
thekswenson at gmail.com
Tue Oct 26 12:33:32 UTC 2021
Hi Sean,
Thanks for the message. It helped me realize what the real issue is: when
the machine is plugged into a screen via the USB-C -> HDMI dongle, then the
audio IO doesn't switch. When the external monitor is disconnected,
however, then the headphones do take control when plugged in!
I would expect the headphones to take control under all circumstances, even
when an external monitor is attached, as the reason for plugging in
headphones is to use them! Would you agree that this may be considered a
bug? Would it warrant opening an issue?
kms
On Sat, Oct 23, 2021 at 2:33 AM Sean Greenslade <sean at seangreenslade.com>
wrote:
> On Thu, Oct 21, 2021 at 09:42:51AM +0200, Krister wrote:
> > I have a new Inspiron 7320 detachable, and was able to get sound
> > working by compiling a recent SOF kernel (see
> > https://github.com/thesofproject/linux/issues/3161). Both the input
> > and output device are detected automatically but I have to manually
> > choose the Headphones output device every time I plug them in.
> >
> > I followed the instructions on this link
> > (https://askubuntu.com/a/1268529/14747) in order to try to see the
> > plugged in event using `log-level = debug` and journalctrl but there
> > is no message printed when I plug in the headphones. Could someone
> > please give me some hints on how to troubleshoot this situation?
>
> Hi, Krister.
>
> Can you try installing and running "evtest" and seeing if that displays
> a SW_HEADPHONE_INSERT event when you plug or unplug the headphones? Be
> sure to select the event number that corresponds to your headphone jack.
> Mine was called "HDA Intel PCH Headphone", yours may differ.
>
> One other thing I can think of is to try different headphones. A lot of
> newer devices use electrical detection (e.g. impedence sensing) to
> determine if headphones are plugged in, and some types of headphones
> might not reliably detect. You might also try some TRS vs. TRRS style
> headphones to see if that makes any difference.
>
> --Sean
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20211026/1ebd69d0/attachment.htm>
More information about the pulseaudio-discuss
mailing list