Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 125349

Summary: redhat-config-soundcard crash when launched. two soundcards
Product: [Fedora] Fedora Reporter: Andy Pengelly <apengelly>
Component: system-config-soundcardAssignee: Bastien Nocera <bnocera>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 2CC: ben.stanley
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-21 19:03:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
/etc/sysconfig/hwconf
none
simple workaround none

Description Andy Pengelly 2004-06-04 23:01:12 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040510

Description of problem:
I have upgraded from FC1 to FC2.  I have two sound cards installed. 
Both sound cards worked OK under FC1.  When I try to run
system-config-soundcard it crashes, as shown below.  I think it is a
re-occurance of bug 115198, but I couldn't re-open that bug.  I hope
the following is useful:

[root@localhost root]# rpm -q system-config-soundcard
system-config-soundcard-1.2.8-1
[root@localhost root]# cat /etc/modules.conf | grep sound
alias sound-slot-0 cmpci
alias sound-slot-1 emu10k1
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L
>/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S
>/dev/null 2>&1 || :
post-install sound-slot-1 /bin/aumix-minimal -f /etc/.aumixrc -L
>/dev/null 2>&1 || :
pre-remove sound-slot-1 /bin/aumix-minimal -f /etc/.aumixrc -S
>/dev/null 2>&1 || :
[root@localhost root]# lspci | grep audio
00:09.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1
(rev 0a)
02:04.0 Multimedia audio controller: C-Media Electronics Inc CM8738
(rev 10)
[root@localhost root]# system-config-soundcard
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 160, in
__init__
   
self.primaryDeviceMenu.set_active(self.cardList.index(self.soundcardBackend.getDefaultCard()))
ValueError: list.index(x): x not in list
[root@localhost root]#


Version-Release number of selected component (if applicable):
1.2.8-1

How reproducible:
Always

Steps to Reproduce:
1.Become root
2.Run system-config-soundcard
3.
    

Actual Results:  system-config-soundcard failed with ValueError

Expected Results:  I should have been able to configure one or both of
the soundcards.

Additional info:

Comment 1 Bastien Nocera 2004-07-21 16:57:47 UTC
Could you please attach your /etc/sysconfig/hwconf?

Comment 2 Andy Pengelly 2004-07-26 12:18:25 UTC
Created attachment 102200 [details]
/etc/sysconfig/hwconf

hwconf as requested.

Comment 3 Olivier Andrieu 2004-08-05 13:18:01 UTC
Created attachment 102446 [details]
simple workaround

Same symptoms for me (two soundcards)

Comment 4 Bill Nottingham 2004-09-17 21:49:15 UTC
Please test with 1.2.9-1.

Comment 5 Bill Nottingham 2004-09-17 21:49:31 UTC
*** Bug 129225 has been marked as a duplicate of this bug. ***

Comment 6 Bastien Nocera 2004-09-19 13:17:58 UTC

*** This bug has been marked as a duplicate of 81843 ***

Comment 7 Red Hat Bugzilla 2006-02-21 19:03:58 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.