Spurious headphone detection interrupts

I have observed generation of spurios headphone detection interrupts on my second-batch PineBook Pro.  The interrupt count increases with no headphones being plugged in or out, which is obviously not the expected behavior.  I have also verified that music playback through internal speakers does not cause the tnterrupt count to increase.

You can check the above-described interrupt count by running something like this:

cat /proc/interrupts | grep Headphone

This is what I get as the output for the command above, after about six hours of uptime:

73:   6   0   0   0   0   0   rockchip_gpio_irq   8 Edge   Headphone detection

Of course, there should be a total of zero interrupts generated, instead of six as visible above.

I already looked at the PineBook Pro schematic, board DTS file, and the ES8316 driver in the Linux kernel.  However, I'd refrain from spending a lot of time digging into this, until we can establish it as a known, non-isolated issue.

Could anyone, please, confirm the above-described issue?

Messages In This Thread
Spurious headphone detection interrupts - by dsimic - 12-27-2020, 06:22 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Microphone in through headphone jack SageFox 1 1,829 03-26-2020, 12:27 PM
Last Post: zaius

Forum Jump:

Users browsing this thread: 1 Guest(s)