Subject: Re: kern/14819: changing ym /dev/audio encoding is unreliable
To: ITOH Yasufumi <itohy@netbsd.org>
From: None <collver@linuxfreemail.com>
List: netbsd-bugs
Date: 02/27/2002 07:40:16
On Wed, Feb 27, 2002 at 07:07:01PM +0900, ITOH Yasufumi wrote:
> Hmm, I tried this but I can't reproduce the problem on my Libretto
> (MMX 166MHz, audio chip revision 5 ("audioctl version" output)).
> 
> One possibility is that the calibration of CODEC is timed out.
> Does it change if you modify magic constants (100, 10000 etc) in
> 	sys/dev/ic/ad1848.c::wait_for_calibration()
> 	sys/dev/ic/ad1848.c::ad1848_commit_settings()
> or somewhere?

Thanks for the reply!

I have a revision 1 chip.

I tried multiplying the original magic timeouts by 10, and still had the
same problem.  I tried dividing the original magic timeouts by 10, and
still had the same problem.

I reverted to the original magic timeouts, and changed
int     ad1848debug = 0;
to
int     ad1848debug = 1;

Now the problem doesn't happen and /dev/audio works correctly.

Ben