From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 18:25:03 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A9F9106568A for ; Thu, 9 Oct 2008 18:25:03 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id 040A48FC24 for ; Thu, 9 Oct 2008 18:25:02 +0000 (UTC) (envelope-from mav@FreeBSD.org) X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona-2.1.0 Received: from [212.86.226.226] (account mav@alkar.net HELO mavbook.mavhome.dp.ua) by cmail.optima.ua (CommuniGate Pro SMTP 5.1.14) with ESMTPSA id 224292154; Thu, 09 Oct 2008 20:24:59 +0300 Message-ID: <48EE3E69.5070708@FreeBSD.org> Date: Thu, 09 Oct 2008 20:24:57 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.16 (X11/20080726) MIME-Version: 1.0 To: Aniruddha , freebsd-questions@freebsd.org, freebsd-multimedia@freebsd.org References: <1223425382.00022950.1223412603@10.7.7.3> <1223428982.00022977.1223416203@10.7.7.3> <1223500987.00023360.1223490602@10.7.7.3> <1223511787.00023435.1223500204@10.7.7.3> <1223515383.00023447.1223502601@10.7.7.3> <1223518981.00023460.1223505602@10.7.7.3> <1223547783.00023534.1223536802@10.7.7.3> <1223554982.00023555.1223542202@10.7.7.3> In-Reply-To: <1223554982.00023555.1223542202@10.7.7.3> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Can't get soundcard to work X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 18:25:03 -0000 Frank Shute wrote: > On Thu, Oct 09, 2008 at 09:12:28AM +0200, Aniruddha wrote: >> On Wed, 2008-10-08 at 23:31 +0100, Frank Shute wrote: >>>> ls /dev/d >>>> da0 da2 dcons devstat dsp0.0 dsp1.0 >>>> da1 da3 devctl dgdb dsp0.1 dumpdev >>> On my machine: >>> >>> $ ls /dev | grep dsp >>> dsp0.0 >>> dsp0.1 >>> >>> i.e no dsp1.0 It will be created on demand when sound application will try to open it directly. Also it may be set as default with hw.snd.default_unit sysctl described in man sound. >>> What does: >>> >>> $ cat /dev/sndstat >>> >>> give you? >> sndstat: >>> FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386) >>> Installed devices: >>> pcm0: at memory >> 0xff9ec000 irq 17 kld snd_hda [20080420_0052] [MPSAFE] (mixer only) >>> pcm1: at memory >> 0xffafc000 irq 19 kld snd_hda [20080420_0052] [MPSAFE] (1p:1v/1r:1v >> channels duplex) > > The driver is binding to both. Indeed. First one is HDMI on video and second on motherboard. The old snd_hda driver you have surely unable to manage first one. Second looks better, but also should be tested. Updated driver in 8-CURRENT should work better. It could be ported to 7-STABLE without any modifications. -- Alexander Motin