pcm0 channel dead
Mathew Kanner
mat at cnd.mcgill.ca
Thu Jun 16 18:12:55 GMT 2005
On Jun 16, Patrick Tracanelli wrote:
>
> 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 at claire-redfield)~> grep "snd\|sound" /sys/i386/conf/CLAIRE
> device sound
> device "snd_t4dwave"
> (eksffa at 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 at claire-redfield)~> pciconf -lv | grep -B4 audio
> pcm0 at 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 at 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 :-)
Hi,
I guess what you are saying is the your device is half-duplex.
Please do a
sysctl hw.snd.verbose=3
cat /dev/sndstat
--Mat
More information about the freebsd-multimedia
mailing list