From owner-freebsd-current@FreeBSD.ORG Tue Feb 24 17:39:19 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DEC9B106566B; Tue, 24 Feb 2009 17:39:19 +0000 (UTC) (envelope-from minimarmot@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.170]) by mx1.freebsd.org (Postfix) with ESMTP id AC6F98FC20; Tue, 24 Feb 2009 17:39:19 +0000 (UTC) (envelope-from minimarmot@gmail.com) Received: by wf-out-1314.google.com with SMTP id 27so2714950wfd.7 for ; Tue, 24 Feb 2009 09:39:19 -0800 (PST) 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=AGpHCZiFgXuwkav3RrN8ITBaHP7vpc5iRrUSqPWNJ/Y=; b=qj+Wbzwv83HVTSzfWQgEmZKjQvQQOuSoY1TLvtLU1JDiEE37549P8+ReRRQwB9aT9w a5h9deKZ2VmPWlCP5BUXCw/ssb2QInpleCwIc7rNf71iWsYmQTA1VLQ6HQ1CApRX//vW e2hjg989DF6XRS28RWiY9GLxC3EckwTaK3BpU= 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=q8wanAzDWmxTjMLYvXbPcv78RzSy2M//uVSlf8HBsJphHhHQvGy2VnAqnSvy1jfWJP Hx9kQKfaccUnL2ey/4m+fJTmvNAds+F64bWyd68e03fTzGZ0kD+WGMkvZahwuGjBmLTh pU+ROKkuu7qYL9N+Q+MwnKZYj177Ygqh3C4Ck= MIME-Version: 1.0 Received: by 10.143.42.6 with SMTP id u6mr2641378wfj.144.1235497159171; Tue, 24 Feb 2009 09:39:19 -0800 (PST) In-Reply-To: <47d0403c0902210949i74473bc5j57c923e13c85e89@mail.gmail.com> References: <1235218982.00077642.1235207402@10.7.7.3> <499FFC5F.3020903@FreeBSD.org> <47d0403c0902210949i74473bc5j57c923e13c85e89@mail.gmail.com> Date: Tue, 24 Feb 2009 12:39:19 -0500 Message-ID: <47d0403c0902240939h317c0454qfa2b5246f60d42d3@mail.gmail.com> From: Ben Kaduk To: Alexander Motin Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Current Subject: Re: Annoying whitenoise sound coming from snd_hda enabled chipset X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Tue, 24 Feb 2009 17:39:20 -0000 Finally at my work desktop ... On Sat, Feb 21, 2009 at 12:49 PM, Ben Kaduk wrote: > On Sat, Feb 21, 2009 at 8:06 AM, Alexander Motin wrote: >> Garrett Cooper wrote: >>> >>> I don't know how else to describe it, but when I turn up my >>> speakers enough (50%+) and don't have any sound playing, I hear a >>> whitenoise hiss coming out of them. When I change webpages (nvidia >>> driver is GIANT locked) or do something else kernel intensive it stops >>> for a brief second, but apart from that it's an annoying trill sound >>> almost like a mosquito humming around me waiting to be swatted. >> >> I think it may be radio interference with disconnected microphone inputs. >> Try to set all unneeded mixer volumes to 0, especially mic, monitor, speaker >> and mix. Inputs often have too sensitive 20-30dB pre-amplifiers. Some codecs >> have them on all inputs. > > It's hard to be sure, since I'm not sure that I could describe what I > hear any better than Garret did, but I think I'm seeing the same sort > of thing on my work desktop. I'll try setting unneeded volumes to > zero the next time I'm in, and see if that helps. > > dmesg and pciconf are available here: > http://stuff.mit.edu/afs/sipb.mit.edu/user/kaduk/freebsd/periphrasis/ I'm still getting the noise, even with these mixer settings: periphrasis# mixer Mixer vol is currently set to 25:25 Mixer pcm is currently set to 25:25 Mixer speaker is currently set to 0:0 Mixer mix is currently set to 0:0 Mixer rec is currently set to 0:0 Mixer monitor is currently set to 0:0 Recording source: (One of the upgrades neede me to set hw.snd.default_unit=1, but that's unrelated.) Now that I'm actually listening to the noise, I'm not sure that it's really something I would describe as white noise --- the frequency distribution is only on a fairly narrow band of relatively high frequency. Setting the mixer entirely to zero does not eliminate the noise. Things like switching between workspaces in KDE or scrolling up and down in firefox using the scroll wheel cause the noise to disappear during those actions. I just now tested switching back to hw.snd.default_unit=0 and using the headphone jack on the back of the machine (soldered directly to the motherboard), and the noise is still present, though slightly quieter than using the front panel headphones jack. Any thoughts are greatly appreciated. -Ben Kaduk