From owner-freebsd-multimedia@FreeBSD.ORG Thu Jun 16 18:12:55 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B8E6516A41C for ; Thu, 16 Jun 2005 18:12:55 +0000 (GMT) (envelope-from mat@cnd.mcgill.ca) Received: from torrent.cc.mcgill.ca (torrent.CC.McGill.CA [132.206.27.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21F7943D4C for ; Thu, 16 Jun 2005 18:12:54 +0000 (GMT) (envelope-from mat@cnd.mcgill.ca) Received: from mailscan3.cc.mcgill.ca (mailscan3.CC.McGill.CA [132.216.77.250]) by torrent.cc.mcgill.ca (8.12.11/8.12.3) with ESMTP id j5GICiWs006585; Thu, 16 Jun 2005 14:12:48 -0400 Received: from cube.cnd.mcgill.ca (cube.CND.McGill.CA [132.216.25.196]) by mailscan3.cc.mcgill.ca (8.13.0/8.13.0) with ESMTP id j5GICMDJ023183; Thu, 16 Jun 2005 14:12:22 -0400 (EDT) Received: from localhost.localdomain (giant.cnd.mcgill.ca [132.216.11.153]) by cube.cnd.mcgill.ca (8.12.11/8.12.11) with ESMTP id j5GICL7p001673; Thu, 16 Jun 2005 14:12:22 -0400 Received: from localhost.localdomain (giant [127.0.0.1]) by localhost.localdomain (8.12.11/8.12.11) with ESMTP id j5GICL1a016788; Thu, 16 Jun 2005 14:12:21 -0400 Received: (from mat@localhost) by localhost.localdomain (8.12.11/8.12.11/Submit) id j5GICLif016787; Thu, 16 Jun 2005 14:12:21 -0400 Date: Thu, 16 Jun 2005 14:12:20 -0400 From: Mathew Kanner To: Patrick Tracanelli Message-ID: <20050616181220.GE9461@cnd.mcgill.ca> References: <42B1BF4F.6020501@freebsdbrasil.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42B1BF4F.6020501@freebsdbrasil.com.br> User-Agent: Mutt/1.4.2i Organization: I speak for myself, operating in Montreal, CANADA Cc: freebsd-multimedia@freebsd.org Subject: Re: pcm0 channel dead X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jun 2005 18:12:55 -0000 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: 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: port 0x8800-0x88ff mem 0xf0401000-0xf0401fff irq > 11 at device 4.0 on pci0 > pcm0: > 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