Does the HP Compaq dc5800 small form factor have internal speaker(s) in the computer box?
I have only been able to get sound by connecting to the sound port with a speaker or monitor.
If it has internal speakers, I will ask on the Linux board why it's not working.