PDA

View Full Version : can't unmute input & output using debian & OSS


SIGINT
03-02-2003, 09:55
Hi everybody,
i just installed TeamSpeak2 on Debian
and got following problem:
When I start TS2 the output & input is muted,but i can't unmute them.
I tried to use /dev/dsp but it didn't work
:(
I have a fullduplex SoundBlaster16 driver compiled into the kernel(2.2.22).
Does anyone know,what to do?

Thx,
Sigint

BarryMead
09-02-2003, 11:06
Does you non-root user have both read and write permissions for /dev/sound/dsp?

Resonance
11-02-2003, 05:03
I am also using Debian. I'm using ALSA, not OSS, and have a C-Media PCI CMI8738-MC6 on the motherboard. I have exactly the same problem, however, with one addition: I also get a popup window on startup that says "Integer Overflow", which will continue to pop up from time to time until the client crashes.

The account I use can read and write to /dev/dsp and /dev/sound/dsp without problem.

BarryMead
11-02-2003, 05:28
Resonance:
There is a patch file for the integer overflow problem. I don't know if that will help your other problem though.
Anyway I am including the patch file.:)

Resonance
11-02-2003, 05:36
Thanks for the update. It has fixed the integer overflow problem, but upon joining any channel, I get a voice-synthesized "Error" just before the "Switched Channel" (so it definitely *can* send sound output). I still cannot unmute either input or output. Frankly, I'd settle for output alone at this point.

In addition, it crashed when I exited, leaving a core dump that I used to obtain the following backtrace:

(gdb) backtrace
#0 0x40158911 in kill () from /lib/libc.so.6
#1 0x0806bb75 in Portions Copyright (c) 1983,2002 Borland Software Corporation ()
#2 0x08063402 in @DbgEvalFrame ()
#3 0x401479f1 in __libc_start_main () from /lib/libc.so.6


I have no idea if that's any use to you.

BarryMead
11-02-2003, 05:51
I am just another dumb user of TeamSpeak, so I don't know enough about the internals to tell you what the backtrace is saying.

I do know that it is written in Borland's Delphi language. And that is why you are getting the Borland copyright message.

My linux has two dsp devices /dev/dsp and /dev/dsp1. When I tried to use TeamSpeak with /dev/dsp1, I had a problem similar to the one in this thread. I could not unmute the input or output. When I used /dev/dsp it worked. One of my dsp devices (dsp1) is behaving like your dsp device. I don't know what the behavior is due to, but I think it has something to do with dsp can take both write operations and iocttl operations. I susupect that (dsp1) can only take write operations. I don't know any of this for sure, it is only speculation. But maybe your dsp device cannot take I/O control operations. My sound chip is on the motherboard and it is an Esconiq CT5880 chip. The kernel modules that get loaded are the ES1371, soundcore, and ac97codec modules. These values were automatically detected and installed for me by the Mandrake installer. I am not sure what hardware you have or kernel modules are loaded, but If you post them to this fourm there are probably some people that can tell you where to go from here.

I am using Mandrake Linux 8.1 and the default sound system. Mine works flawlessly. I can run any game and team speak at the same time, and talk with my friends as I play. If you ever get it working it is really neat.

Stay tuned to this forum, though there are some really smart people monitoring it, and they may be able to help you even though I cannot.

Resonance
11-02-2003, 06:29
I turned on debugging, and got the following -- I am particularly interested in the "invalid codec 4" error which shows up no matter which codec I have selected:

