DF-5509 / trigger_mute.sh
#!/bin/sh # DF-5509 — mechanism proof (fallback / isolating variant): # put the LIVE, fully-initialized driver into exactly the handler-visible # pre-init state by zeroing sc_eintrs only (sc_offs stays CORRECT), then # let one real port-change interrupt arrive (monitor: device_add usb-kbd). # The stock handler path then demonstrates the mute behavior: # status = EHCI_STS_INTRS(EOREAD4(USBSTS)) != 0 (real PCD) # !(status & sc->sc_eintrs) -> goto done WITHOUT ack (ehci.c:1509-1511) # -> permanent level-INTx live-lock. set -e kenv ehciarm.mode=1 kldload /root/ehciarm/ehciarm.ko echo "== MUTED (sc_eintrs=0, sc_offs correct). Trigger: monitor device_add usb-kbd" |