It is not possible to use 'hw:0' device after changing default sound card
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
alsa-lib (Ubuntu) |
Incomplete
|
Medium
|
Martin Pitt |
Bug Description
I have two sound cards, VIA 8235 (on-board) and EWS88MT (multichannel). According to ALSA, first one is VIA and second one EWS, but I have my speaker system hooked on EWS. As gstreamer-based Totem and Rhythmbox uses default sound card as defined by ALSA, I change default in System > Preferences > Sound to EWS (gnome-
However, changing default sound card, and creating these files screws up 'hw:0', etc. definitions. Before change I can record using 'arecord -D hw:0 -f cd test.wav' without problems, after change and creation of files I get this:
pecisk@
ALSA lib confmisc.
ALSA lib conf.c:
ALSA lib confmisc.
ALSA lib conf.c:
ALSA lib conf.c:
ALSA lib pcm.c:2099:
arecord: main:544: audio open error: No such file or directory
For additional info I provide different output from /proc/asound/*:
pecisk@
0 [V8235 ]: VIA8233 - VIA 8235
1 [UART ]: MPU-401 UART - MPU-401 UART
2 [EWS88MT ]: ICE1712 - TerraTec EWS88MT
pecisk@
00-00: VIA 8235 : VIA 8235 : playback 4 : capture 1
00-01: VIA 8235 : VIA 8235 : playback 1 : capture 1
02-00: ICE1712 multi : ICE1712 multi : playback 1 : capture 1
02-01: ICE1712 consumer : ICE1712 consumer : playback 1 : capture 1
02-02: ICE1712 consumer (DS) : ICE1712 consumer (DS) : playback 6
Also .asoundrc and asoundrc. asoundconf:
# ALSA library configuration file
# Include settings that are under the control of asoundconf(1). pecisk/ .asoundrc. asoundconf> _______ _______ _______ _______ _______ _
# (To disable these settings, comment out this line.)
</home/
_______
# ALSA library configuration file managed by asoundconf(1).
#
# MANUAL CHANGES TO THIS FILE WILL BE OVERWRITTEN!
#
# Manual changes to the ALSA library configuration should be implemented
# by editing the ~/.asoundrc file, not by editing this file.
!defaults.pcm.card EWS88MT