Portál AbcLinuxu, 26. prosince 2025 12:05
uname -a Linux xxxxx.yyyyy 2.6.13-1.1532_FC4 #1 Thu Oct 20 01:30:08 EDT 2005 i686 athlon i386 GNU/LinuxKarty jsou to 4 kanalove a tak jsem si je propojil aby delali 5+1. Cele jsem to udelal pomoci nasledujiciho ALSA .asoundrc:
pcm.!default
{
type plug
slave.pcm "multi5142"
#slave.pcm "stereo51"
}
pcm.stereo51
{
type route
slave.pcm "multi5142"
slave.channels 6
ttable.0.0 1
ttable.1.1 1
ttable.0.2 1
ttable.1.3 1
ttable.0.4 1
ttable.1.5 1
}
pcm.multi5142
{
type multi;
slaves.a.pcm "front:1";
slaves.a.channels 2;
slaves.b.pcm "front:0";
slaves.b.channels 2;
slaves.c.pcm "rear:1";
slaves.c.channels 2;
#front left
bindings.0.slave a;
bindings.0.channel 0;
#front right
bindings.1.slave a;
bindings.1.channel 1;
#rear left
bindings.2.slave b;
bindings.2.channel 0;
#rear right
bindings.3.slave b;
bindings.3.channel 1;
# Center, physically front left, 2nd card
bindings.4.slave c;
bindings.4.channel 0;
# LFE/subwoofer, physically front right, 2nd card
bindings.5.slave c;
bindings.5.channel 1;
}
# Not quite right.
ctl.!default
{
type plug;
slave.pcm "multi5142"
}
ctl.multi5142
{
type plug;
slave.pcm "multi5142"
}
pcm.emu10k1_both_surround51_t {
type route
slave.pcm "emu10k1_both_surround51"
ttable.0.0 1
ttable.1.1 1
ttable.2.2 1
ttable.3.3 1
ttable.4.4 1
ttable.5.5 1
ttable.6.6 1
ttable.7.7 1
}
pcm.dmix51 {
type dmix
ipc_key 1024
slave {
pcm "multi5142"
rate 48000
channels 6
period_time 0
period_size 1024
buffer_time 0
buffer_size 4096
}
}
pcm.stereo {
type plug
slave.pcm "dmix51"
ttable.0.0 1
ttable.1.1 1
}
pcm.duplicate {
type plug
slave.pcm "dmix51"
slave.channels 6
route_policy duplicate
}
po obvyklem:
yum -y updatese mi updateoval kernel z 2.6.13* na 2.6.14* a prestaly mi fungovat zarizeni/vystupy "stereo51" a "multi5142". Nemam moc casu prochazet zmeny v kernelu, nevite nekdo v cem je problem?
Hlasi mi to "Značka CONFDIR:PCM/FRONT.CONF není povolena!"
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.