The primary audio jack detection software is MaxxAudio which is included in the Realtek audio driver package. Tried everything, including preboot diagnostics, and then stumbled over this. After a disk swap to SSD I got the 'no speakers or headphones are plugged in' error.