From owner-freebsd-current@FreeBSD.ORG Tue Feb 24 18:45:26 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 24D8E106567A; Tue, 24 Feb 2009 18:45:26 +0000 (UTC) (envelope-from minimarmot@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.235]) by mx1.freebsd.org (Postfix) with ESMTP id DFCBA8FC0C; Tue, 24 Feb 2009 18:45:25 +0000 (UTC) (envelope-from minimarmot@gmail.com) Received: by rv-out-0506.google.com with SMTP id f6so2643376rvb.43 for ; Tue, 24 Feb 2009 10:45:25 -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=EqDLGLyCkBpj2wJsRFxblNaaLBLc6+pnv4CAQEaFP9c=; b=NRPrbgnfC9iGHxqcWyfqVTfhD93LoC1Fu4X++/NxWqUpqGVY2Np8b2IZ+i+0LD+4Dn KRcj4pjoO3MeZiJP0mJ/jo8CJnbyejesVfBqiMpcbS6xPOO4dAcrlbXd6n2ApTlq7gmJ R6DOq48MiR0H46aVVFBMufx7ECZfzdmvf4fEU= 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=jXyqPTJS4BaMN3zgiw+NAor3V3AQxrX76wKTL/OK8cFi97f1xb2HCzd3xfv/yTSV6B Iu6/vs+YstlOuqfSQaH0dmxfeeFQNtYssukFMJIYVePdK2qYVmlSq+CFNmNawrjuKOI9 Hmv7x0LMsBVG1/0cN6gYGGJLzFn6FYMPQ8u0w= MIME-Version: 1.0 Received: by 10.142.101.17 with SMTP id y17mr2669312wfb.69.1235501125632; Tue, 24 Feb 2009 10:45:25 -0800 (PST) In-Reply-To: <49A43CE5.5030701@FreeBSD.org> References: <1235218982.00077642.1235207402@10.7.7.3> <499FFC5F.3020903@FreeBSD.org> <47d0403c0902210949i74473bc5j57c923e13c85e89@mail.gmail.com> <47d0403c0902240939h317c0454qfa2b5246f60d42d3@mail.gmail.com> <49A43CE5.5030701@FreeBSD.org> Date: Tue, 24 Feb 2009 13:45:25 -0500 Message-ID: <47d0403c0902241045g73b4068fp4a1032e51f752f0e@mail.gmail.com> From: Ben Kaduk To: Alexander Motin Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 18:45:27 -0000 On Tue, Feb 24, 2009 at 1:31 PM, Alexander Motin wrote: > Ben Kaduk wrote: >> >> On Sat, Feb 21, 2009 at 12:49 PM, Ben Kaduk wrote= : >>> >>> On Sat, Feb 21, 2009 at 8:06 AM, Alexander Motin wrot= e: >>>> >>>> Garrett Cooper wrote: >>>>> >>>>> =A0 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 stop= s >>>>> 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. =A0I'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 =A0 =A0 =A0is currently set to =A025:25 >> Mixer pcm =A0 =A0 =A0is currently set to =A025:25 >> Mixer speaker =A0is currently set to =A0 0:0 >> Mixer mix =A0 =A0 =A0is currently set to =A0 0:0 >> Mixer rec =A0 =A0 =A0is currently set to =A0 0:0 >> Mixer monitor =A0is currently set to =A0 0:0 >> Recording source: > > You have set vol and pcm to 25. They are measured not in percents now, th= ere > are a logarithmic scales inside codec, so, depending on model, 25 may mea= n > something like -30dB, when you will be able to hear codec's native noise > margin, which can quite high cheap codecs and cheap boards. > > Set your mixer to 80-100 and reduce volume on you speakers/amplifier. > Sadly, I am using headphones, with no additional amplification. I think I was using the same or similar mixer settings in the old world ord= er, with the same loudness at my ear. I would be surprised if the change to logarithmic scale is solely responsible for this noise, but it is plausible ... -Ben Kaduk