All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [Alsa-user] dmix not working with intel8x0 (ICH4)
       [not found]                   ` <433101BA.9080805@nilsen.com>
@ 2005-09-21  7:05                     ` Lee Revell
  2005-09-29 12:54                       ` [Alsa-devel] " Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Lee Revell @ 2005-09-21  7:05 UTC (permalink / raw)
  To: alsa-user; +Cc: alsa-devel

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

On Wed, 2005-09-21 at 08:46 +0200, Morten Nilsen wrote:
> Lee Revell wrote:
> > On Tue, 2005-09-20 at 16:44 +0200, Morten Nilsen wrote:
> > 
> >>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.
> > 
> > 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..
> 
> --- alsa-lib-1.0.9.org/src/pcm/pcm.c    2005-05-24 16:14:31.000000000 +0200
> +++ alsa-lib-1.0.9/src/pcm/pcm.c        2005-09-21 10:31:11.898017056 +0200
> @@ -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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Alsa-devel] Re: dmix not working with intel8x0 (ICH4)
  2005-09-21  7:05                     ` [Alsa-user] dmix not working with intel8x0 (ICH4) Lee Revell
@ 2005-09-29 12:54                       ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2005-09-29 12:54 UTC (permalink / raw)
  To: Lee Revell; +Cc: alsa-user, alsa-devel

At Wed, 21 Sep 2005 03:05:59 -0400,
Lee Revell wrote:
> 
> 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
> 
> On Wed, 2005-09-21 at 08:46 +0200, Morten Nilsen wrote:
> > Lee Revell wrote:
> > > On Tue, 2005-09-20 at 16:44 +0200, Morten Nilsen wrote:
> > > 
> > >>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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-09-29 12:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <431527EA.6000300@nilsen.com>
     [not found] ` <4318EBBD.8060000@nilsen.com>
     [not found]   ` <s5hfysjsevv.wl%tiwai@suse.de>
     [not found]     ` <431C8E81.1080701@nilsen.com>
     [not found]       ` <1125948816.1772.15.camel@mindpipe>
     [not found]         ` <431C9E94.6010408@nilsen.com>
     [not found]           ` <433018DE.4060607@nilsen.com>
     [not found]             ` <1127222378.20689.11.camel@mindpipe>
     [not found]               ` <4330203D.9040405@nilsen.com>
     [not found]                 ` <1127240311.20689.92.camel@mindpipe>
     [not found]                   ` <433101BA.9080805@nilsen.com>
2005-09-21  7:05                     ` [Alsa-user] dmix not working with intel8x0 (ICH4) Lee Revell
2005-09-29 12:54                       ` [Alsa-devel] " Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.