Jump to content

Sorry for that title. Here's my problem: 

 

My PC runs Ubuntu 20.10,  with a Soundblaster Audigy card as the audio output device.

I disabled the onboard sound, but the 1660 Super is able to put out audio through HDMI. 

 

The problem is that when I reboot, sometimes the order of the devices changes in /proc/asound/cards: 

# cat /proc/asound/cards
 0 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xf7080000 irq 17
 1 [Audigy2        ]: Audigy2 - SB Audigy 5/Rx [SB1550]
                      SB Audigy 5/Rx [SB1550] (rev.0, serial:0x10241102) at 0xd000, irq 16

In order to get the whole thing working, I had to set the Audigy as default device in /etc/asound.conf: 

# cat /etc/asound.conf 
defaults.pcm.card 1
defaults.ctl.card 1

So when I reboot my machine, It's possible that the Audigy becomes card 0, and I get no sound, because the Nvidia is the default device. 

It gets a little more complicated when I connect other stuff. I have a macro pad with a MIDI slider that is recognized as a sound device, a USB webcam and a USB Microphone. These are only connected when needed. 

 

Is there a way to set the order in proc/asound/cards manually? Or is there a way to tell /etc/asound.conf to use the Soundblaster, no matter which number it has? 

 

 

 

Link to comment
https://linustechtips.com/topic/1322149-ubuntu-soundblaster-problem-with-sorting/
Share on other sites

Link to post
Share on other sites

22 minutes ago, el_murdoque said:

I already did more or less what is specified there.

 

The problem is that /proc/asound/cards changes the order of cards sometimes when I reboot and this is not adressed in the article. 

 

So you configured the index of your sound devices so they don't change order on boot? Because that seems to be what your asking for.

Quote

Configuring the index order via kernel module options

If your sound card order changes on boot, you can specify their order in any file ending with .conf in /etc/modprobe.d (/etc/modprobe.d/alsa-base.conf is suggested).

 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×