Error in almost every application that tries to use alsa

Bug #61049 reported by diega
4
Affects Status Importance Assigned to Milestone
alsa-utils (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

i.e.
$ gnome-sound-properties
ALSA lib confmisc.c:1105:(snd_func_refer) Unable to find definition 'defaults.pcm.ipc_key'
ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:3947:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2146:(snd_pcm_open_noupdate) Unknown PCM dmix:CMI8738MC6
ALSA lib confmisc.c:1105:(snd_func_refer) Unable to find definition 'defaults.pcm.ipc_key'
ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:3947:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2146:(snd_pcm_open_noupdate) Unknown PCM dmix:CMI8738MC6

i have two sound cards
$ cat /proc/asound/modules
 0 snd_cmipci
 1 snd_intel8x0

and the behavior of those is erratical, meaning that not all programs use always the same card

i'm using edgy, i don't know if it was the same in dapper.

diega (diega)
description: updated
Revision history for this message
Malcolm Parsons (malcolm-parsons) wrote :

Please attach ~/.asoundrc and/or /etc/asound.conf if they exist, using the "Add a comment/attachment" link for this bug.

Changed in alsa-lib:
status: Unconfirmed → Needs Info
Revision history for this message
diega (diega) wrote :

$ cat ~/.asoundrc
# ALSA library configuration file

# Include settings that are under the control of asoundconf(1).
# (To disable these settings, comment out this line.)
</home/diego/.asoundrc.asoundconf>

$ cat .asoundrc.asoundconf
# 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 CMI8738MC6
defaults.ctl.card CMI8738MC6
defaults.pcm.device 0
defaults.pcm.subdevice -1

$ cat /etc/asound.conf
cat: /etc/asound.conf: No such file or directory

thanks, c-u

Revision history for this message
Daniel T Chen (crimsun) wrote :

There are two methods of resolving this issue, any one of which is sufficient.

1) Erase ~/.asoundrc*
2) Execute: asoundconf set-default-card CMI8738MC6

Revision history for this message
Daniel T Chen (crimsun) wrote :

Fixed in alsa-utils 1.0.11-6ubuntu2.

Changed in alsa-utils:
status: Needs Info → Rejected
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.