Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jun 2005 15:05:03 -0300
From:      Patrick Tracanelli <eksffa@freebsdbrasil.com.br>
To:        freebsd-multimedia@freebsd.org
Subject:   pcm0 channel dead
Message-ID:  <42B1BF4F.6020501@freebsdbrasil.com.br>

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

Hello there.

I tried to run a number of SIP softphones (linphone, kphone, etc), and 
just found out my problem was the mic recording device, and not the SIP 
software.

I tried to make basic testings on recording, copying from 
/dev/audio|/dev/dsp to a file or to /dev/dsp as output. Every single 
test returns the same:

pcm0:record:0: record interrupt timeout, channel dead

Tried in both 5.4-S and 6.0-CURRENT (from Jun 8th). Any idea what is 
causing this? And how to fix it?

Hardware identifying:

(eksffa@claire-redfield)~> grep "snd\|sound" /sys/i386/conf/CLAIRE
device          sound
device          "snd_t4dwave"
(eksffa@claire-redfield)~> cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: <Acer Labs M5451> at io 0x8800 irq 11  (4p/1r/0v channels duplex 
default)
(eksffa@claire-redfield)~> pciconf -lv | grep -B4 audio
pcm0@pci0:4:0:  class=0x040100 card=0x8158104d chip=0x545110b9 rev=0x02 
hdr=0x00
     vendor   = 'Acer Labs Incorporated (ALi)'
     device   = 'ALI M5451 PCI AC-Link Controller Audio Device'
     class    = multimedia
     subclass = audio
(eksffa@claire-redfield)~> grep -i pcm /var/run/dmesg.boot
pcm0: <Acer Labs M5451> port 0x8800-0x88ff mem 0xf0401000-0xf0401fff irq 
11 at device 4.0 on pci0
pcm0: <Analog Devices AD1981B AC97 Codec>
pcm0: [GIANT-LOCKED]

O also tried to set sc->duplex = 1 on /sys/dev/sound/pci/solo.c (around 
line 972) but it caused my output device to not work properly as it does 
when sc->duplex = 0 and the mic device still did not work anyway.

Thanks :-)

-- 
Patrick Tracanelli

FreeBSD Brasil LTDA.
patrick @ freebsdbrasil.com.br
"Long live Hanin Elias, Kim Deal!"




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