Re: troubleshooting switch-on-connect and switch-on-port-available

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

 



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




[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux