Skip to contentSkip to conversation

dmix not working with intel8x0 (ICH4)

Alsa-user Lee Revell 2 participants 2 messages Sep 21, 2005 – Sep 29, 2005 11 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): s5hfysjsevv.wl%[email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): 1125948816.1772.15.camel@mindpipe

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): 1127222378.20689.11.camel@mindpipe

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): 1127240311.20689.92.camel@mindpipe

A message that is not in the archive (sent off-list or not yet received): [email protected]

Lee Revell

author
#11 lore raw

This is a bit over my head, someone on alsa-devel can probably answer.

You can't easily "fix it" - softvol and dmix are incompatible so ICH4.conf is incorrect. You have to use one or the other for now.

Lee

Quoted 28 lines · Morten Nilsen
Quoted 13 lines · Lee Revell
Quoted 8 lines · Morten Nilsen

mortenn@onihime ~$ xmms
Message: device: default
ALSA lib pcm_direct.c:777:(snd_pcm_direct_initialize_slave) unable to install hw params
ALSA lib pcm_dmix.c:814:(snd_pcm_dmix_open) unable to initialize slave

** WARNING **: alsa_setup(): Failed to open pcm device (default):
Inappropriate ioctl for device

OK it's the interaction with dmix and softvol.

Quoted 7 lines

alsa/alsa-lib/src/pcm/pcm_dmix.c:

ICH4.conf:

So these files disagree on whether dmix + softvol is legal. Who does snd_pcm_type(spcm) not trigger the assert? Did someone forget to add softvol to the list of types?

I did some poking about in pcm.c, and this wasn't enough to fix it, in any case..

src/pcm/pcm.c 2005-09-21 10:31:11.898017056 +0200 line 1518

Quoted 7 lines
src/pcm/pcm.c 2005-09-21 10:31:11.898017056 +0200 renamed from src/pcm/pcm.c 2005-05-24 16:14:31.000000000 +0200 +1 -0
@@ -1512,6 +1512,7 @@
         PCMTYPE(LADSPA),
         PCMTYPE(DMIX),
         PCMTYPE(JACK),
+       PCMTYPE(SOFTVOL),
  };
 
  static const char *snd_pcm_subformat_names[] = {

-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php

#12 lore raw

At Wed, 21 Sep 2005 03:05:59 -0400,

Quoted 16 lines · Lee Revell

This is a bit over my head, someone on alsa-devel can probably answer.

You can't easily "fix it" - softvol and dmix are incompatible so ICH4.conf is incorrect. You have to use one or the other for now.

Lee

Quoted 7 lines · Morten Nilsen
Quoted 6 lines · Lee Revell
Quoted 4 lines · Morten Nilsen

mortenn@onihime ~$ xmms
Message: device: default
ALSA lib pcm_direct.c:777:(snd_pcm_direct_initialize_slave) unable to install hw params

This is usually either a wrong dmix set up, the permission problem, or the conflict of device opens with OSS apps.

Takashi

-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl