Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Feb 2003 22:19:49 +0800
From:      Jun Su <JunSu@gmx.net>
To:        freebsd-current@freebsd.org
Subject:   Re: Hyperactive ICH2 sound (with workaround)
Message-ID:  <200302282219.49377.JunSu@gmx.net>
In-Reply-To: <1046293382.568.16.camel@localhost>
References:  <1046293382.568.16.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help

When I load snd_ich module, I got the following output. 
pcm0: <Intel 82801CA (ICH3)> port 0x18c0-0x18ff,0x1c00-0x1cff irq 9 at device 
31.5 on pci0
pcm0: <unknown ac97 codec> (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: <Intel 82801BA (ICH2)> port 0xdc40-0xdc7f,0xd800-0xd8ff irq 10 at
> device 31.5 on pci0
> pcm0: <Analog Devices AD1885 ac97 codec>
> 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: <Intel 82801BA (ICH2)> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302282219.49377.JunSu>