Bug 158064

Summary: s-c-s bypasses specific configuration for sound cards
Product: [Fedora] Fedora Reporter: Martin Stransky <stransky>
Component: system-config-soundcardAssignee: Bastien Nocera <bnocera>
Status: CLOSED RAWHIDE 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: 2005-05-18 11:41:24 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:
Bug Depends On:    
Bug Blocks: 130593    
Attachments:
Description Flags
patch for s-c-s none

Description Martin Stransky 2005-05-18 10:38:59 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050323
Fedora/1.7.6-1.3.2

Description of problem:
If s-c-s writes to /etc/asound.conf lines

pcm.!default { type hw card 0 }
ctl.!default { type hw card 0 }

they will bypass specific configuration for cards (soft volume, sw mixing) and
alsa will use only basic hardware device.

But if we use 

defaults.pcm.card 0
defaults.pcm.card 0

ALSA can use specific config stored in /etc/alsa/cards

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


How reproducible:
Always

Steps to Reproduce:
1. run s-c-s
2. choose default card
3. look to /etc/asound.conf
    

Actual Results:  Cards can't use config in /etc/alsa/cards

Expected Results:  Cards can use config in /etc/alsa/cards

Additional info:

Comment 1 Martin Stransky 2005-05-18 10:38:59 UTC
Created attachment 114500 [details]
patch for s-c-s

Comment 2 Bastien Nocera 2005-05-18 11:02:54 UTC
Looks great, feel free to commit.

Comment 3 Martin Stransky 2005-05-18 11:41:24 UTC
done.