From owner-freebsd-mobile@FreeBSD.ORG Wed Apr 27 06:54:55 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9469D16A4CE for ; Wed, 27 Apr 2005 06:54:55 +0000 (GMT) Received: from mp.cs.niu.edu (mp.cs.niu.edu [131.156.145.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id F059343D4C for ; Wed, 27 Apr 2005 06:54:54 +0000 (GMT) (envelope-from bennett@cs.niu.edu) Received: from mp.cs.niu.edu (localhost [127.0.0.1]) by mp.cs.niu.edu (8.13.4/8.13.4/d) with ESMTP id j3R6rvaM020080 for ; Wed, 27 Apr 2005 01:53:57 -0500 (CDT) Date: Wed, 27 Apr 2005 01:53:57 -0500 (CDT) From: Scott Bennett Message-Id: <200504270653.j3R6rvGs020079@mp.cs.niu.edu> To: freebsd-mobile@freebsd.org Subject: Intel sound chips kernel configuration problem X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2005 06:54:55 -0000 When xmcd seemed to run okay, but failed to produce any sound, I hunted around and tried a "kldload snd_driver.ko", which worked and produced the following /dev/sndstat file: FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at io 0xf8fff800, 0xf8fff400 irq 17 bufsz 16384 kld snd_ich (1p/1r/0v channels duplex default) So I tried a "kldunload driver" followed by a "kldload snd_ich.ko", which also worked fine. Not wanting to have to load this driver after every boot, I tried adding device snd_ich to my kernel configuration, which is the GENERIC kernel with a few additions. (I actually configure using the SMP configuration, which includes the GENERIC, because of the dual-cored CPU on this machine.) config showed no errors, but the "make depend" yielded Script started on Wed Apr 27 01:40:44 2005 hellas# make depend rm -f .olddep if [ -f .depend ]; then mv .depend .olddep; fi make _kernel-depend if [ -f .olddep ]; then mv .olddep .depend; fi rm -f .newdep make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | MKDEP_CPP="cc -E" CC="cc" xargs mkdep -a -f .newdep -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I../../.. -I../../../contrib/dev/acpica -I../../../contrib/altq -I../../../contrib/ipfilter -I../../../contrib/pf -I../../../contrib/dev/ath -I../../../contrib/dev/ath/freebsd -I../../../contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding In file included from ../../../dev/sound/pcm/sound.h:93, from ../../../dev/sound/pci/ich.c:28: ../../../dev/sound/pcm/channel.h:69:24: channel_if.h: No such file or directory In file included from ../../../dev/sound/pci/ich.c:29: ../../../dev/sound/pcm/ac97.h:90:21: ac97_if.h: No such file or directory mkdep: compile failed *** Error code 1 Stop in /usr/src/sys/i386/compile/SMP. *** Error code 1 Stop in /usr/src/sys/i386/compile/SMP. hellas# exit exit Script done on Wed Apr 27 01:41:14 2005 Does this mean that there is currently incomplete support for compiling this sound driver into the kernel? If so, is there a way to automate loading of the driver after each boot? Thanks in advance for any helpful answers. Scott Bennett, Comm. ASMELG, CFIAG ********************************************************************** * Internet: bennett at cs.niu.edu * *--------------------------------------------------------------------* * "A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army." * * -- Gov. John Hancock, New York Journal, 28 January 1790 * **********************************************************************