:: [DNG] Default sound card
Inizio della pagina
Delete this message
Reply to this message
Autore: ael
Data:  
To: dng
Vecchi argomenti: Re: [DNG] Excalibur minimal-live iso preview
Oggetto: [DNG] Default sound card
On Thu, Apr 17, 2025 at 08:21:59PM -0700, Gregory Nowak via Dng wrote:
> > Thanks for testing. I was encouraged by your report to try to get speech
> > working here on my laptop that lists HDMI as card 0, and I managed to do it
> > by creating /etc/asound.conf to set card 1 as the default. Is that how
> > others deal with it?


I have not been following this thread, but I have a laptop here that
defaults to HDMI rather than the builtin soundcard.

I just need to get modprobe to load the right index.

Here I have added a entry under
/etc/modprobe.d
snd_hda.conf
containing :

options snd_hda_intel id=[HDMI,PCH] index=1,0

You can find documentation in alsa-configuration.rst and in this case
also hd-audio.rst under Documentation/sound/ in the kernel source.

All that said there seems to be a bug in initramfs in recent kernals
which fails to obey those options, so you might have to manually
reload snd_hda_intel (again, in this case) after a boot.
As root
# modprobe -r snd_hda_intel
# modprobe snd_hda_intel

or use sudo.

ael