How to disable hdmi card?

Talk about your MIDI interfaces, microphones, keyboards...

Moderators: MattKingUSA, khz

Post Reply
deepakdeshp
Established Member
Posts: 14
Joined: Tue Dec 03, 2019 8:31 am

How to disable hdmi card?

Post by deepakdeshp »

Hello,
I am running Mint 19.2 Linux. I want to disable the hdmi card listed below.

Code: Select all

cat /proc/asound/cards
 0 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xf0e60000 irq 44
 1 [Generic        ]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0xf0e64000 irq 45
Pavucontrol looks like this.
pavucontrol.png
pavucontrol.png (11.69 KiB) Viewed 1286 times
User avatar
Linuxmusician01
Established Member
Posts: 1542
Joined: Mon Feb 23, 2015 2:38 pm
Location: Holland
Has thanked: 772 times
Been thanked: 142 times

Re: How to disable hdmi card?

Post by Linuxmusician01 »

As far as I know you can't. You can, however, change the order of sound cards (I think that's what you'd want) (link):

Determine module name to put as number one with the command:

Code: Select all

cat /proc/asound/modules
Example for output:

Code: Select all

0 snd_hda_intel
1 snd_usb_intel
Then edit, as root, the file /etc/modprobe.d/alsa-base.conf and add:

Code: Select all

options snd_usb_intel  index=0
options snd_hda_intel  index=1
Reboot. :)
deepakdeshp
Established Member
Posts: 14
Joined: Tue Dec 03, 2019 8:31 am

Re: How to disable hdmi card?

Post by deepakdeshp »

Linuxmusician01 wrote:As far as I know you can't. You can, however, change the order of sound cards (I think that's what you'd want) (link):

Determine module name to put as number one with the command:

Code: Select all

cat /proc/asound/modules
Example for output:

Code: Select all

0 snd_hda_intel
1 snd_usb_intel
Then edit, as root, the file /etc/modprobe.d/alsa-base.conf and add:

Code: Select all

options snd_usb_intel  index=0
options snd_hda_intel  index=1
Reboot. :)
Thanks but both the cards 0 and 1 are shown as the same.

Code: Select all

 cat /proc/asound/modules
 0 snd_hda_intel
 1 snd_hda_intel
User avatar
Linuxmusician01
Established Member
Posts: 1542
Joined: Mon Feb 23, 2015 2:38 pm
Location: Holland
Has thanked: 772 times
Been thanked: 142 times

Re: How to disable hdmi card?

Post by Linuxmusician01 »

deepakdeshp wrote: Thanks but both the cards 0 and 1 are shown as the same.

Code: Select all

 cat /proc/asound/modules
 0 snd_hda_intel
 1 snd_hda_intel
Then, I think, you cannot disable the first: tey're both on the same sound chip (or: sound card). This is how the Intel sound chip shows up in my system:

Code: Select all

 1 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xf7c10000 irq 45
That is: both the PCH (analog?) and digital HDMI part on the same chip/device. I als have another old PCI sound card in my system that I've set as No. 1.
Post Reply