You are not logged in.

#1 2006-03-18 17:00:59

SkankinSasquatch
Member
Registered: 2005-05-03
Posts: 44

Jack-audio-connection-kit with oss2jack

I have an onboard Ali soundcard that I just use the intel8x0 driver for and I've never had any sound problems. Today I decided I wanted to try out a sound server so that I could play multiple sounds at once. Everything seemed to go as planned. I built the the oss2jack and fusd-kor packages with makepkg and then installed them with makepkg and everything seemed to go without hitch. I put os2jack after jack-audio-connection-kit (which is the longest daemon name I've seen by far, I might add) in my daemon's list in my rc.conf and upon reboot there were no issues starting either daemon. However when I attempt to play something in rhythmbox or vlc (changing between the OSS and the ALSA output methods) nothing would play and this error would come up in the messages on vlc:

oss error: cannot open audio device (/dev/dsp)

Here is my modprobe.conf:

#
# /etc/modprobe.conf (for v2.6 kernels)
#

# OSS Compatibility
install snd-pcm modprobe -i snd-pcm ; modprobe snd-pcm-oss ; true
install snd-seq modprobe -i snd-seq ; modprobe snd-seq-oss ; true

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 1.0.10 ---
alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-intel8x0
# --- END: Generated by ALSACONF, do not edit. ---

Here are the settings from my /etc/conf.d/jack-audio-connection-kit (they're the same as the ones in the wiki).

SERVER_PARAMS="-R -s -d alsa"
DRIVER_PARAMS="hw:0 -p 64 -r 44100"

And I also have the modules snd-intel-8x0, kfusd, and snd-pcm-oss in my rc.conf modules list.

If you need any more information I will gladly provide. I'm sorry if this is a stupid error, I know next to nothing about audio on linux.

Offline

#2 2006-03-18 18:27:14

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: Jack-audio-connection-kit with oss2jack

your not supposed to use the /etc/modprobe.conf file in archlinux. your not supposed to use the snd-pcm-oss module with oss2jack because snd-pcm-oss is alsa's oss emulation. That creates problems because the oss sound dev node is /dev/dsp which oss2jack also creates; and can't create because you load snd-pcm-oss which creates the dev node before oss2jack is loaded which then makes it impossible for oss2jack to create it. (hope that made sense)

(modinfo module-name to see what a specific kernel module does)

anyway:
1. remove everything which isn't comments from /etc/modprobe.conf
2. remove snd-pcm-oss from rc.conf
3. reboot
4. try it, it should work smile


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

#3 2006-03-18 19:47:46

SkankinSasquatch
Member
Registered: 2005-05-03
Posts: 44

Re: Jack-audio-connection-kit with oss2jack

Unfortunately I'm still recieving the same errors  :? .

Thank you for the advice however, do you know anything else that might be causing this?

Offline

#4 2006-03-20 13:52:21

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: Jack-audio-connection-kit with oss2jack

i just checked my rc.conf and you might need to have !snd_pcm_oss !snd_seq_oss in your MODULES array, so that udev kernelmodule detecting & loading doesn't load those modules.

edit: inserted the info in the wiki. thanks!


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

#5 2006-03-23 00:10:36

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: Jack-audio-connection-kit with oss2jack

did it work? you got it working?


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

#6 2006-06-03 14:41:14

esox_ch
Member
Registered: 2006-04-30
Posts: 45

Re: Jack-audio-connection-kit with oss2jack

Hello. I followed the wiki and I get
** WARNING **: alsa_setup(): Failed to open pcm device (hw:0,0): Device or resource busy

Does anybody know what is the problem?

Thanks

Offline

#7 2006-06-03 19:06:43

esox_ch
Member
Registered: 2006-04-30
Posts: 45

Re: Jack-audio-connection-kit with oss2jack

it doesn't change anything for me :s ...

Offline

#8 2006-06-06 06:51:41

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: Jack-audio-connection-kit with oss2jack

Can you play as root then? maybe you haven't configured xmms to use oss output? hard to say, your a bit sparse in your descriptions of what you have done and haven't done.


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

Board footer

Powered by FluxBB