Hi,
First, thanks very much for the reply. Yes, speakers are set as the default playback device, and yes, both external speakers (as well as headphones) and an external sound card work. Interestingly, the speakers work just fine when tested using HP's UEFI diagnostics, so it would seem this is a software problem. However, no conflicts show up under Device Manager. I'm baffled.