Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Apr 2008 22:58:23 +0000
From:      Sebastien Morand <seb.morand@gmail.com>
To:        freebsd-stable@freebsd.org
Subject:   OSS and Skype
Message-ID:  <480FBF0F.3000000@gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

I have a problem running skype using oss. I posted in several places and this 
list is my last hope :-)

Skype is keeping answering: Problem With Audio Playback whenever I make a call 
or get a call.

My sound card is Envy24ht, I precise that I'm able to listen music, watch film 
and all other stuff using sound, so the sound cart is correctly configured.

Recording is wirking fine too, the sample test:
$ cat </dev/dsp4 > test.raw # Then speak
$ cat test.raw > /dev/dsp
I can hear with the second command what I record with the first one.

In skype I have tried a lot of configuration in Sound card device :
According to what I read I should use:
In : /dev/dsp4
Out: /dev/dsp
Ringing: /dev/dsp
What ever I try I'm keeping getting the following error message:
     Problem With Audio Playback.

Depending of the configuration I choose I get the following kernel message:
Envy24ht : Reccording is not supported on /dev/oss/envy24ht0/pcm0
or
Envy24ht: Playback is not supported on /dev/oss/envy24ht0/pcmin0

Actually it looks like he tries to use only one of the configuration and expect 
a full duplex device but I read full duplex is not supported by OSS, is there 
any solution to get skype working at the end?

Thanks by advance for any help


Here is my configuration:
$ uname -a
FreeBSD mellba.mayaseb 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 
UTC 2008     root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

# ossdetect -v
Detected Generic ENVY24HT based sound card
Detected OSS Transparent Virtual Mixing Architecture

-----------------
$ cat /dev/sndstat
OSS 4.0 (b1015/200804072030) BSD (C) 4Front Technologies 1996-2008
Kernel: FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008
    root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC


Audio devices:
0: Shuttle SN25P front out (OUTPUT)
1: Shuttle SN25P c/l out (OUTPUT)
2: Shuttle SN25P side out (OUTPUT)
3: Shuttle SN25P digital out (OUTPUT)
4: Shuttle SN25P analog in (INPUT)
5: Shuttle SN25P front out (VMIX0) (DUPLEX)
6: Shuttle SN25P front out (VMIX0) (DUPLEX)
7: Shuttle SN25P front out (VMIX0) (DUPLEX)
8: Shuttle SN25P front out (VMIX0) (DUPLEX)
9: Shuttle SN25P front out (VMIX0) (DUPLEX)
10: Shuttle SN25P front out (VMIX0) (DUPLEX)
11: Shuttle SN25P front out (VMIX0) (DUPLEX)
12: Shuttle SN25P front out (VMIX0) (DUPLEX)

Mixers:
0: Shuttle SN25P (VT1612A)

-----------------
$ ossinfo
Version info: OSS 4.0 (b1015/200804072030) (0x00040003) BSD
Platform: FreeBSD/i386 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 
UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC (mellba.mayaseb)

Number of audio devices:        13
Number of audio engines:        13
Number of mixer devices:        1


Device objects
  0: envy24ht0 Shuttle SN25P
  1: vmix0 OSS transparent virtual mixer


Mixer devices
  0: Shuttle SN25P (VT1612A) (Mixer 0 of device object 0)

Audio devices
Shuttle SN25P front out           /dev/oss/envy24ht0/pcm0  (device index 0)
Shuttle SN25P c/l out             /dev/oss/envy24ht0/pcm1  (device index 1)
Shuttle SN25P side out            /dev/oss/envy24ht0/pcm2  (device index 2)
Shuttle SN25P digital out         /dev/oss/envy24ht0/spdout  (device index 3)
Shuttle SN25P analog in           /dev/oss/envy24ht0/pcmin0  (device index 4)
Shuttle SN25P front out (VMIX0)   /dev/oss/vmix0/pcm0  (device index 5)
Shuttle SN25P front out (VMIX0)   /dev/oss/vmix0/pcm1  (device index 6)
Shuttle SN25P front out (VMIX0)   /dev/oss/vmix0/pcm2  (device index 7)
Shuttle SN25P front out (VMIX0)   /dev/oss/vmix0/pcm3  (device index 8)
Shuttle SN25P front out (VMIX0)   /dev/oss/vmix0/pcm4  (device index 9)
Shuttle SN25P front out (VMIX0)   /dev/oss/vmix0/pcm5  (device index 10)
Shuttle SN25P front out (VMIX0)   /dev/oss/vmix0/pcm6  (device index 11)
Shuttle SN25P front out (VMIX0)   /dev/oss/vmix0/pcm7  (device index 12)

