From owner-freebsd-current Fri Feb 28 6:20:12 2003 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 AE0C037B401 for ; Fri, 28 Feb 2003 06:20:09 -0800 (PST) Received: from mail.gmx.net (imap.gmx.net [213.165.65.60]) by mx1.FreeBSD.org (Postfix) with SMTP id 8BEFB43F85 for ; Fri, 28 Feb 2003 06:20:08 -0800 (PST) (envelope-from JunSu@gmx.net) Received: (qmail 3647 invoked by uid 0); 28 Feb 2003 14:20:06 -0000 Received: from unknown (HELO 211.161.222.64) (211.161.222.64) by mail.gmx.net (mp003-rz3) with SMTP; 28 Feb 2003 14:20:06 -0000 From: Jun Su To: freebsd-current@freebsd.org Subject: Re: Hyperactive ICH2 sound (with workaround) Date: Fri, 28 Feb 2003 22:19:49 +0800 User-Agent: KMail/1.5 References: <1046293382.568.16.camel@localhost> In-Reply-To: <1046293382.568.16.camel@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200302282219.49377.JunSu@gmx.net> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG When I load snd_ich module, I got the following output. pcm0: port 0x18c0-0x18ff,0x1c00-0x1cff irq 9 at device 31.5 on pci0 pcm0: (id=0x594d4803) pcm0: measured ac97 link rate at 682666666 Hz sysctl hw.snd.pcm0 : hw.snd.pcm0.buffersize: 16384 hw.snd.pcm0.vchans: 0 hw.snd.pcm0.ac97rate: 682666666 uname -v: FreeBSD 5.0-CURRENT #10: Fri Feb 28 11:53:30 CST 2003 I can play the sound, however the sound has lag. I am not sure if it is the porblem casued by the rate. When I play the sound, I get the same problem in the PR34942: http://www.FreeBSD.org/cgi/query-pr.cgi?pr=34942 Who can give some advice on this problem? Jun On Thursday 27 February 2003 05:03, Craig Boston wrote: > On a recently compiled current the sound from an Intel 82801BA > integrated sound chip seems to be accelerated (high pitched and too > fast). While it's amusing to listen to certain songs this way, I don't > think it should be the default mode of operation ;) > > Relevant dmesg output: > > pcm0: port 0xdc40-0xdc7f,0xd800-0xd8ff irq 10 at > device 31.5 on pci0 > pcm0: > pcm0: measured ac97 link rate at 512000000 Hz > > and sysctl hw.snd.pcm0: > hw.snd.pcm0.buffersize: 16384 > hw.snd.pcm0.vchans: 0 > hw.snd.pcm0.ac97rate: 48000 > > Here is the output from another system with the same hardware running > 5.0-RELEASE: > > pcm0: port 0xcc40-0xcc7f,0xc800-0xc8ff irq 10 at > device 31.5 on pci0 > pcm0: measured ac97 link rate at 55939 Hz > > and the sysctl: > hw.snd.pcm0.buffersize: 16384 > hw.snd.pcm0.vchans: 4 > hw.snd.pcm0.ac97rate: 55939 > > So it looks like the AC97 link rate measurement isn't working right. > Manually setting it with "sysctl hw.snd.pcm0.ac97rate=55939" seems to > correct the problem. > > Current from about a week ago was working fine. A kernel from last > night exhibits this problem, as does one cvsupped this morning. I'll go > trawling through CVS when I have some free time. > > Not really a big deal, just wanted to make sure somebody was aware of > the problem and also to get the workaround into the mailing list > archives... > > Craig > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message