Well I finally got hdmi sound, thanks for the suggestion about the cable, actually I was almost to the point of using the headphone jack on the laptop since it is usually right beside my display, here is the link involved in solving this issue,
http://vaioubuntu.wordpress.com/2009/07 ... ulseaudio/I only followed this article down to the figure or box window whatever you want to call it, running the grep script should give you the lines to add to your default.pa file, although your result may be a little different mine was,
pdlu@pdlu-D900F:~$ sudo aplay -l | grep -o -e "card [0-9]:.*[0-9]:" | sed -e "s/card \([0-9]\): \(.*\) \[.*device \([0-9]\).*/load-module module-alsa-sink device=hw:\1,\3 sink_name=\2/"
load-module module-alsa-sink device=hw:0,0 sink_name=Intel
load-module module-alsa-sink device=hw:0,1 sink_name=Intel
load-module module-alsa-sink device=hw:0,6 sink_name=Intel
load-module module-alsa-sink device=hw:1,3 sink_name=NVidia
load-module module-alsa-sink device=hw:1,7 sink_name=NVidia
load-module module-alsa-sink device=hw:1,8 sink_name=NVidia
load-module module-alsa-sink device=hw:1,9 sink_name=NVidia
I did not insert all of this here is what I inserted,
load-module module-alsa-sink device=hw:0,0 sink_name=Intel
load-module module-alsa-sink device=hw:1,7 sink_name=NVidia
To narrow it down to these to I used this command,
pdlu@pdlu-D900F:~$ sudo aplay -D plughw:0,0 /usr/share/sounds/alsa/Front_Center.wav
Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
pdlu@pdlu-D900F:~$ sudo aplay -D plughw:1,7 /usr/share/sounds/alsa/Front_Center.wav
Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
These are the first successful tries for this cmd one for analog and one for hdmi, your results may be different and I do not know the result of adding all the results from the script so be careful, after adding the two lines to the default.pa I restarted, after logging in I accessed the sound preferences from the speaker icon, selected the output tab, before I only had two devices present now I had four, selecting the second high definition device gave me hdmi sound even though it was not labeled hdmi.
It should be noted the hdmi video and sound will not switch back to your laptop like it will in windows with the plugging and unplugging of the hdmi cable.