All of lore.kernel.org
 help / color / mirror / Atom feed
* Need help: My .asoundrc no longer works.
@ 2007-01-20  0:39 Tim
  2007-01-20 14:01 ` John Rigg
  2007-01-22 14:06 ` Takashi Iwai
  0 siblings, 2 replies; 32+ messages in thread
From: Tim @ 2007-01-20  0:39 UTC (permalink / raw)
  To: alsa-devel

Thanks for the emu patch! Works ok now.

Now I have a problem I reeeeeally need help with.
I have an SBLive! (emu10k1) as card 0 and an 
 M-audio Delta1010LT (ice1712) as card 1.
With alsa-1.0.9 the following .asoundrc files worked OK.

But now I've installed Mandriva2007 (alsa-1.0.12).
What happens now is this: QJackCtl presents me with 
 16 inputs, as before, but only the lower eight emu10k1 
 ones give me any audio. I get no audio by connecting 
 any of the upper eight ice1712 inputs to ANY of the 
 (twelve hw:1,0) outputs.
If I reverse the order of the cards in .asoundrc - see below,
 (ie lower eight inputs ice1712, upper eight emu10k1),
 then STILL only the LOWER eight QJackCtl inputs work -
 which are the ice1712 inputs !

But if I interleave the inputs - see third .asoundrc below,
 (ie one emu input, then one ice input, then one emu etc.),
 strangely only the emu inputs work, not the ice inputs !

Note the single use of a plug converter. This is the only way
 I can make them work, converting the emu but not the ice gives 
 'no playback configs avail', and converting both emu and ice gives
 ALSA: could not complete read of 0 frames: error = -32
 cycle execution failure, exiting
 DRIVER NT: could not run driver cycle.

At first I though maybe a pcm multi problem. 
I looked at changes to pcm_multi.c, not much change there, but I 'reverted'
 a couple of things back to 1.0.9 state, but it didn't fix the problem.

Anyway, since the problem is always with the 'b' slave,
 and since the 'b' slave always needs a converter, I'm wondering
 if there's a problem with the 'plug' converter itself (or my plug sections).

Any help much appreciated! Thanks. 
I hope this can be fixed - many hours I've just spent, getting
 this new distro (fixed) up - only to reach this conclusion now!
Cheers. Tim. 


----------------------------------------------------
Original .asoundrc with emu10k1 ahead of ice1712:
----------------------------------------------------
pcm.ice1712 {
              type hw
              card 1
            }

pcm_slave.sl3 {
    pcm ice1712
}

pcm.ice1712_convert {
    type plug
    slave sl3
}

pcm.multi_rec {
            type multi;
            slaves.a.pcm "hw:0,2";
            slaves.a.channels 16;
            slaves.b.pcm ice1712_convert;
            slaves.b.channels 8;
            
            # Some SBLive! inputs.
            # Customized emu10k1 driver gives me EIGHT seperate
            #  MIDI SoundFont audio inputs, rather than just
            #  combining them ALL on TWO FX lines !!!
            # Ask me, if you're wondering about this.
            # I may ask YOU later to include this feature in alsa !
            bindings.0.slave a;
            bindings.0.channel 10;
            bindings.1.slave a;
            bindings.1.channel 11;
            bindings.2.slave a;
            bindings.2.channel 12;
            bindings.3.slave a;
            bindings.3.channel 13;
            
            bindings.4.slave a;
            bindings.4.channel 14;
            bindings.5.slave a;
            bindings.5.channel 15;
            bindings.6.slave a;
            bindings.6.channel 0;
            bindings.7.slave a;
            bindings.7.channel 1;
            
            #
            # M-audio delta1010LT
            #
            bindings.8.slave b;
            bindings.8.channel 0;
            bindings.9.slave b;
            bindings.9.channel 1;
            bindings.10.slave b;
            bindings.10.channel 2;
            bindings.11.slave b;
            bindings.11.channel 3;
          
            bindings.12.slave b;
            bindings.12.channel 4;
            bindings.13.slave b;
            bindings.13.channel 5;
            bindings.14.slave b;
            bindings.14.channel 6;
            bindings.15.slave b;
            bindings.15.channel 7;
          }

ctl.multi_rec {
            type hw;
            card 0;
          }



-----------------------------------------------
.asoundrc with ice1712 ahead of emu10k1
-----------------------------------------------
pcm.emu10k1_multi_rec {
              type hw
              card 0
              device 2
            }

pcm_slave.sl2 {
    pcm emu10k1_multi_rec
}

pcm.emu10k1_convert_rec {
    type plug
    slave sl2
}

