From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040809 Description of problem: This is the same bug as https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=81843 I have 2 soundcards. If there is no line alias snd-card-0 snd-emu10k1 in modprobe.conf, or if the line is alias snd-card-1 snd-emu10k1 system-config-soundcard crashes. [root@chapelle ~]# system-config-soundcard /usr/share/system-config-soundcard/soundcard.py:151: DeprecationWarning: use gtk.ComboBox self.primaryDeviceOptionMenu = gtk.OptionMenu() Traceback (most recent call last): File "/usr/share/system-config-soundcard/system-config-soundcard.py", line 46, in ? app = soundcard.childWindow() File "/usr/share/system-config-soundcard/soundcard.py", line 159, in __init__ self.primaryDeviceMenu.set_active(self.cardList.index(self.soundcardBackend.getDefaultCard())) ValueError: list.index(x): x not in list The working modprobe.conf is (for the tests): include /etc/modprobe.conf.dist alias snd-card-0 snd-emu10k1 alias usb-controller ohci-hcd alias eth1 e100 Version-Release number of selected component (if applicable): system-config-soundcard-1.2.9-1 How reproducible: Always Steps to Reproduce: 1. remove the alias snd-card-0 snd-module line in modprobe.conf 2. run system-config-soundcard 3. Actual Results: a crash [root@chapelle ~]# system-config-soundcard /usr/share/system-config-soundcard/soundcard.py:151: DeprecationWarning: use gtk.ComboBox self.primaryDeviceOptionMenu = gtk.OptionMenu() Traceback (most recent call last): File "/usr/share/system-config-soundcard/system-config-soundcard.py", line 46, in ? app = soundcard.childWindow() File "/usr/share/system-config-soundcard/soundcard.py", line 159, in __init__ self.primaryDeviceMenu.set_active(self.cardList.index(self.soundcardBackend.getDefaultCard())) ValueError: list.index(x): x not in list Expected Results: launch system-config-soundcard Additional info: The other soundcard is an integrated 00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] Sound Controller (rev a0)
Could you please attach your /etc/modprobe.conf and /etc/sysconfig/hwconf files?
Confirmed here with system-config-soundcard 1.2.10 . s-c-sc crash with snd-ens1371 and snd-via82xx. In soundcardBackend.py, self.defaultModule is not correctly set.
Created attachment 104739 [details] /etc/sysconfig/hwconf
Created attachment 104740 [details] /etc/modprobe.conf
fixed in s-c-s 1.2.12 & alsa-lib 1.0.9rc4-2.