[Pkg-alsa-devel] Bug#505089: alsa-utils: "asoundconf set-default-card" does not work

Lionel Elie Mamane lionel at mamane.lu
Sun Nov 9 10:03:49 UTC 2008


Package: alsa-utils
Version: 1.0.16-2
Severity: normal

Using "asoundconf set-default-card" creates a non-working
.asoundrc. The error message I get is:

ALSA lib ../../src/confmisc.c:1286:(snd_func_refer) Unable to find definition 'defaults.namehint.extended'
ALSA lib ../../src/conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib ../../src/conf.c:3985:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib ../../../src/pcm/pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM hw:0,0
ALSA lib ../../src/confmisc.c:1286:(snd_func_refer) Unable to find definition 'defaults.namehint.extended'
ALSA lib ../../src/conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib ../../src/conf.c:3985:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib ../../../src/pcm/pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM hw:0,0

The created .asoundrc.asoundconf is:

# 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 CK804
defaults.ctl.card CK804
defaults.pcm.device 0
defaults.pcm.subdevice -1


By contrast, the following .asoundrc works:

#pcm.!default "plughw:CARD=CK804"
pcm.!default "plughw:{CARD CK804}"
#pcm.!default {
#  type plug
#  slave {
#    pcm {
#      type hw
#      card CK804
#    }
#  }
#}
ctl.!default {
    type hw
    card CK804
}



-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_LU.UTF-8, LC_CTYPE=fr_LU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages alsa-utils depends on:
ii  dialog                    1.1-20080819-1 Displays user-friendly dialog boxe
ii  libasound2                1.0.16-2       ALSA library
ii  libc6                     2.7-16         GNU C Library: Shared libraries
ii  libncurses5               5.7-2          shared libraries for terminal hand
ii  linux-sound-base          1.0.17.dfsg-4  base package for ALSA and OSS soun
ii  lsb-base                  3.2-20         Linux Standard Base 3.2 init scrip
ii  module-init-tools         3.4-1          tools for managing Linux kernel mo
ii  pciutils                  1:3.0.0-6      Linux PCI Utilities
ii  python                    2.5.2-3        An interactive high-level object-o
ii  whiptail                  0.52.2-11.3    Displays user-friendly dialog boxe

Versions of packages alsa-utils recommends:
ii  alsa-base                  1.0.17.dfsg-4 ALSA driver configuration files

alsa-utils suggests no packages.

-- no debconf information





More information about the Pkg-alsa-devel mailing list