Browsing forum with tapatalk did not ease the reading of threads. My fault :/
After reading back your initial post, I understand now that you want to disable the HDMI output.
This can be done by specifying the default output (pcm) inside the .asoundrc file in your home directory.
Use "aplay -l" to list the card(s) and identify the output number.
Edit either the home ~/.asoundrc or system /etc/asound.conf file.
Put the following lines (update the numbers accordingly to your aplay output)
defaults.pcm.card 1
defaults.pcm.device 0
No need to blacklist something here.
Now reboot and you should have pcm output as default.
Is that doing something different than setting the default sound card in the normal settings?
I've set the default soundcard to the NVidia-CK804 onboard audio many times now (I don't know why two NVidia-CK804s are listed, but choosing either one works) and it keeps going back to HDA-ATI audio after one, or a couple, or a few, or several reboots. I don't want the option for it to try to use HDMI audio to even exist anymore, i.e., I want it to be completely unaware that my video card has HDMI audio. I've never used HDMI audio nor do I ever intend to. Nothing is connected to my video card's HDMI port. I couldn't use HDMI audio even if I wanted to (which I definitely don't), because I don't have anything in my arcade cabinet that can decode an HDMI signal.
If it's possible to blacklist the HDMI audio driver, then that's what I want to do. If "snd_hda_codec_hdmi" isn't the right name to blacklist, then what is?
Trying to use this build of Linux is a nightmare. Apparently the keyboard layout is set to some foreign country's layout, and in the settings there's no option to select anything different (the only option is the one it's currently set to: "es" or something like that), so a lot of the characters either can't be typed at all or are located on different keys than on a U.S. keyboard. Alt codes don't seem to work in Xterm, and pasting into Xterm only seems to work when it wants to.
Okay, it seems that you have to copy text using Shift + Prt Scr in order to paste into Xterm (using Shift + Insert). If you copy it using Geany's menu's copy command, you can paste it back into Geany, but not into Xterm, which is incredibly bizarre. I did some research and it turns out that even something as basic as copy and paste is convoluted in Linux, i.e., multiple ways to copy, multiple ways to paste, and lots of incompatibilities among them. In any case, this is the output of "aplay -l":
**** List of PLAYBACK Hardware Devices ****
card 0: CK804 [NVidia CK804], device 0: Intel ICH [NVidia CK804]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: CK804 [NVidia CK804], device 2: Intel ICH - IEC958 [NVidia CK804 - IEC958]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
And this is what's currently in my home ~/.asoundrc file:
defaults.pcm.card 0
defaults.ctl.card 0
You said to "update the numbers accordingly to your aplay output" but I'm not sure what you mean by that. It appears that it's currently set to card 0 as the default, which is NVidia CK804, which is good, but when it decides to change to HDMI as the default, I assume that's going to change. That's why I want to completely eliminate HDMI audio from the equation (i.e., blacklist it if I can, or better yet, completely delete the HDMI driver), because, due to a bug of some sort, it refuses to keep NVidia CK804 as the permanent default.