From owner-freebsd-questions@FreeBSD.ORG Mon Apr 7 21:09:53 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6707A37B401 for ; Mon, 7 Apr 2003 21:09:53 -0700 (PDT) Received: from puma.icir.org (puma.icir.org [192.150.187.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id E82F443F3F for ; Mon, 7 Apr 2003 21:09:52 -0700 (PDT) (envelope-from hodson@puma.icir.org) Received: from puma.icir.org (localhost [127.0.0.1]) by puma.icir.org (8.12.8p1/8.12.3) with ESMTP id h3849qnR064368; Mon, 7 Apr 2003 21:09:52 -0700 (PDT) (envelope-from hodson@puma.icir.org) Message-Id: <200304080409.h3849qnR064368@puma.icir.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.3 To: "Drew Tomlinson" From: Orion Hodson In-Reply-To: Your message of "Mon, 07 Apr 2003 16:46:00 PDT." <00ef01c2fd5f$d81f8520$6e2a6ba5@tagalong> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 07 Apr 2003 21:09:52 -0700 Sender: hodson@icir.org cc: FreeBSD Questions Subject: Re: ICH4 Sound Support? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Apr 2003 04:09:53 -0000 /-- "Drew Tomlinson" wrote: | > | > % fetch -o feeder_rate.c | 'http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/dev/sound/pcm/feed | er_rate.c?rev=1.9&content-type=text/plain' | > % cp feeder_rate.c ${SRC}/sys/dev/sound/pcm/ | > | > If this doesn't work or you can't make it compile, let me know. | | I tried this and was successful in getting it to compile but my sound | quality is still poor. I was thinking of trying again after getting all the | latest pcm sources. How can I do that using your example or is there a | better way? I tried going to ftp.freebsd.org to see if I could find them | but did not have any luck. The handbook does a better job of explaining this that I would :-) http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html You might also want to look at the developers handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/index.htm l Personally, I use 2 machines: a "stable" desktop and a diskless development machine to run kernels and debug kernels on. I wouldnt recommend this when you are just starting out, but if you ever decide you want to do kernel work I can highly recommend it. More info along these lines in the developers handbook in the kernel debugging section. | Thank you again for your help. Even if I don't resolve my problem I am | still learning a lot. Okay, there's a reasonable possibility my initial suspicion is just wrong and there's a chance the new file did not make it into the installed kernel/kernel modules. If you could gather some additional information whilst an "offending" application is running, it would be very helpful. Could you set the sysctl variable "hw.snd.verbose" to be "3" (== maximum verbosity). Run the application that is generating the noise and whilst it's running, run 'cat /dev/sndstat > sndstat.log'. The generated log file should have enough info to have a better idea about the problem. Thanks - Orion