11-02-03 00:24:41,29755,DEBUG,ProcedureInfo,Client Open,host 205.166.48.28 resolved to 205.166.48.28
11-02-03 00:24:41,29755,DEBUG,ProcedureInfo,Client Open,Send LoginStep1
11-02-03 00:24:41,29755,DEBUG,ProcedureInfo,Client Open,Waiting for LoginStep2
11-02-03 00:24:41,29755,DEBUG,ProcedureInfo,Client Open,LoginStep2 received
11-02-03 00:24:41,29755,DEBUG,ProcedureInfo,Client Open,Creating and starting threads
11-02-03 00:24:41,29755,DEBUG,ProcedureInfo,Client Open,Sending LoginStep3
11-02-03 00:24:41,29755,DEBUG,All,cb_connecting,connecting callback
11-02-03 00:24:41,29755,DEBUG,All,cb_NewChannel,new channel Battlefield 1942 (0)
11-02-03 00:24:41,29755,DEBUG,All,cb_NewChannel,new channel Main (1)
11-02-03 00:24:41,29755,DEBUG,All,cb_NewChannel,new channel Other Games (2)
11-02-03 00:24:42,29755,DEBUG,All,cb_NewChannel,new channel Tribes 2 (3)
11-02-03 00:24:42,29755,DEBUG,All,cb_NewChannel,new channel X - League Match (4)
11-02-03 00:24:42,29755,DEBUG,All,cb_NewChannel,new channel X - Meeting Room (5)
11-02-03 00:24:42,29763,DEBUG,All,TClientEventThread.DoLogi nStep5,loginstep5 player count: 1
11-02-03 00:24:42,29763,WARNING,All,TClient.sndi_SetCodec,i nvalid codec 4
11-02-03 00:24:42,29763,DEBUG,All,TClientEventThread.DoLogi nStep5,loginstep5 player packet done
11-02-03 00:24:42,29755,DEBUG,All,Command Reply,Received error -105 on sending command 0
11-02-03 00:24:42,29755,DEBUG,All,cb_NewPlayer,new player Resonance (1) ch=1
11-02-03 00:24:42,29755,DEBUG,All,cb_NewPlayer,Node found
11-02-03 00:24:42,29755,DEBUG,All,cb_NewPlayer,Image found
11-02-03 00:24:42,29755,DEBUG,All,cb_NewPlayer,node added
11-02-03 00:24:42,29755,DEBUG,All,cb_NewPLayer,Node Sorted
11-02-03 00:24:42,29763,DEBUG,All,TClientEventThread.DoLogi nStep6,entered
11-02-03 00:24:42,29755,DEBUG,All,cb_initDone,initDone callback
11-02-03 00:24:45,29762,DEBUG,All,TSingleConnection.GetNext PacketToSend,Sending ping nr 2
11-02-03 00:24:45,29762,DEBUG,All,UDP,Send MaintenanceHeader packetnr 2 command: 1

BarryMead
11-02-2003, 08:24
Just curious, How did you get this output trace? I mean what gdb commands did you use to get that kind of detail.

When I ran gdb on TeamSpeak.bin all I got was a list of which process ids were starting and stopping. I am really new to gdb (a neophite).

SIGINT
11-02-2003, 12:03
Hi everybody,
sorry that i didn't answere,but i forgot
to read my mail.
My non-root users have the right to accsess the dsp device.I don't have any sound with Teamspeak(neither the status-voice nor the chat-audio).
But XMMS is working with /dev/dsp.
I think,when i first started TS it told me,that it can't find valid codecs,but now it's working...

Greetings,
SIGINT

N. Werensteijn
11-02-2003, 17:38
The windowsCelp52 codec is windows only :P

Linux users cant use it. So what happend is that you switched to a channel that was using that codec.

Resonance
11-02-2003, 21:27
Originally posted by BarryMead
Just curious, How did you get this output trace? I mean what gdb commands did you use to get that kind of detail.

When I ran gdb on TeamSpeak.bin all I got was a list of which process ids were starting and stopping. I am really new to gdb (a neophite).

My second debugging quote was not from GDB -- that was from the TeamSpeak debug log (found in .teamspeak2/TSclient.log in your home directory)

SIGINT
12-02-2003, 11:56
I get following error:

588,ERROR,All,TOSSioThread,Initialize,Exception
EOSSException: OSS error in SetFragmentSize: Invalid Argument

Does anyone know,how to solve this prob?

Greeting ,
SIGINT