Linux Sound Card HDMI problems

1.  How can I change the default audio device from command line?

  • Normally Gui of Ubuntu allows you to do that  (System->Preferences->Sound), like the default input/output device and setting the volume.

      If that not works

[crayon-6ac1a3b07b9f7692750872/]
2. Use The AlsaMixer 

kutayzorlu.com alsamixer HDMI configuration

F1 – Help
F2 – System Information
F6 – Select Sound Card
Esc – Exit the menu

3. Show the all of the sound devices 
[crayon-6ac1a3b07b9fe563525047/]
[crayon-6ac1a3b07b9ff486734668/]
[crayon-6ac1a3b07ba01298790645/]
Other Option list cards
[crayon-6ac1a3b07ba02222693120/]
4. Change it from GRUB
[crayon-6ac1a3b07ba08696114362/]
5. Change the config files and test it by Command Line
[crayon-6ac1a3b07ba09656094440/]
[crayon-6ac1a3b07ba0a488595810/]
Reconfigure again for sound-base
[crayon-6ac1a3b07ba0b817704567/]
 

Restart PC test again,  It works on my pc.
[crayon-6ac1a3b07ba0b302908360/]
This test is very important to find which sound card you need to use,   1, and 3   is important  first is  Device  other is  port.