I've been running Ubuntu on my HP Touchsmart IQ504 (a desktop) for two or three years, and I've been through two or three versions of Ubuntu in that time (I'm now on 64-bit, Unity 12.04).

The internal speakers have never worked. Headphones work fine (either through the normal headphone jack or usb port), but I've never heard a sound from the internal speakers.

Until now I've just lived with this problem, but for some reason I'm in the mood to try to fix it.

In the Sound Settings window, one of the options is "Digital Output (S/PDIF) Built-in Audio", which I suppose is the internal speakers.

I dual boot with Vista and the speakers work find in Windows.

Any suggestions?