Skip to contentSkip to conversation

'node->type == SND_CONFIG_TYPE_COMPOUND' failed

DISCUSSION Michael Hirsch 2 participants 4 messages Jan 12, 2009

lore
Share & tools
lore
#0 lore raw

Hello all,

I'm trying to get alsa 1.0.16 working on a ARM PXA processor and I'm stuck with the following error message:

aplay: conf.c: 3166: snd_config_iterator_first: Assertion `node->type == SND_CONFIG_TYPE_COMPOUND' failed.

kernel version matches the user space library and utils version.

searching the archives / google brings no result.

We tried with an empty alsa.conf but then the message:

ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM default
aplay: main:564: audio open error: No such file or directory

appears. However the card shows up /proc/asound/cards and alsamixer is able to access it.

Any ideas?

Best regards

Michael

#1 lore raw

At Mon, 12 Jan 2009 17:12:03 +0100,

Quoted 9 lines · Michael Hirsch

Hello all,

I'm trying to get alsa 1.0.16 working on a ARM PXA processor and I'm stuck with the following error message:

aplay: conf.c: 3166: snd_config_iterator_first: Assertion `node->type == SND_CONFIG_TYPE_COMPOUND' failed.

It somehow means a syntax error of the configuration file. The code expects that the config tree to be a compound type but the given data isn't.

Quoted 6 lines

kernel version matches the user space library and utils version.

searching the archives / google brings no result.

We tried with an empty alsa.conf but then the message:

Quoted 7 lines

ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM default
aplay: main:564: audio open error: No such file or directory

appears. However the card shows up /proc/asound/cards and alsamixer is able to access it.

Any ideas?

Try a newer version of alsa-lib. Possibly fixed, or give you a better error message. At least, this bad "assert" should be gone now.

Takashi

#2 lore raw

Hello,

Quoted 9 lines · Takashi Iwai
Quoted 9 lines

kernel version matches the user space library and utils version.

searching the archives / google brings no result.

We tried with an empty alsa.conf but then the message:

ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM default
aplay: main:564: audio open error: No such file or directory

Quoted 7 lines
Quoted 4 lines

appears. However the card shows up /proc/asound/cards and alsamixer is able to access it.

Any ideas?

Try a newer version of alsa-lib. Possibly fixed, or give you a better error message. At least, this bad "assert" should be gone now.

isn't it an obligation to keep version of user space and kernel in sync? The kernel we use ships with alsa 1.0.16 and this nothing we can change easily.

Michael

#3 lore raw

At Mon, 12 Jan 2009 17:51:11 +0100,

Quoted 16 lines · Michael Hirsch

Hello,

Quoted 12 lines · Takashi Iwai
Quoted 12 lines

kernel version matches the user space library and utils version.

searching the archives / google brings no result.

We tried with an empty alsa.conf but then the message:

ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM default
aplay: main:564: audio open error: No such file or directory

appears. However the card shows up /proc/asound/cards and alsamixer is able to access it.

Quoted 6 lines
Quoted 4 lines
Quoted 1 line

Any ideas?

Try a newer version of alsa-lib. Possibly fixed, or give you a better error message. At least, this bad "assert" should be gone now.

isn't it an obligation to keep version of user space and kernel in sync?

alsa-lib keeps the backward compatibility. A newer alsa-lib works with an older kernel. If not, it's a bug :)

Takashi