From owner-freebsd-questions@FreeBSD.ORG Thu Jun 11 18:46:05 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 F0C41106566C for ; Thu, 11 Jun 2009 18:46:05 +0000 (UTC) (envelope-from dak.col@gmail.com) Received: from mail-qy0-f173.google.com (mail-qy0-f173.google.com [209.85.221.173]) by mx1.freebsd.org (Postfix) with ESMTP id A3A9D8FC1B for ; Thu, 11 Jun 2009 18:46:05 +0000 (UTC) (envelope-from dak.col@gmail.com) Received: by qyk3 with SMTP id 3so2441639qyk.3 for ; Thu, 11 Jun 2009 11:46:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=LuvvCFj0S/pOY9KxFnOjBZAtCDlQJwo57DXOItxkclQ=; b=Eq55LnVI6lkKGXKj8prk0+GCpKI1LjYzMx3so3zVVWSeeDaZjeipLZMmrCGkvqenhF x/MwFKx1oQ7WZpFOr/6ZfIa84By1wOiZgO9/sAcEw8KLrBUTksYePErSkWObQe7Gk6tg K10sC0VIWh7OTqig1Q/BURzYRJCSP/PEPYwd0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=XJ+CwYIObb8qWWWeW0HpBMjiAm9Jk2E8+DFGASQqwleovLj1B6MDPvQw2Cmtq8sBpi aFiIYDFGWS42lCDi/l/yy11p1d3vbwguIOSJWxPfBs05ylYlSFLjijlCzJJkZUpn4oG9 EP6khvpkS+EhHBO8SLUn/Hz95vHmTAT8/941Q= MIME-Version: 1.0 Received: by 10.220.74.85 with SMTP id t21mr2551719vcj.75.1244745964891; Thu, 11 Jun 2009 11:46:04 -0700 (PDT) In-Reply-To: <20090611181307.GA38748@slackbox.xs4all.nl> References: <20090610222823.GA7364@slackbox.xs4all.nl> <4A311DD9.7040405@bah.homeip.net> <20090611162538.GA35956@slackbox.xs4all.nl> <4A314577.8000102@bah.homeip.net> <20090611181307.GA38748@slackbox.xs4all.nl> Date: Thu, 11 Jun 2009 13:46:04 -0500 Message-ID: <3b93bd110906111146v622be4ffxe285cb5ac0374106@mail.gmail.com> From: "Diego F. Arias R." To: Roland Smith Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: carmel_ny@hotmail.com, freebsd-questions@freebsd.org, Bernt Hansson Subject: Re: Compiling in sound driver in kernel 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, 11 Jun 2009 18:46:06 -0000 On Thu, Jun 11, 2009 at 1:13 PM, Roland Smith wrote: > On Thu, Jun 11, 2009 at 07:57:11PM +0200, Bernt Hansson wrote: >> Roland Smith: >> > On Thu, Jun 11, 2009 at 05:08:09PM +0200, Bernt Hansson wrote: >> >> Roland Smith: >> >>> On Wed, Jun 10, 2009 at 06:11:56PM -0400, Carmel wrote: >> >>>> This is my first attempt to compile in a driver in a new kernel I a= m >> >>>> attempting to build. >> >>>> >> >>>> Using loader.conf, I have the 'snd_hda' driver presently being load= ed. >> >>>> I want to compile it directly into the kernel. I tried this: >> >>>> Unfortunately, the kernel will not build. What is the proper way to >> >>>> build a kernel with sound embedded into it? >> >>> >> >>> You're missing something: >> >>> >> >>> device =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0sound >> >>>> device =C2=A0 snd_hda =C2=A0 =C2=A0 =C2=A0 =C2=A0 # Sound driver >> >> That doesn't help me. snd_hda driver won't load either way. I always >> >> have to load it manualy. >> > >> > What is the exact error message that you get? >> >> None. No error message. > > So the kernel now builds correctly with 'device sound' and 'device snd_hd= a'? > If not, what message does the kernel build yield? > >> > What kind of hardware do you have? >> >> MB: Gigabyte GA-MA790fx-DS5 > > Ok, the ALC889 on board is listed as supported by snd_hda(4). > > BTW, have a look at the BUGS section of snd_hda(4). Maybe your problem > is related to this. > > If loading the module works, have you tried adding snd_hda_load=3D"YES" t= o > /boot/loader.conf, as per the manual page? > > Roland > -- > R.F.Smith =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 http://www.xs4all.n= l/~rsmith/ > [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] > pgp: 1A2B 477F 9970 BA3C 2914 =C2=A0B7CE 1277 EFB0 C321 A725 (KeyID: C321= A725) > hello: do you really need to compile it in the kernel or just allow the module to auto-load at start-up? --=20 mmm, interesante.....