Public bug reported:

I've upgraded my Kubuntu Feisty to Gusty RC and I have been experiencing 
problems with sound (it worked fine previously)
Sound was not working anymore when using alsa-lib, but was working when using 
oss (the hardware was thus not in cause).

When a program (being kcontrol, or any other program trying to use alsa) 
accessed alsa-lib, it printed the following errors:
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 
'defaults.pcm.dmix.device'
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_refer returned 
error: No such file or directory
ALSA lib conf.c:3982:(snd_config_expand) Evaluate error: No such file or 
directory
ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM default
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 
'defaults.namehint.extended'
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_refer returned 
error: No such file or directory
ALSA lib conf.c:3982:(snd_config_expand) Evaluate error: No such file or 
directory
ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM plughw:0,0

Furthermore, my .xsession-errors was filled with those lines:
./.xsession-errors:ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM 
plughw:0,0

After a long search, I've finally apt-get install --reinstall libasound2, to 
see with surprise the following comment:
"You may need to execute the asoundconf(1) set-default-card macro."

Indeed, after setting this, everything works fine.
Yet the probability that someone with the same problem as I would do a manual 
reinstall of libasound2 in a command line is tiny.
When doing the normal upgrade, the comment is not seen, and anyone with more 
than one sound card will have broken sound.
One way to solve this problem would be to default sound card as the one with 
first ID on upgrade.

asoundconf set-default-card

** Affects: alsa-lib (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Sound not working anymore when "asoundconf set-default-card" has not been 
executed one upgrade
https://bugs.launchpad.net/bugs/154036
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to