View previous topic :: View next topic |
Author |
Message |
hansolocg n00b
Joined: 26 Feb 2006 Posts: 22
|
Posted: Mon Aug 28, 2006 7:05 pm Post subject: two soundcards, dmix, dsnoop & kmix [solved] |
|
|
Hi,
im want use both my onboard intel8x0 and my old SB live. The SB should be the default however, i only want to use the onboard to playback a second stream. Right now SB live has hw-id 1, the onboard chip id 0
So far the basic audio setup works, but the KDE tools for mixer settings (kmix and kmilo, both 3.5.2) will not use the correct mixer device.
One solution to the problem would obviously be to compile the drivers as modules and autoload them in the wished order at boottime, so that the SB live gets id 0. But that way i would lose all the builtin default alsa-setups for dmix and dsnoop for the onboard sound (which are only used for id0, right?). I still would like to use these, as they worked out better for me than any custom configs in asound.conf and i guess it would be simpler.
So, the question is, is there a way to change the default mixer device for kmilo and kmix (the selection for the default mixer channel in kmix does not work for me either), or to adress the builtin routines of alsa (something like nForce2:dmix or hw1:dmix) for card id 1?
Code: |
# asound.conf
pcm.!default {
type plug;
slave.pcm "sblive";
}
ctl.!default {
type hw;
card Live;
}
pcm.sblive {
type hw;
card Live;
}
ctl.sblive {
type hw;
card Live;
}
pcm.onboard {
type asym;
playback.pcm "dmix";
capture.pcm "dsnoop";
}
pcm.multi {
type multi;
slaves.a.pcm "nForce2:0";
slaves.a.channels 2;
slaves.b.pcm "spdif";
slaves.b.channels 2;
bindings.0.slave a;
bindings.0.channel 0;
bindings.1.slave a;
bindings.1.channel 1;
bindings.2.slave b;
bindings.2.channel 0;
bindings.3.slave b;
bindings.3.channel 1;
}
pcm.ttable {
type route;
slave.pcm "multi";
slave.channels 4
# route_policy duplicate
ttable.0.0 1;
ttable.1.1 1;
ttable.0.2 1;
ttable.1.3 1;
}
ctl.ttable {
type hw;
card nForce2;
}
ctl.multi {
type hw;
card nForce2;
}
|
Last edited by hansolocg on Tue Aug 29, 2006 5:45 pm; edited 1 time in total |
|
Back to top |
|
|
redelk1 n00b
Joined: 29 Aug 2006 Posts: 1
|
Posted: Tue Aug 29, 2006 3:29 am Post subject: Do you have a Bridgable Chipset |
|
|
Northchip bridgeable chipsets, If you don't have one, get one. They rock! |
|
Back to top |
|
|
hansolocg n00b
Joined: 26 Feb 2006 Posts: 22
|
Posted: Tue Aug 29, 2006 5:45 pm Post subject: |
|
|
Ok, i found a solution. I compiled both modules and loaded them in modules.autoload.d/kernel2.6 (kernel parameters might also work) to get them in the desired order. The default plugin-devices are still available through dmix:nForce2 (or dmix:<card_id>). |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|