From owner-freebsd-questions@FreeBSD.ORG Wed Dec 30 16:23:32 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 0F715106566C for ; Wed, 30 Dec 2009 16:23:32 +0000 (UTC) (envelope-from pdegoeje@service2media.com) Received: from s2m-is-001.service2media.com (rev-130-102.virtu.nl [217.114.102.130]) by mx1.freebsd.org (Postfix) with ESMTP id 9FD028FC12 for ; Wed, 30 Dec 2009 16:23:30 +0000 (UTC) Received: from pieter-dev-linux.localnet ([10.0.1.116] RDNS failed) by s2m-is-001.service2media.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 30 Dec 2009 17:23:28 +0100 From: Pieter de Goeje Organization: Service2Media To: freebsd-questions@freebsd.org Date: Wed, 30 Dec 2009 17:23:27 +0100 User-Agent: KMail/1.12.2 (Linux/2.6.31-16-generic; KDE/4.3.2; i686; ; ) References: <200912301645.50105.macerl@telkomsa.net> In-Reply-To: <200912301645.50105.macerl@telkomsa.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200912301723.27938.pieter@service2media.com> X-OriginalArrivalTime: 30 Dec 2009 16:23:28.0626 (UTC) FILETIME=[6B7C4520:01CA896C] Cc: "Richard L. Mace" Subject: Re: snd_hda peculiarities 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: Wed, 30 Dec 2009 16:23:32 -0000 On Wednesday 30 December 2009 15:45:50 Richard L. Mace wrote: > I recently installed FreeBSD 8.0 (amd64) on my laptop (HP 8510w) and most > things are working. However, a minor annoyance is that I only get sound if > I manually load snd_hda via: > > # kldload snd_hda > > i.e., after booting. If I place the following in /boot/loader.conf > > snd_hda_load="YES" > > I get no sound, even though the driver seems to load and cat /dev/sndstat > gives Try setting hw.snd.default_unit=1 in sysctl.conf. Most likely the order of the devices has changed. > --------------------------------------------------------------------------- > ------------------------------------------- FreeBSD Audio Driver (newpcm: > 64bit 2009061500/amd64) > Installed devices: > pcm0: at cad 0 nid 1 on hdac0 > kld snd_hda [MPSAFE] (1p:1v/1r:1v channels duplex default) > pcm1: at cad 0 nid 1 on hdac0 > kld snd_hda [MPSAFE] (1p:1v/0r:0v channels simplex) > --------------------------------------------------------------------------- > --------------------------------------------- This looks like the output from the working configuration. Note that the first device is the analog output, the second is a digital output. When you load snd_hda using loader.conf, the order is likely different on your machine and the digital output is listed first. hw.snd.default_unit=1 would then direct the sound to the proper (analog) output. - Pieter