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 106748

Summary: Detection problem with multiple audio devices
Product: [Fedora] Fedora Reporter: Ulrich Drepper <drepper>
Component: redhat-config-soundcardAssignee: Bastien Nocera <bnocera>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-21 18:59:03 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:

Description Ulrich Drepper 2003-10-10 06:08:03 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6a) Gecko/20031009
Firebird/0.7+

Description of problem:
I have a usb webcam with builtin microphone (no audio output) and a emu10k.  The
usb driver is loaded first and claims the first audio devices.  This includes
the /dev/dsp device.  The soundcard uses /dev/dsp1.

When running redhat-config-soundcard there is nothing but silence since /dev/dsp
is used.

r-c-s should detect that there is more than one output device.  Gnomemeeting
does, so it is possible.  If more than one device is present it should ask the
others.  Once the correct device is found (i.e., the user declared s/he heard
something) the spwan_options line in /etc/esd.conf should be extended with -d
/dev/dspX.

Version-Release number of selected component (if applicable):
redhat-config-soundcard-1.0.8-2

How reproducible:
Always

Steps to Reproduce:
1.get web usb cam
2.get some sound card (I guess it doesn't matter which)
3.start system
    

Actual Results:  r-c-s and esd don't use correct device.

Expected Results:  r-c-s should allow testing all devices and adjust esd.conf
appropriately.

Additional info:

I think this is a common problem.  I know of at least one other case personally.
 If there is r-c-s, why doesn't it really try hard to do its job?

Comment 1 Brent Fox 2004-03-11 20:52:15 UTC
Have you had a chance to test with the FC2 trees?  The switch to ALSA
may improve the situation.

Comment 2 Dimitris 2004-07-18 11:42:30 UTC
I've had the same problem.

The microphone on the USB webcam is loaded as the FIRST sound card.

Thus many people complain that they loose sound when they boot
with their webcam connected!

This shouldn't happen, if the system has more than one sound
devices, the user should be asked which one will be used primary.

The same problem happens when multiple sound cards are installed.

In order to fix the problem with the USB webcam microphone, this
has to be added in the modprobe.conf:

alias snd-card-0 <your-sound-module>
options <your-sound-module> index=0

alias snd-card-1 snd-usb-audio
options snd-usb-audio index=1

this will make the usb microphone come second, thus not
affect the overall sound output of the system.


Comment 3 Bastien Nocera 2004-09-19 13:14:01 UTC

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

Comment 4 Red Hat Bugzilla 2006-02-21 18:59:03 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.