I'm in the USA and I've tried connecting my Raspberry Pi 2 to an HDMI monitor with internal speakers, and also to an HDMI equipped big screen TV, But the HDMI Sound will not work. I verified TV's speakers work fine. Also, I verified that the Monitor's speakers work fine.
I have an intel NUC (no legacy video or audio ports) with Kubuntu 14.04 that uses the internal speakers on the HDMI Monitor, and that works fine.
What do I have to configure to get the RPi2's HDMI to transmit sound? I'm guessing that the RPi2 transmit sound using legacy audio by default, and I have to configure a file somewhere to tell it to transmit via the HDMI cable instead.
PS- this RPi2 will not connect to wifi hotspots either, even though it finds them and reports their signal strength, and I know the password and have connected to the wifi with a laptop and desktop (with Kubuntu and Ubuntu). I mention this in case there's a rare hardware failure that could affect both wifi and hdmi audio. Also I mention that I'm in the USA in case Raspbian sets up some British defaults (that I'm completely unaware of) that are incompatible with USA hardware.
EDIT --NEW INFORMATION--
I downloaded and then installed Ubuntu-Mate-15.10.1 onto the Raspberry Pi 2. Both HDMI sound (and wifi adapter) worked perfectly and effortlessly immediately after installation.
I also downloaded and installed the very latest version of Raspbian [ 2016-02-09 ] Both HDMI sound ( and wifi adapter ) continued to fail, as before.
So, this is definitely Not a Hardware problem with my Raspberry Pi 2. It's certainly an issue with Raspbian, the operating system. Since everyone from Britain and Australia seem to have no problem with HDMI sound (or wifi adapters) using Raspbian, I wonder if this could be a regional incompatibility issue or some sort of hardware blockage by region?