Ubuntu

USB-Audio.conf uses the card_name function, which is not defined

Reported by Michael Baumann on 2007-04-07
2
Affects Status Importance Assigned to Milestone
alsa-lib (Ubuntu)
High
Daniel T Chen

Bug Description

The alsa-lib package uses a USB-Audio.conf which again uses the card_name function to enable dmix depending on the actual USB soundcard.

Now whenever using a USB soundcard device I get:

------------------------------->-8-----------------------------
ALSA lib dlmisc.c:108:(snd_dlsym_verify) unable to verify version for symbol snd_func_card_name
ALSA lib conf.c:3488:(_snd_config_evaluate) symbol snd_func_card_name is not defined inside (null)
ALSA lib confmisc.c:391:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_concat returned error: No such device or address
ALSA lib confmisc.c:1070:(snd_func_refer) error evaluating name
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_refer returned error: No such device or address
ALSA lib confmisc.c:391:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_concat returned error: No such device or address
ALSA lib confmisc.c:1070:(snd_func_refer) error evaluating name
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_refer returned error: No such device or address
ALSA lib conf.c:3968:(snd_config_expand) Evaluate error: No such device or address
------------------------------->-8-----------------------------

According to alsa upstream changelog this function was added between 1.0.14-rc2 and 1.0.14-rc3

Daniel T Chen (crimsun) on 2007-04-07
Changed in alsa-lib:
assignee: nobody → crimsun
importance: Undecided → High
status: Unconfirmed → Confirmed
Daniel T Chen (crimsun) wrote :

Please test the fixed version by replacing /usr/share/alsa/cards/USB-Audio.conf with http://adhd.irule.net/~crimsun/feisty-freeze-exception-request-alsa-lib/USB-Audio.conf

Changed in alsa-lib:
status: Confirmed → Needs Info
Daniel T Chen (crimsun) wrote :

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue, 10 Apr 2007 10:46:59 -0400
Source: alsa-lib
Binary: libasound2-dev lib32asound2-dev lib64asound2 libasound2-doc lib64asound2-dev lib32asound2 libasound2
Architecture: source
Version: 1.0.13-1ubuntu5
Distribution: feisty
Urgency: low
Maintainer: Ubuntu Core Developers <email address hidden>
Changed-By: Daniel T Chen <email address hidden>
Description:
 lib32asound2 - ALSA library (32bit)
 lib32asound2-dev - ALSA library development files (32 bit)
 lib64asound2 - ALSA library (64bit)
 lib64asound2-dev - ALSA library development files (64 bit)
 libasound2 - ALSA library
 libasound2-dev - ALSA library development files
 libasound2-doc - ALSA library developer documentation
Changes:
 alsa-lib (1.0.13-1ubuntu5) feisty; urgency=low
 .
   * debian/patches/{00list,62_add_dmix_usbaudio.dpatch}:
     Don't apply for Feisty release. I made a test patch that has
     yet to receive feedback, so this close to release we take the
     conservative approach (reopens LP #33736).
Files:
 c492e5303ed30ec4fa63ea418ab752fa 1178 libs optional alsa-lib_1.0.13-1ubuntu5.dsc
 891e4584ffa0cb9e10d5004d970ea296 118759 libs optional alsa-lib_1.0.13-1ubuntu5.diff.gz
Original-Maintainer: Debian ALSA Maintainers <email address hidden>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGG6Qse9GwFciKvaMRAs01AJ9yRaskyb0QSBPwMV2T4x46FswZ1ACeNpIj
gznsMYB3Hlx7rnjHNrXu8xo=
=ITOm
-----END PGP SIGNATURE-----

Changed in alsa-lib:
status: Needs Info → Fix Committed

Hi,

On 4/8/07, Daniel T Chen <email address hidden> wrote:
> Please test the fixed version by replacing /usr/share/alsa/cards/USB-
> Audio.conf with http://adhd.irule.net/~crimsun/feisty-freeze-exception-
> request-alsa-lib/USB-Audio.conf

Should I still test it even if you removed the patch for now?
(the file is not available at this place).

Regards,
Michael

Daniel T Chen (crimsun) wrote :

Yes, please still test. Prepend "ignore." to feisty-freeze[..] in the URL.

On Tuesday 10 April 2007, Daniel T Chen wrote:
> Yes, please still test. Prepend "ignore." to feisty-freeze[..] in the
> URL.

The config is working fine here, dmix'ing as it should with my card.
Softvol would be nice, though ;) Will try to add it.

Regards,
Michael

--
reply to: <email address hidden>
ICQ : 24709334, Skype : Braini128

Daniel T Chen (crimsun) wrote :

In Feisty+1, alsa-lib 1.0.14 (or newer) will be used, which will obviate the hacks in the above USB-Audio.conf that I posted.

Closing this bug, as the original issue is now fixed in Feisty.

Changed in alsa-lib:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers