PDA

View Full Version : ts2_client_rc1_2026 + FreeBSD == perm. mute


Darius
20-01-2003, 01:50
I installed TS2 OK..

Some instructions ->
It needs linux base and linux-jpeg, both will be installed if you do
cd /usr/ports/graphics/linux-jpeg
make install clean

(as root)

I unpacked the archive, then did /compat/linux/bin/bash ./setup.sh

The install script is a bash script not a shell script (sigh).

Also make sure Linux emulation is enabled (running the command 'linux' as root should do it)

However, when I run it, I get this printed...
[chowder 11:05] ~/TeamSpeak2> TeamSpeak
linux: 'ipc' typ=258 not implemented


And in dmesg..
linux: 'ioctl' fd=13, cmd=0x5016 ('P',22) not implemented

I have set the mic to be the recording device using mixer, and the rec volume is reasonable..

[chowder 11:08] ~ >fstat /dev/dsp0
USER CMD PID FD MOUNT INUM MODE SZ|DV R/W NAME
darius TeamSpeak.bin 15581 13 / 517039 crw-rw-rw- dsp0.0 rw /dev/dsp0
darius TeamSpeak.bin 15580 13 / 517039 crw-rw-rw- dsp0.0 rw /dev/dsp0
darius TeamSpeak.bin 15578 13 / 517039 crw-rw-rw- dsp0.0 rw /dev/dsp0
darius TeamSpeak.bin 15577 13 / 517039 crw-rw-rw- dsp0.0 rw /dev/dsp0

FD 13 is the one for the sound device, so perchance an ioctl is getting called that isn't supported, and TS thinks it's muted because of the bad result?

I am pretty sure full duplex works OK on this system too.

OK, well I looked up the ioctl shown in dmesg and I think it's SNDCTL_DSP_SETDUPLEX which supports my theory :D

I'm going to try hacking a dummy ioctl in and seeing if it accepts it.

Woot it works :)
If anyone wants the patch, try here..
http://www.gsoft.com.au/~doconnor/snd-duplex-patch.txt

No warranty, if it blows your machine up or anything else bad, I'm not responsible.

N. Werensteijn
20-01-2003, 12:21
You were right & nice work :)