You are not logged in.
Hi
I have been struggling with jackd for 3 hours and i can't configure it to work properly.
I have followed the wiki page and did a research in the web but i got more confused.
ALSA is working ok without jackd. When invoke command
aplay /usr/share/sounds/gaim/redalert.wav
i can hear sound. If i start jackd
/etc/rc.d/jack-audio-connection-kit start
and try to play that .wav file again i get:
#aplay /usr/share/sounds/gaim/redalert.wav
ALSA lib pcm_dmix.c:862:(snd_pcm_dmix_open) unable to open slave
aplay: main:547: audio open error: Device or resource busy
The oss2jack and fusd-kor packages are compiled with PKGBUILD files found in AUR.
In my /etc/rc.conf file i have
DAEMONS=(syslog-ng !hotplug !pcmcia network netfs !crond hplip cups alsa jack-audio-connection-kit oss2jack)
MODULES=(!snd-pcm-oss !snd_seq_oss kfusd)
in my /etc/conf.d/jack-audio-connection-kit i have the lines as in the wiki
SERVER_PARAMS="-R -s -d alsa"
DRIVER_PARAMS="hw:0 -p 64 -r 44100"
and my lsmod says:
[root@arch ~]# lsmod |grep ^snd
snd_intel8x0 29340 3
snd_ac97_codec 94624 1 snd_intel8x0
snd_ac97_bus 2176 1 snd_ac97_codec
snd_pcm 78084 4 snd_intel8x0,snd_ac97_codec
snd_timer 20100 1 snd_pcm
snd_page_alloc 8200 2 snd_intel8x0,snd_pcm
snd_mpu401 6368 0
snd_mpu401_uart 6528 1 snd_mpu401
snd_rawmidi 20512 1 snd_mpu401_uart
snd_seq_device 6924 1 snd_rawmidi
snd 46432 12 snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401,snd_mpu401_uart,snd_rawmidi,snd_seq_device
Another thing that it came to my attention is that /etc/rc.d/oss2jack script mentions in some places os2jack. e.g. add_daemon os2jack and rm_daemon os2jack and i was getting "file not found" errors at startup. I changed these to oss2jack and the errors are gone.
Can someone please help me understand what i am doing wrong?
Offline
I've gotten jack to work in the past with 'qjackctl'. I've never sucessfully got jack running without it. There is a version in the repositories, and getting help using it is as easy as searching the net.
Offline
about the oss2jack script: sorry, that was my fault, i've uploaded new version of the oss2jack package with should be fixed script.
KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein
Offline
and about aplay: Aplay only uses ALSA output.
kris|~$ pacman -Qo `which aplay`
/usr/bin/aplay is owned by alsa-utils 1.0.11-1
and thus won't work with oss2jack since jackd i think takes over the sounddevice to provide the mixing itself. Remember the part of the guide in the wiki taht meantion you have to change your apps to only use OSS output? well that means you can't use ONLY alsa apps either.
KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein
Offline
The reason i was trying to set up oss2jack was that i wanted to be able to hear sound from both flash and amarok. Anyway, in my many experiments i managed some times to hear sound from xmms with oss plugin but never from an alsa application. Finaly i gave up and now i run firefox with aoss. Most applications these days tend to use alsa anyway
Offline
hm oss2jack is nice but if you want to route alsa sound into jack you need the alsa-plugins, there is a version in aur when i correct remeber.
After you installed you need to configure alsa to do what you want, there
are two way, first edit the global or edit the user specific alsa config and
insert :
pcm.jackplug {
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
}
}
for more information look : http://www.alsa-project.org/alsa-doc/do … p#jackplug
Offline