Hi Ledbroke,
Thank you for visiting the HP Support Forums and Welcome. I have read your thread on your HP Pavilion dv2700 Notebook and having sound issues when headphones attached. Here is a document on troubleshooting audio problems with external speakers, headphones, and HDMI sound devices. Under the two quick test section it shows you how to troubleshoot headphones.
Hope this helps.
Thanks