Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jun 2005 14:12:20 -0400
From:      Mathew Kanner <mat@cnd.mcgill.ca>
To:        Patrick Tracanelli <eksffa@freebsdbrasil.com.br>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: pcm0 channel dead
Message-ID:  <20050616181220.GE9461@cnd.mcgill.ca>
In-Reply-To: <42B1BF4F.6020501@freebsdbrasil.com.br>
References:  <42B1BF4F.6020501@freebsdbrasil.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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 :-)

	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



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