Op donderdag 15 september 2016 12:21:28 CEST schreef Istvan Gabor
Hello:
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?
Thanks in advance,
Istvan
Use Yast - Hardware - Sound Select the prefered sound card, then use the button at the bottom right to set it as the primary sound card. Done. -- Gertjan Lettink, a.k.a. Knurpht openSUSE Board Member openSUSE Forums Team -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org