skype sound problem

Rong-En Fan grafan at gmail.com
Thu Mar 30 01:14:15 UTC 2006


On 3/29/06, Ariff Abdullah <ariff at freebsd.org> wrote:
> On Tue, 28 Mar 2006 23:51:45 -0500
> "Rong-En Fan" <grafan at gmail.com> wrote:
> > Hi,
> >
> > When I use skype, just call anyone then hang up it. Then, the skype
> > can not open the dsp device again. fstat shows that no process is
> > opening /dev/dsp*. But, /dev/sndstat
> > shows:
> >
[...]
> > You may notice that pid 1004 is using record and dsp0.2, this
> > process is skype_bin.
> > If I close skype, /dev/sndstat still shows that pid 1004 occupies
> > record channel and dsp0.2 (but ps shows that there is no pid 1004).
> > Any ideas?
> >
> > I'm running -CURRENT around March 22 on i386. I dont think I have
> > this problem in Feb or in Jan. I will try do a binary search later
> > (In fact, I tried to boot with Feb
> > 1's kernel, but got a panic about 'bad dir' :-().
> >
>
> This is a known issue (at least, for me).
>
> Update your src (at least for sys/dev/sound/pcm), and apply this
> patch:
>
>   http://people.freebsd.org/~ariff/test/sound.c.diff

Hi,

I have updated my -current to March 29, apply the patch above.
However, it does not solve my problem.

dmesg:
pcm0: <Intel ICH4 (82801DB)> port 0x1c00-0x1cff,0x18c0-0x18ff mem
0xc0000c00-0xc0000dff,0xc0000800-0xc00008ff irq 11 at device 31.5 on
pci0
pcm0: Reserved 0x200 bytes for rid 0x18 type 3 at 0xc0000c00
pcm0: Reserved 0x100 bytes for rid 0x1c type 3 at 0xc0000800
pcm0: [MPSAFE]
pcm0: <Analog Devices AD1981B AC97 Codec (id = 0x41445374)>
pcm0: Codec features headphone, 20 bit DAC, 5 bit master volume, no 3D
Stereo Enhancement
pcm0: Primary codec extended features variable rate PCM, AMAP, reserved 4
pcm0: ac97 codec dac ready count: 0
pcm0: sndbuf_setmap 1f109000, 4000; 0xd58e7000 -> 1f109000
pcm0: sndbuf_setmap 1f105000, 4000; 0xd58eb000 -> 1f105000
pcm0: measured ac97 link rate at 47994 Hz, will use 48000 Hz

/etc/sysctl.conf
hw.snd.pcm0.vchans=10
hw.snd.maxautovchans=10
(I tried put them in loader.conf, result is the same)

I use modules for snd_ich and sound.

Hope the information above might help. If you want more information
from me, just let me know :)

Thanks,
Rong-En Fan


More information about the freebsd-multimedia mailing list