Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jun 2002 14:59:17 -0700
From:      Orion Hodson <orion@freebsd.org>
To:        Scott Long <scott_long@btc.adaptec.com>
Cc:        freebsd-multimedia@freebsd.org, cg@freebsd.org
Subject:   Re: ICH calibration under 5-CURRENT 
Message-ID:  <200206272159.g5RLxHV68988@puma.icir.org>
In-Reply-To: Your message of "Thu, 27 Jun 2002 15:19:47 MDT." <20020627211947.GA18048@hollin.btc.adaptec.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
/-- Scott Long wrote:
| 
| --h31gzZEtNLTqOjlF
| Content-Type: text/plain; charset=us-ascii
| Content-Disposition: inline
| 
| All,
| 
| I noticed that with my ICH3/CS4205 sound setup, if I load the ich
| driver at boot or compile it into the kernel, it incorrectly
| sets the ac97 sample rate.  However, if I load the driver *after*
| boot, it's correct.  This is due to ich_calibrate() running
| before the system clock is itslef calibrated.  I see that there are
| a few hacks and sysctl's for dealing with this, but the attached
| patch should settle this issue.  It puts ich_calibrate() into a
| config_intrhook, forcing it to run after the system clock is
| calibrated.  If there are no objections, I'd like to commit it
| to 5-CURRENT.  I haven't looked into 4-STABLE, so comments there
| are welcome also.

Scott

The patch looks good.  I was not aware of the config_intrhook.  If you commit 
to -CURRENT, I'm happy to MFC after checking out the situation on -stable.

Thanks
- Orion



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




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