Hi im trying to use jack with alsa. But I have several problems doing that.
Distro: Arch Linux 0.8 Voodoo
Kernel: (self make) 2.6.21.1
Sound Card: Sis 7012 AC97. (Intel 810)
Alsa: In kernel.
After activate Virtual Midi on my kernel config.
The virtual midi appears as first device (card 0).
And my sound card as second (card 1)
Now i am trying to configure jack through asound.conf to use card 1 but i dont know how to do it. Example:
Code:
pcm.!default {
type plug
slave { pcm "jack" }
}
pcm.jack {
type jack
playback_ports {
0 alsa_pcm:playback_1
1 alsa_pcm:playback_2
}
capture_ports {
0 alsa_pcm:capture_1
1 alsa_pcm:capture_2
}
}
With this i am telling to alsa that the default pcm plug shall be pcm.jack. But how can i tell to pcm.jack to use the hw:1 (card 1).
I know that i can use jackd -D alsa hw:1 but i will like to use it that way. How can i map in asound jack to use my hw:1
Or how can i tell to linux to set my ac97 card as 0 device.
And the virtual midi as 1 device.
The other stuff. Is with realtime how can i activate this. The only way i have realtime is as root. But i have read that with realtime-lsm , i can give realtime privilegies to users groups. I am using arch linux and it says thar this realtime-lst thing is solved with pam 0.8< . I have it, and if i try to run jack viewing strace it try to use /tmp/jack-1000 (or something) but not /tmp/jack-0 the default as root or realtime, when i try to access it (through cd commands), it says permission dennied. So i cant sym link jack-1000 to jack-0.
How can i config realtime? i know the @audio stuff in /etc/security/limits.conf , but i dont know what to do.
Where can i find a good tutorial of asound.conf syntaxis. I saw
http://www.alsa-project.org/alsa-doc...ml#pcm_plugins
but i was searching something more plugin specific, or for dummies to for less understand it well.
Add: My user is part of the audio group, i read something about rlimits with pam. that the only thing i have to do is to the @audio lines in /etc/security/limits.conf but just doesnt work. Do i need to patch my new kern 2.6.21.1 with old limit-lsm patchs for 2.6.18?.
In the kernel security options i dont have no options about realtime.
Really thanks.