pcm.multi_rec {
            type multi;
            slaves.a.pcm "hw:1,0";
            slaves.a.channels 8;
            slaves.b.pcm emu10k1_convert_rec;
            slaves.b.channels 16;
            
            #
            # M-audio delta1010LT
            #
            bindings.0.slave a;
            bindings.0.channel 0;
            bindings.1.slave a;
            bindings.1.channel 1;
            bindings.2.slave a;
            bindings.2.channel 2;
            bindings.3.slave a;
            bindings.3.channel 3;
          
            bindings.4.slave a;
            bindings.4.channel 4;
            bindings.5.slave a;
            bindings.5.channel 5;
            bindings.6.slave a;
            bindings.6.channel 6;
            bindings.7.slave a;
            bindings.7.channel 7;
            
            # Eight SBLive! inputs. See comments in the other .asoundrc
            bindings.8.slave b;
            bindings.8.channel 10;
            bindings.9.slave b;
            bindings.9.channel 11;
            bindings.10.slave b;
            bindings.10.channel 12;
            bindings.11.slave b;
            bindings.11.channel 13;
            
            bindings.12.slave b;
            bindings.12.channel 14;
            bindings.13.slave b;
            bindings.13.channel 15;
            bindings.14.slave b;
            bindings.14.channel 0;
            bindings.15.slave b;
            bindings.15.channel 1;
          }

ctl.multi_rec {
            type hw;
            card 0;
          }



------------------------------------------------------
.asoundrc with emu10k1 interleaved with ice1712:
------------------------------------------------------
pcm.ice1712 {
              type hw
              card 1
            }

pcm_slave.sl3 {
    pcm ice1712
}

pcm.ice1712_convert {
    type plug
    slave sl3
}

pcm.multi_rec {
            type multi;
            slaves.a.pcm "hw:0,2";
            slaves.a.channels 16;
            slaves.b.pcm ice1712_convert;
            slaves.b.channels 8;
            
            # Interleaved SBLive! and Delta1010LT inputs.
            #
            bindings.0.slave a;
            bindings.0.channel 10;
            bindings.1.slave b;
            bindings.1.channel 0;
            bindings.2.slave a;
            bindings.2.channel 11;
            bindings.3.slave b;
            bindings.3.channel 1;
            
            bindings.4.slave a;
            bindings.4.channel 12;
            bindings.5.slave b;
            bindings.5.channel 2;
            bindings.6.slave a;
            bindings.6.channel 13;
            bindings.7.slave b;
            bindings.7.channel 3;
            
            bindings.8.slave a;
            bindings.8.channel 14;
            bindings.9.slave b;
            bindings.9.channel 4;
            bindings.10.slave a;
            bindings.10.channel 15;
            bindings.11.slave b;
            bindings.11.channel 5;
          
            bindings.12.slave a;
            bindings.12.channel 0;
            bindings.13.slave b;
            bindings.13.channel 6;
            bindings.14.slave a;
            bindings.14.channel 1;
            bindings.15.slave b;
            bindings.15.channel 7;
          }

ctl.multi_rec {
            type hw;
            card 0;
          }



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

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

end of thread, other threads:[~2007-02-01 12:10 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-20  0:39 Need help: My .asoundrc no longer works Tim
2007-01-20 14:01 ` John Rigg
2007-01-20 22:06   ` Tim
     [not found]   ` <75b66ecd0701200846q5499ccb0o5ba10c6a301d7b73@mail.gmail.com>
2007-01-21 20:02     ` John Rigg
2007-01-27  1:04       ` Tim
2007-01-22 14:06 ` Takashi Iwai
2007-01-26  1:28   ` Tim
2007-01-26 23:26     ` ice1712 IPGA and ADC controls Alan Horstmann
2007-01-27  0:42       ` Tim
2007-01-27 12:38       ` John Rigg
2007-01-28 20:54         ` Tim
2007-01-29  9:09           ` Alan Horstmann
2007-01-29  9:47             ` Fons Adriaensen
2007-01-29 16:36               ` Takashi Iwai
2007-01-28 22:59         ` Alan Horstmann
2007-01-29 12:16           ` Takashi Iwai
2007-01-29 17:07             ` Alan Horstmann
2007-01-29 17:12               ` Takashi Iwai
2007-01-29 19:15             ` John Rigg
2007-01-30  6:18               ` Tim
2007-01-30 11:14                 ` Takashi Iwai
2007-01-30 23:01                   ` Tim
2007-01-31  8:48                     ` Takashi Iwai
2007-01-31 10:33                       ` Takashi Iwai
2007-01-31 21:48                         ` Fons Adriaensen
2007-02-01 11:32                           ` Takashi Iwai
2007-02-01  5:01                         ` Tim
2007-02-01 10:08                           ` Alan Horstmann
2007-02-01 10:10                   ` Alan Horstmann
2007-02-01 12:10                     ` Takashi Iwai
2007-01-31 10:42                 ` John Rigg
2007-01-30 23:23     ` Need help: My .asoundrc no longer works Tim

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.