Re: fast playback with Intel 82801BA (ICH2)

2002-05-03 Thread Alfred Perlstein

* John Hay <[EMAIL PROTECTED]> [020503 12:09] wrote:
> > > | -current compiled today mp3s play too fast, any ideas on how to
> > > | diagnose this?
> > > | 
> > > | pcm0:  port 0xef00-0xef3f,0xe800-0xe8ff irq 9 at device
> > > |  31.5 on pci0
> > > | pcm0: measured ac97 link rate at 44061 Hz
> > 
> > This makes it sound almost perfect:
> > 
> > sysctl hw.snd.pcm0.ac97rate=55000
> > 
> > the default 44061 is bad.
> 
> What about 56000? Our Dells seem to use it. I'm not sure what is so magic
> about it. Maybe they wanted to cater for modems on the ac97 channel.

That sounds fine also, basically if i go lower then it sounds sped
up, higher and it sounds slow.

-Alfred

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: fast playback with Intel 82801BA (ICH2)

2002-05-03 Thread John Hay

> > | -current compiled today mp3s play too fast, any ideas on how to
> > | diagnose this?
> > | 
> > | pcm0:  port 0xef00-0xef3f,0xe800-0xe8ff irq 9 at device
> > |  31.5 on pci0
> > | pcm0: measured ac97 link rate at 44061 Hz
> 
> This makes it sound almost perfect:
> 
> sysctl hw.snd.pcm0.ac97rate=55000
> 
> the default 44061 is bad.

What about 56000? Our Dells seem to use it. I'm not sure what is so magic
about it. Maybe they wanted to cater for modems on the ac97 channel.

John
-- 
John Hay -- [EMAIL PROTECTED] / [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: fast playback with Intel 82801BA (ICH2)

2002-05-03 Thread Terry Lambert

Alfred Perlstein wrote:
> This makes it sound almost perfect:
> 
> sysctl hw.snd.pcm0.ac97rate=55000
> 
> the default 44061 is bad.

I thought this was because it's the CD sample rate...

-- Terry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: fast playback with Intel 82801BA (ICH2)

2002-05-03 Thread Alfred Perlstein

* Orion Hodson <[EMAIL PROTECTED]> [020501 18:10] wrote:
> /-- Alfred Perlstein wrote:
> | -current compiled today mp3s play too fast, any ideas on how to
> | diagnose this?
> | 
> | pcm0:  port 0xef00-0xef3f,0xe800-0xe8ff irq 9 at device
> |  31.5 on pci0
> | pcm0: measured ac97 link rate at 44061 Hz
> 
> You can set a sysctl to set the ac97 link rate.  I don't recall offhand what 
> it is (hw.snd.pcm0.ac97rate?) - "sysctl -a | grep ac97" will find it.
> 
> There is a calibration test in the ich code since various mfrs do funny things 
> with the clock.  I'd be interested to know what boot -v output is and what 
> ac97 link rate works.  This is the second box reported failing on this 
> recently.

This makes it sound almost perfect:

sysctl hw.snd.pcm0.ac97rate=55000

the default 44061 is bad.

-- 
-Alfred Perlstein [[EMAIL PROTECTED]]
'Instead of asking why a piece of software is using "1970s technology,"
 start asking why software is ignoring 30 years of accumulated wisdom.'
Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: fast playback with Intel 82801BA (ICH2)

2002-05-01 Thread Orion Hodson

/-- Alfred Perlstein wrote:
| -current compiled today mp3s play too fast, any ideas on how to
| diagnose this?
| 
| pcm0:  port 0xef00-0xef3f,0xe800-0xe8ff irq 9 at device
|  31.5 on pci0
| pcm0: measured ac97 link rate at 44061 Hz

You can set a sysctl to set the ac97 link rate.  I don't recall offhand what 
it is (hw.snd.pcm0.ac97rate?) - "sysctl -a | grep ac97" will find it.

There is a calibration test in the ich code since various mfrs do funny things 
with the clock.  I'd be interested to know what boot -v output is and what 
ac97 link rate works.  This is the second box reported failing on this 
recently.

- Orion



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message