Bug 133399 - problems with two soundcards
Summary: problems with two soundcards
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-soundcard
Version: 3
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Martin Stransky
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-09-23 18:35 UTC by Patrice Dumas
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-05-30 10:49:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
/etc/sysconfig/hwconf (4.86 KB, text/plain)
2004-10-04 19:51 UTC, Patrice Dumas
no flags Details
/etc/modprobe.conf (572 bytes, text/plain)
2004-10-04 19:52 UTC, Patrice Dumas
no flags Details

Description Patrice Dumas 2004-09-23 18:35:54 UTC
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)

Comment 1 Bastien Nocera 2004-09-30 23:07:18 UTC
Could you please attach your /etc/modprobe.conf and
/etc/sysconfig/hwconf files?

Comment 2 Féliciano Matias 2004-10-01 11:16:28 UTC
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.

Comment 3 Patrice Dumas 2004-10-04 19:51:36 UTC
Created attachment 104739 [details]
/etc/sysconfig/hwconf

Comment 4 Patrice Dumas 2004-10-04 19:52:23 UTC
Created attachment 104740 [details]
/etc/modprobe.conf

Comment 5 Martin Stransky 2005-05-30 10:49:12 UTC
fixed in s-c-s 1.2.12 & alsa-lib 1.0.9rc4-2.


Note You need to log in before you can comment on or make changes to this bug.