Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Aug 2007 23:05:20 -0700
From:      Predrag Punosevac <punosevac@math.arizona.edu>
To:        freebsd-multimedia@freebsd.org
Subject:   VoIP problems
Message-ID:  <46D11820.6020608@math.arizona.edu>

next in thread | raw e-mail | index | archive | help
Dear ALL,
I was wondering if I could get some help with setting up VoIP on my 
FreeBSD box running FreeBSD 6.2 stable, XOrg 7.2 and Gnome 2.18 with a 
generic kernel.
My audio card is Audiogy SE (I know it is a bad choice) and it works 
beautifully with OSS compiled from ports. This is osstest and ossinfo

[pedja@oko /usr/home/Pedja]$ osstest
Sound subsystem and version: OSS 4.0 (build 070707/200708012238/C 
(0x00040002)
Platform: FreeBSD/i386 6.2-STABLE-200706 FreeBSD 6.2-STABLE-200706 #0: 
Sun Jun  3 14:20:02 UTC 2007     
root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP

*** Scanning sound adapter #-1 ***
/dev/oss/audigyls0/pcm0 (audio engine 0): AudigyLS front
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured srate 47990.00 Hz (-0.02%)>
/dev/oss/audigyls0/pcm1 (audio engine 1): AudigyLS (shadow)
- Skipping device (card already tested)
/dev/oss/audigyls0/pcm2 (audio engine 2): AudigyLS center/lfe
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured srate 47990.00 Hz (-0.02%)>
/dev/oss/audigyls0/pcm3 (audio engine 3): AudigyLS surround
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured srate 47990.00 Hz (-0.02%)>
/dev/oss/audigyls0/pcm4 (audio engine 4): AudigyLS 5.1 output
- Skipping multi channel device

*** Scanning sound adapter #0 ***
/dev/oss/vmix0/pcm0 (audio engine 5): AudigyLS front (VMIX0)
- Skipping virtual device (use -V to force test)

*** Scanning sound adapter #0 ***
/dev/oss/vmix0/pcm1 (audio engine 6): AudigyLS front (VMIX0)
- Skipping virtual device (use -V to force test)

*** Scanning sound adapter #0 ***
/dev/oss/vmix0/pcm2 (audio engine 7): AudigyLS front (VMIX0)
- Skipping virtual device (use -V to force test)

*** Scanning sound adapter #0 ***
/dev/oss/vmix0/pcm3 (audio engine 8): AudigyLS front (VMIX0)
- Skipping virtual device (use -V to force test)

*** All tests completed OK ***
[pedja@oko /usr/home/Pedja]$ ossinfo
Version info: OSS 4.0 (build 070707/200708012238/C (0x00040002)
Platform: FreeBSD/i386 6.2-STABLE-200706 FreeBSD 6.2-STABLE-200706 #0: 
Sun Jun  3 14:20:02 UTC 2007     
root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP

Number of audio devices:        9
Number of audio engines:        9
Number of MIDI devices:         0
Number of mixer devices:        1


Device objects
 0: audigyls0 AudigyLS
 1: vmix0 OSS transparent virtual support

MIDI devices (/dev/midi*)

Mixer devices (/dev/mixer*)
 0: AudigyLS Mixer (Mixer 0 of device object 0)

Audio devices
/dev/oss/audigyls0/pcm0 AudigyLS front  (device index 0)
/dev/oss/audigyls0/pcm1 AudigyLS (shadow)  (device index 1)
/dev/oss/audigyls0/pcm2 AudigyLS center/lfe  (device index 2)
/dev/oss/audigyls0/pcm3 AudigyLS surround  (device index 3)
/dev/oss/audigyls0/pcm4 AudigyLS 5.1 output  (device index 4)
/dev/oss/vmix0/pcm0     AudigyLS front (VMIX0)  (device index 5)
/dev/oss/vmix0/pcm1     AudigyLS front (VMIX0)  (device index 6)
/dev/oss/vmix0/pcm2     AudigyLS front (VMIX0)  (device index 7)
/dev/oss/vmix0/pcm3     AudigyLS front (VMIX0)  (device index 8)
[pedja@oko /usr/home/Pedja]$


Unfortunately despite the reading 120 pages of OSS manual I could not 
get the card to record the sound even with ossrecord let alone
get it to work in full DUPLEX mode via mixer utility necessary for using 
VoIP. Yes I did alter permissions and I tried doing everything
from root account.

I came to a conclusion that the OSS driver only partially supports this 
card hence
I need another card. (Am I wrong to give up on this thing? Has anybody 
been able to use VoIP with this particular card.) I asked this
question on freebsd-question mailing list as well as 10 other forums 
including OSS forum and everyone seems mute.
There were some responses from freebsd-question list but people 
apparently didn't use OSS compiled from ports but the one from kernel.

Assuming that the answer to my previous question is NO (my card is not 
fully supported or nobody has successfully used for VoIP)
 I would like a recommendation for new audio card which will be fully 
supported
by FreeBSD itself.

I would in particular like to hear from people using Skype or any of SIP 
phones. Could you tell me your audio card, FreeBSD version you run, 
kernel set up, which driver do you use (are you loading driver on boot 
or you recompiled the kernel) mixer set up.

I overheard that even Sound Blaster Live which is really inexpensive and 
seems to me as a logical choice has some issues since the Creative was 
changed the chip set. (I hope I am wrong)


I was perfectly able to hear people using Skype but they could not hear 
me so my conclusion was that sound card is not properly configured
Another indication was that I was not able to record using ossrecord or 
at least when I play back I do not hear anything.


Thanks
Predrag Punosevac

P. S. I would be perfectly happy with a reference to a thread if this 
issue has been discussed before.






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46D11820.6020608>