Knurpht - Gertjan Lettink írta:
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.
Thanks. Unfortunately it is not so simple. Yast setup doesn't work in this case. This is described at openSUSE SDB:Audio troubleshooting (https://en.opensuse.org/SDB:Audio_troubleshooting) site in Intel HDA chipset When you use the built-in audio of your Intel Haswell processor the default audio order is first HDMI and then "PCH" (analog). Changing the order via the OpenSuse 13.2 Sound configuration of the Yast Control Center probably will not work as Yast will try to set the order using: options snd slots=snd-hda-intel,snd-hda-intel I followed the instructions given there to set the order of audio devices (see my OP) but if I run pulseaudio manually it doesn't work. Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org