View Full Version : problems with ts and oss
ok
here again.
I can run xmms, mplayer an ut2k3 at the same time... with OSS output
but in TS says
OSS output is in use...
in xmms or mplayer
there are 2 OSS devices
/dev/dsp
dev/mixer
in TS there is only /dev/dsp
look @ this
http://cvs.xmms.org/cvsweb.cgi/xmms/Output/OSS/
perhaps it can help u.
greetz gladiac
N. Werensteijn
24-01-2003, 17:40
A debug log of ts would be more usefull.
---------------------------------------------------------------
-------------- log started at 24-01-03 20:50 -------------
---------------------------------------------------------------
24-01-03 20:50:53,1661,ERROR,All,TOSSioThread.Initialize,Ex ception EOSSException: OSS error in OpenSoundDevice (/dev/dsp): Das Gerät oder die Ressource ist belegt
N. Werensteijn
26-01-2003, 16:36
maybe it is a problem with full duplex?
What soundcard do you have, which kernel and which distribution?
Creative Soundblaster Audigy (FULL DUPLEX)
SuSE 8.1 with Kernel 2.4.19
N. Werensteijn
26-01-2003, 23:42
are you using alsa or oss ?
I remember something about alsa in suse 8.x being screwd up?
http://www.teamspeak.org/forums/showthread.php?s=&threadid=1895&highlight=alsa+suse
Originally posted by GlaDiaC
---------------------------------------------------------------
-------------- log started at 24-01-03 20:50 -------------
---------------------------------------------------------------
24-01-03 20:50:53,1661,ERROR,All,TOSSioThread.Initialize,Ex ception EOSSException: OSS error in OpenSoundDevice (/dev/dsp): Das Gerät oder die Ressource ist belegt
OSS error in OpenSoundDevice (/dev/dsp)
:D
BarryMead
08-02-2003, 04:32
I was able to get my linux working with ut2003
and team speak.
What I did was crosscouple the dsp devices
in the dev subdirectory like this
/dev/dsp -> /dev/sound/dsp1
/dev/dsp1 -> /dev/sound/dsp
Then I told Team Speak to use /dev/dsp1
Then the game thinks it is using /dev/dsp when it is really using /dev/dsp1 and the oss system did not think all of the resources were used up.
I don't know why it would make any difference, but it does in my linux. (Mandrake 8.1)
If this works you can put the changes in
/etc/rc.d/rc.local file to make them crosscouple
on each boot.
qip|Virusmaster
08-02-2003, 10:26
Hi...
But you have to know, that only SOME soundcards provide 2 dsp devices... as Gladiac said, he only has ONE dsp.
So one more question... does the OSS Error only appear if you have a xmms AND teamspeak open, or does it also appear if you ONLY start TeamSpeak?
it appears if I have ONLY TeamSpeak startet.
it appears if I have TS and xmms and mplayer startet.
qip|Virusmaster
08-02-2003, 18:10
Could it be, that you have some sort of Sound Server running? esd or alsa for instance? something is blocking your sound device...
there is only oss running
no alsa etc.
BarryMead
09-02-2003, 08:22
Hi GlaDiaC:
Can you tell me how you got the "debug log".
What command line magic did you use?
I scoured through the manual and other forum
posts and found nothing that says how to do it.
thanks!:)
N. Werensteijn
09-02-2003, 13:10
Gladiac: Have you tried an other recording program together with xmms or whatever?
I Still think the key is that recording / fullduplex and the oss sb16 driver facter into this.
under kde runs the arts sound server, which provides playing system sounds and mp3 etc. at the same time.
the arts soundserver blocks the sound device for other programs.
khelpcenter help:/kcontrol/sndserver.html
gladiac@acilas:/usr/local/games/TeamSpeak2> artsdsp -v TeamSpeak
artsdsp: 1.0.4
name: TeamSpeak
command line: TeamSpeak
threaded: yes
aRts: hijacking /dev/dsp open...
aRts: hijacking /dev/dsp ioctl (14 : 5000 - (nil))
aRts: SNDCTL_DSP_RESET unsupported
aRts: hijacking /dev/dsp ioctl (14 : 5016 - (nil))
aRts: SNDCTL_DSP_SETDUPLEX unsupported
aRts: hijacking /dev/dsp ioctl (14 : 8004500f - 0xbf7ff824)
aRts: hijacking /dev/dsp ioctl (14 : c004500a - 0xbf7ff828)
aRts: SNDCTL_DSP_SETFRAGMENT(3000c) partially supported
aRts: hijacking /dev/dsp ioctl (14 : c0045005 - 0xbf7ff824)
aRts: hijacking /dev/dsp ioctl (14 : c0045006 - 0xbf7ff834)
aRts: hijacking /dev/dsp ioctl (14 : c0045002 - 0xbf7ff828)
aRts: creating stream...
aRts: /dev/dsp access...
aRts: /dev/dsp access...
aRts: /dev/dsp access...
aRts: hijacking /dev/dsp ioctl (14 : c0045004 - 0xbf7ff988)
aRts: /dev/dsp write...
is there any solution running Teamspeak with artsd
Hey,
i know the answers to your problem, but im too bored to write a huge text, come to irc.de.quakenet.org #teamspeak and ill help you :)
pwk.linuxfan
Hey pwk.linuxfan,
is the solution you told him in IRC the one that's in the FAQ section thread (http://www.teamspeak.org/forums/showthread.php?s=&threadid=3530) ? I'm curious because ideally I'd like to be able to keep artsd running, so that other sound utils on my Mandrake box can be used (timers to alert me, etc) while I'm running TS on it. :)
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.