How to disable hdmi card?

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

Moderators: khz, MattKingUSA

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

How to disable hdmi card?

Postby deepakdeshp » Tue Dec 03, 2019 6:19 pm

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
You do not have the required permissions to view the files attached to this post.

User avatar
Linuxmusician01
Established Member
Posts: 696
Joined: Mon Feb 23, 2015 2:38 pm
Location: Holland

Re: How to disable hdmi card?

Postby Linuxmusician01 » Wed Dec 04, 2019 11:38 am

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?

Postby deepakdeshp » Wed Dec 04, 2019 7:07 pm

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: 696
Joined: Mon Feb 23, 2015 2:38 pm
Location: Holland

Re: How to disable hdmi card?

Postby Linuxmusician01 » Thu Dec 05, 2019 11:54 am

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.


Return to “Computer Related Hardware”

Who is online

Users browsing this forum: No registered users and 1 guest