From owner-freebsd-questions@FreeBSD.ORG Thu May 7 18:33:50 2009 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 D9D4F106566C for ; Thu, 7 May 2009 18:33:50 +0000 (UTC) (envelope-from lhecking@users.sourceforge.net) Received: from ns1.cypress.com (ns1.cypress.com [157.95.67.4]) by mx1.freebsd.org (Postfix) with ESMTP id BAC7F8FC15 for ; Thu, 7 May 2009 18:33:50 +0000 (UTC) (envelope-from lhecking@users.sourceforge.net) Received: from corpmail.cypress.com (corpmail [157.95.1.2]) by ns1.cypress.com (8.12.10/8.12.10) with ESMTP id n47IXoh1020127 for ; Thu, 7 May 2009 11:33:50 -0700 (PDT) Received: from cork.irdesign.cypress.com (cork.irdesign.cypress.com [157.95.24.1]) by corpmail.cypress.com (8.12.10/8.12.10) with ESMTP id n47IXgL3007028 for ; Thu, 7 May 2009 11:33:42 -0700 (PDT) Received: from cork.irdesign.cypress.com (localhost [127.0.0.1]) by cork.irdesign.cypress.com (Postfix) with ESMTP id 3A7064E342 for ; Thu, 7 May 2009 19:33:40 +0100 (IST) Received: by cork.irdesign.cypress.com (Postfix, from userid 0) id 575704E37E; Thu, 7 May 2009 19:33:30 +0100 (IST) From: Lars Hecking To: freebsd-questions@freebsd.org References: <20090507105027.279A04E382@cork.irdesign.cypress.com> <20090507123330.GD1111@phenom.cordula.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=unknown-8bit Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20090507123330.GD1111@phenom.cordula.ws> X-Mutt-References: <20090507123330.GD1111@phenom.cordula.ws> Message-Id: <20090507183330.575704E37E@cork.irdesign.cypress.com> Date: Thu, 7 May 2009 19:33:30 +0100 (IST) Subject: Re: 7.2 = no sound 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, 07 May 2009 18:33:51 -0000 > > > pcm0: at cad 0 nid 1 on hdac0 > > pcm1: at cad 0 nid 1 on hdac0 > > Have you tried to set hw.snd.default_unit to the right port? > > >From snd_hda(4): > > The default audio device may be tuned by setting the hw.snd.default_unit > sysctl, as described in sound(4), or explicitly specified in application > settings. > > That's the most common cause for sound problems after the snd_hda > upgrade. Well, I don´t know what the rigt port is ;-) I tried hw.snd.default_unit=0 and now I have # ll /dev/dsp* crw-rw-rw- 1 root wheel 0, 118 May 7 19:23 /dev/dsp0.0 crw-rw-rw- 1 root wheel 0, 119 May 7 19:23 /dev/dsp0.1 crw-rw-rw- 1 root wheel 0, 117 May 7 19:22 /dev/dsp1.0 i.e dsp0.[234] are gone. Sound preferences show that the default device for input and output (? how is that supposed to work?) is /dev/dsp0. What do I need to configure to create a /dev/dsp0? I don´t really understand what´s going on, especially since the number of dsp* devices keeps changing # cd /dev # ln -s dsp0.0 dsp0 ln: dsp0: File exists # ll dsp* crw-rw-rw- 1 root wheel 0, 118 May 7 19:28 dsp0.0 crw-rw-rw- 1 root wheel 0, 119 May 7 19:22 dsp0.1 crw-rw-rw- 1 root wheel 0, 129 May 7 19:22 dsp0.2 crw-rw-rw- 1 root wheel 0, 117 May 7 19:22 dsp1.0