From owner-freebsd-current@FreeBSD.ORG Wed Apr 23 08:46:45 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA47A37B405 for ; Wed, 23 Apr 2003 08:46:45 -0700 (PDT) Received: from mail.speakeasy.net (mail14.speakeasy.net [216.254.0.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9019043FB1 for ; Wed, 23 Apr 2003 08:46:44 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 29111 invoked from network); 23 Apr 2003 15:46:47 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender )encrypted SMTP for ; 23 Apr 2003 15:46:47 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.8/8.12.8) with ESMTP id h3NFkbOv096505; Wed, 23 Apr 2003 11:46:39 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Wed, 23 Apr 2003 11:46:40 -0400 (EDT) From: John Baldwin To: Daniel Eischen cc: current@freebsd.org cc: orion@freebsd.org Subject: RE: Recent pcm/ac97 commit breaks all the glass in my house X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Apr 2003 15:46:46 -0000 On 23-Apr-2003 Daniel Eischen wrote: > I get a terrible feedback from pcm immediately upon booting and > probing my sound chip. It doesn't go away and I have to reboot. > My system is a Dell 4150 laptop with integrated sound that is > probed as: > > pcm0: port 0xdc80-0xdcbf,0xd800-0xd8ff irq 11 at device 31.5 on pci0 > pcm0: I get the same exact problem on my Dell 5000e. It is quite annoying. The sound device even seems to be picking up sounds such as keypresses. I thought my laptop was physically broken when it first happened. :( > Reverting to revision 1.39 of dev/sound/pcm/ac97.c fixes the problem. I'll try this in a bit. I can verify that doing 'mixer vol 0' does solve the problem for me. I tried turning all the other mixers off first but only muting the master volume fixed the problem. Ok, it seems that the following change is sufficient: +#if 0 /* use igain for the mic 20dB boost */ [SOUND_MIXER_IGAIN] = { -AC97_MIX_MIC, 1, 6, 0, 0, 0, 1, 1 }, +#endif I tried playing with mixer igain (which defaulted to 0), but turning it up just made things a lot worse. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/