Spurious headphone detection interrupts
#7
I'm running NetBSD. NetBSD doesn't have /proc/interrupts. We should be seeing the same thing though; your /proc/interrupts should be the same as my intrctl list. The hardware is the same. But again, I don't know how interrupts work on the PBP, at all. So, I can only surmise that the IRQ numbers are software-generated, not hardware-generated. Else we should have similar IRQ numbers. I suppose by comparing occurrences we could guess at which ones align between Manjaro and NetBSD.

Code:
pbp$ uptime
1:02AM  up  1:02, 4 users, load averages: 1.42, 1.30, 1.32
pbp$ intrctl list
interrupt id    CPU0    CPU1    CPU2    CPU3     CPU4     CPU5  device name(s)
gicv3 irq 0   956881* 337991* 382453* 456935* 1556493* 1380410* IPI ast
gicv3 irq 1      505*    509*    449*    488*     440*     279* IPI xcall
gicv3 irq 2        0*      0*      0*      0*       0*       0* IPI nop
gicv3 irq 3        0*      0*      0*      0*       0*       0* IPI shootdown
gicv3 irq 4        0*      0*      0*      0*       0*       0* IPI ddb
gicv3 irq 5   181484*   5899*   7603*  10334*    6726*    5807* IPI generic
gicv3 irq 23       0*      0*      0*      0*       0*       0*
gicv3 irq 27  374141* 374099* 374099* 374100*  374085*  374086*
gicv3 irq 43   50788*      0       0       0        0        0  
gicv3 irq 58       0*      2*      0*      0*       0*       0*
gicv3 irq 60    3152*   3280*   3205*   3242*    3197*    3127*
gicv3 irq 62       9*     10*      5*      6*       5*       8*
gicv3 irq 64       0*      0*      0*      0*       0*       0*
gicv3 irq 72       0*      0*      0*      0*       0*       0*
gicv3 irq 96       6*      0       0       0        0        0  
gicv3 irq 97       0*      0       0       0        0        0  
gicv3 irq 129      0*      0*      0*      0*       0*       0*
gicv3 irq 131      0*      1*      0*      0*       0*       0*
gicv3 irq 132      0*      0*      0*      0*       0*       0*
gicv3 irq 137      0*      0*      0*      0*       0*       0*
gicv3 irq 142  78732*  83358*  81044*  80077*   79508*   79194*

Very odd; I booted at 0:00 UTC, completely by accident!

Since I don't know anything about interrupts on these systems, I kind of wonder if they could be called by software. I suppose so; but I wonder if that would show up in the occurrence count; and I wonder why Manjaro would call that interrupt.

I checking my wife's PBP running Manjaro. It has an uptime of over 12 days, and has 0 occurrences of the IRQ associated with headphone detection. I do notice that the IRQ numbers don't match yours or mine, and I also notice that yours have changed. So clearly the IRQ number is software generated. Mine (NetBSD) don't appear to change from boot to boot.

Also significant: My PBP has the serial console enabled. My wife's does not.
  Reply


Messages In This Thread
RE: Spurious headphone detection interrupts - by KC9UDX - 01-07-2021, 07:05 PM

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

Forum Jump:


Users browsing this thread: 9 Guest(s)