Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Mar 2007 13:59:46 +0200 (CEST)
From:      Joseba Sanchez <joseba_sanchez@yahoo.es>
To:        freebsd-questions@freebsd.org
Subject:   Re:skype
Message-ID:  <423041.72201.qm@web86808.mail.ukl.yahoo.com>

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

Date: Wed, 21 Mar 2007 02:23:21 +0300
From: Boris Samorodov <bsam@ipt.ru>
Subject: Re: Skype
To: Joseba Sanchez <joseba_sanchez@yahoo.es>
Cc: freebsd-questions@freebsd.org
Message-ID: <13596758@bsam.ru>
Content-Type: text/plain; charset=us-ascii

On Tue, 20 Mar 2007 17:19:34 +0100 (CET) Joseba Sanchez wrote:

> I have a problem with the sound device and skype. I have a HP compaq 
nx9005, that works fine (I think) with the snd_t4dwave driver (I can 
hear music with xmms, and so on).

> Mundaka# cat /dev/sndstat
> FreeBSD Audio Driver (newpcm)
> Installed devices:
> pcm0: <Acer Labs M5451> at io 0x8400 irq 5  (4p/1r/0v channels duplex 
default)

> I have installed skype from /usr/ports/net/skype. The software makes 
the phone call and chat works fine, but I cannot listen what the other 
person says and he doesn't hear what I say. I can also hear my voice in 
the output of my computer, and in the second call, I receive the next 
message:

> [joseba@Mundaka /usr/home/joseba]$ skype_bin
> read error, res = 0 , handle = 30
> /dev/dsp-1: Device or resource busy

Do you have /compat/linux/dev directory and/or mount devfs on it? Show
your "ls -l /compat/linux/dev".

I haven't got the /compat/linux/dev directory:

[joseba@Mundaka /usr/home/joseba]$ ls -l /compat/linux/dev
ls: /compat/linux/dev: No such file or directory

And of course, I haven't got anything mounted on it:

[joseba@Mundaka /usr/home/joseba]$ mount
/dev/ad0s2a on / (ufs, local)
devfs on /dev (devfs, local)
/dev/ad0s2e on /tmp (ufs, local, soft-updates)
/dev/ad0s2f on /usr (ufs, local, soft-updates)
/dev/ad0s2d on /var (ufs, local, soft-updates)
/dev/ad0s1 on /mnt/winXP (msdosfs, local)

> I have been reading the small documentation that skype has on his 
website and I see that it works with the oss mixer using the /dev/dsp. I 
have tried to modify the values of the /dev/dsp0.0 to 0.4 with the 
xfce4-mixer, and impossible. All of them are down and I cannot wake up them, 
they fall down. Using the mixer command I see that all of them are in 
the same situation, the same as mixer0.

> Any help, please?

I have also seen that when skype shows the alarm, it kills a channel:

[joseba@Mundaka /usr/home/joseba]$ dmesg | grep pcm
pcm0: <Acer Labs M5451> port 0x8400-0x84ff mem 0xd0005000-0xd0005fff 
irq 5 at device 6.0 on pci0
pcm0: <Conexant CX20468 AC97 Codec>
pcm0: [GIANT-LOCKED]
pcm0:record:0:dsp0.0: record interrupt timeout, channel dead

Can you explain me or tell me a link to read how to configurate this 
directory well to make skype work fine?

I have installed gnome2 and the Volume control names the sound device 
"Unknow volume control 1(Oss mixer)". Is it important? I don't know if I 
need something else to configure the sound correctly.

Also, when I see the processes involved with skype, I obtain the following (5 different skype_bin):

bash-2.05b$ ps -aux | grep skype
joseba 80724  0.0  7.8 28188 14564  ??  S    12:54PM   0:09.05 skype_bin
joseba 80725  0.0  7.8 28188 14564  ??  S    12:54PM   0:00.04 skype_bin
joseba 80748  0.0  7.8 28188 14564  ??  I    12:54PM   0:00.03 skype_bin
joseba 80749  0.0  7.8 28188 14564  ??  S    12:54PM   0:21.12 skype_bin
joseba 80750  0.0  0.0 28188 14556  ??  IW   -         0:00.00 skype_bin
joseba 37525  0.0  0.4  1592   824  p2  S+    1:47PM   0:00.00 grep skype

I received also the help of Pietro Cerutti, who told me to do the next:
try setting the sysctl OID
dev.pcm.0.vchans=4

but my system hasn't got that variable.

bash-2.05b$ sysctl -a | grep pcm
hw.snd.pcm0.buffersize: 4096
hw.snd.pcm0.vchans: 0
dev.pcm.0.%desc: Acer Labs M5451
dev.pcm.0.%driver: pcm
dev.pcm.0.%location: slot=6 function=0 handle=\_SB_.PCI0.AUDI
dev.pcm.0.%pnpinfo: vendor=0x10b9 device=0x5451 subvendor=0x103c subdevice=0x0024 class=0x040100
dev.pcm.0.%parent: pci0

Thanks a lot for your knowledge and patient. 

 		
---------------------------------

LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com



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