![](https://seccdn.libravatar.org/avatar/a836ff90f492078f494adcf0c6059fc6.jpg?s=120&d=mm&r=g)
Istvan Gabor composed on 2016-09-15 06:21 (UTC-0400):
I have a computer which has 2 sound devices, an Intel HDMI and an Intel PCH analog device. I use openSUSE 13.1. I would like to disable pulseaudio and use ALSA instead. But occasionally I need to use pulseaudio, these times I want to run pulseaudio in a konsole window as user. When my computer boots it configures HDMI sound device as default, and the PCH device as the second device. For pulseaudio this is not a problem, but ALSA gives error. I followed the instructions suggested at the site SDB:Audio troubleshooting (https://en.opensuse.org/SDB:Audio_troubleshooting) under "Intel HDA chipset" section (close to the bottom). Now my /etc/modprobe.d/50-sound.conf file looks like:
options snd slots=snd-hda-intel,snd-hda-intel # 3hqH.8EjpIr9tE67:Intel Corporation alias snd-card-1 snd-hda-intel # u1Nb.T8kD_XvPfB2:Intel Corporation alias snd-card-0 snd-hda-intel options snd-hda-intel id=PCH index=0 options snd-hda-intel id=HDMI index=1
This works with ALSA when pulseaudio is disabled. But when I run pulseaudio manually, then applications can't find the device ("ALSA error: snd_pcm_open failed; Device or resource busy." error message.). So, how can I configure my sound cards order so that ALSA would find them when pulseaudio is disabled, and applications could use pulseaudio's ALSA-plugin (ALSA back) when pulseaudio is running?
I am pretty sure that the problem is cause by the order of devices, because on another computer with only one sound device I can play sound with pulseaudio enabled and with pulseaudio disabled without changing any configuration.
Another question: After I have modified /etc/modprobe.d/50-sound.conf file, how can I make the changes effective without restarting the computer?
I had trouble with my Haswell. IIRC, my solution primarily depended on appending options snd-hda-intel index=1,0 to /etc/modprobe.d/99-local.conf, which was a result of help from Takashi Iwai here and in BOO. # lspci | grep udi 00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06) 00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 04) # lsmod | grep snd snd 94208 12 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel snd_hda_codec 131072 5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller snd_hda_codec_generic 81920 1 snd_hda_codec_realtek snd_hda_codec_hdmi 57344 1 snd_hda_codec_realtek 98304 1 snd_hda_controller 36864 1 snd_hda_intel snd_hda_core 36864 5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec,snd_hda_controller snd_hda_intel 36864 2 snd_hwdep 16384 1 snd_hda_codec snd_pcm 139264 4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller snd_timer 36864 1 snd_pcm soundcore 16384 1 snd Excerpts from rpm -qa (note absence of pulseaudio package): alsa-1.0.29-10.1.x86_64 alsa-firmware-1.0.29-3.2.noarch alsa-oss-1.0.28-5.2.x86_64 alsa-plugins-1.0.29-10.1.x86_64 alsa-utils-1.0.29-9.1.x86_64 arts-1.5.10-66.2.x86_64 kdebase3-kdm-3.5.10.1-394.2.x86_64 kdelibs3-arts-3.5.10-285.1.x86_64 kdemultimedia3-3.5.10.1-50.1.x86_64 kdemultimedia3-arts-3.5.10.1-50.1.x86_64 kdemultimedia3-mixer-3.5.10.1-50.1.x86_64 kdemultimedia3-sound-3.5.10.1-50.1.x86_64 kdemultimedia3-video-3.5.10.1-50.1.x86_64 libasound2-1.0.29-10.1.x86_64 libasound2-32bit-1.0.29-10.1.x86_64 libphonon4-4.8.1-2.3.x86_64 libpulse-mainloop-glib0-7.0-5.1.x86_64 libpulse0-7.0-5.1.x86_64 pavucontrol-3.0-5.3.x86_64 phonon-backend-vlc-0.9.0-3.3.x86_64 -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org