[Pkg-alsa-devel] Bug#340478: libasound2: breaks PMacToonie.conf

Felix C. Stegerman felix at flx.demon.nl
Wed Nov 23 18:12:38 UTC 2005


Package: libasound2
Version: 1.0.10-1
Severity: important
Tags: patch


Hi,

When trying to play sound with xmms I got the following error:
  Message: device: default
  ALSA lib conf.c:1596:(snd_config_load1) :51:1:Unexpected }
  ALSA lib conf.c:2837:(snd_config_hook_load) /usr/share/alsa/cards/PMacToonie.conf may be old or corrupted: consider to remove or fix it
  ALSA lib conf.c:2700:(snd_config_hooks_call) function snd_config_hook_load_for_all_cards returned error: Invalid argument
  ALSA lib pcm.c:1969:(snd_pcm_open_conf) Invalid type for PCM default definition (id: default, value: cards.pcm.default)
  ** WARNING **: alsa_setup(): Failed to open pcm device (default): Invalid argument

Looking at PMacToonie.conf, it seems the line containing
  playback.pcm {
has dissappeared. Adding it seems to fix everything.

I've included a diff file.


Felix


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (900, 'unstable'), (890, 'testing'), (860, 'experimental')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-flx0-ppc
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages libasound2 depends on:
ii  libc6                         2.3.5-8    GNU C Library: Shared libraries an

libasound2 recommends no packages.

-- no debconf information
-- 
Felix C. Stegerman <flx at hccnet.nl>

"Any sufficiently advanced bug is indistinguishable from a feature."
 -- R. Kulawiec
-------------- next part --------------
--- PMacToonie.conf.original	2005-11-23 19:04:34.000000000 +0100
+++ PMacToonie.conf	2005-11-23 19:04:34.000000000 +0100
@@ -28,6 +28,7 @@
 		type string
 	}
 	type asym
+	playback.pcm {
 		type plug
 		slave.pcm {
 			type softvol


More information about the Pkg-alsa-devel mailing list