From owner-freebsd-questions@FreeBSD.ORG Wed Dec 30 16:36:35 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 758C61065697 for ; Wed, 30 Dec 2009 16:36:35 +0000 (UTC) (envelope-from mark@msen.com) Received: from shell.msen.com (msen.com [148.59.86.2]) by mx1.freebsd.org (Postfix) with ESMTP id 387448FC16 for ; Wed, 30 Dec 2009 16:36:35 +0000 (UTC) X-Sent-To: freebsd-questions@freebsd.org Received: from [10.2.64.70] (mail.andersonsinstall.com [67.59.44.42]) (authenticated bits=0) by shell.msen.com (8.14.3/8.14.3) with ESMTP id nBUGaXQV001308 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 30 Dec 2009 11:36:34 -0500 (EST) (envelope-from mark@msen.com) Message-ID: <4B3B818E.3070909@msen.com> Date: Wed, 30 Dec 2009 11:36:30 -0500 From: Mark Moellering User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 References: <200912301645.50105.macerl@telkomsa.net> <200912301723.27938.pieter@service2media.com> In-Reply-To: <200912301723.27938.pieter@service2media.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: Pass (sender authenticated); receiver=msen.com; client-ip=67.59.44.42; envelope-from= Received-SPF: Pass (sender authenticated); receiver=msen.com; client-ip=67.59.44.42; helo=[10.2.64.70] Cc: "Richard L. Mace" , freebsd-questions@freebsd.org 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:36:35 -0000 Pieter de Goeje wrote: > 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 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > Richard, I am sure that this is what I did to my machine to get snd_hda to work. Mark