-----------------
The weirdest things I got are in the kernel conf:
$ kldstat
Id Refs Address    Size     Name
  1   25 0xc0400000 906518   kernel
  2    1 0xc0d07000 a634     reiserfs.ko
  3    1 0xc0d12000 80ea28   nvidia.ko
  4    4 0xc1521000 28658    linux.ko
  5    1 0xc154a000 6a32c    acpi.ko
  6    1 0xc5322000 7000     linprocfs.ko
  7    1 0xc5444000 3000     pflog.ko
  8    1 0xc5447000 33000    pf.ko
  9    3 0xc54f2000 7d000    osscore.ko
10    1 0xc5575000 13000    envy24ht.ko
11    1 0xc5599000 2000     vmix.ko
12    1 0xc55e6000 4000     logo_saver.ko
13    1 0xc577b000 2000     rtc.ko

So my driver is there but:
$ sysctl -a hw.snd
sysctl: unknown oid 'hw.snd'

-----------------
Files in /dev are:
$ ls /dev/dsp*
lrwxr-xr-x    1 root     wheel           9 Apr 17 07:17 /dev/dsp -> /dev/dsp0
lrwxr-xr-x    1 root     wheel          23 Apr 17 07:17 /dev/dsp0 -> 
/dev/oss/envy24ht0/pcm0
lrwxr-xr-x    1 root     wheel          23 Apr 17 07:17 /dev/dsp1 -> 
/dev/oss/envy24ht0/pcm1
lrwxr-xr-x    1 root     wheel          19 Apr 17 07:17 /dev/dsp10 -> 
/dev/oss/vmix0/pcm5
lrwxr-xr-x    1 root     wheel          19 Apr 17 07:17 /dev/dsp11 -> 
/dev/oss/vmix0/pcm6
lrwxr-xr-x    1 root     wheel          19 Apr 17 07:17 /dev/dsp12 -> 
/dev/oss/vmix0/pcm7
lrwxr-xr-x    1 root     wheel          23 Apr 17 07:17 /dev/dsp2 -> 
/dev/oss/envy24ht0/pcm2
lrwxr-xr-x    1 root     wheel          25 Apr 17 07:17 /dev/dsp3 -> 
/dev/oss/envy24ht0/spdout
lrwxr-xr-x    1 root     wheel          25 Apr 17 07:17 /dev/dsp4 -> 
/dev/oss/envy24ht0/pcmin0
lrwxr-xr-x    1 root     wheel          19 Apr 17 07:17 /dev/dsp5 -> 
/dev/oss/vmix0/pcm0
lrwxr-xr-x    1 root     wheel          19 Apr 17 07:17 /dev/dsp6 -> 
/dev/oss/vmix0/pcm1
lrwxr-xr-x    1 root     wheel          19 Apr 17 07:17 /dev/dsp7 -> 
/dev/oss/vmix0/pcm2
lrwxr-xr-x    1 root     wheel          19 Apr 17 07:17 /dev/dsp8 -> 
/dev/oss/vmix0/pcm3
lrwxr-xr-x    1 root     wheel          19 Apr 17 07:17 /dev/dsp9 -> 
/dev/oss/vmix0/pcm4
lrwxr-xr-x    1 root     wheel          25 Apr 17 07:17 /dev/dsp_ac3 -> 
/dev/oss/envy24ht0/spdout
lrwxr-xr-x    1 root     wheel           8 Apr 17 07:17 /dev/dsp_in -> /dev/dsp
lrwxr-xr-x    1 root     wheel          23 Apr 17 07:17 /dev/dsp_mmap -> 
/dev/oss/envy24ht0/pcm0
lrwxr-xr-x    1 root     wheel          23 Apr 17 07:17 /dev/dsp_multich -> 
/dev/oss/envy24ht0/pcm0
lrwxr-xr-x    1 root     wheel          23 Apr 17 07:17 /dev/dsp_out -> 
/dev/oss/envy24ht0/pcm0
lrwxr-xr-x    1 root     wheel          25 Apr 17 07:17 /dev/dsp_spdifout -> 
/dev/oss/envy24ht0/spdout




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?480FBF0F.3000000>