From owner-freebsd-current Wed Jul 15 23:33:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA23239 for freebsd-current-outgoing; Wed, 15 Jul 1998 23:33:06 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from mail.camalott.com (root@mail.camalott.com [208.203.140.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA23232 for ; Wed, 15 Jul 1998 23:33:04 -0700 (PDT) (envelope-from joelh@gnu.org) Received: from detlev.UUCP (tex-67.camalott.com [208.229.74.67]) by mail.camalott.com (8.8.7/8.8.5) with ESMTP id BAA30949; Thu, 16 Jul 1998 01:33:16 -0500 Received: (from joelh@localhost) by detlev.UUCP (8.8.8/8.8.8) id BAA02045; Thu, 16 Jul 1998 01:32:28 -0500 (CDT) (envelope-from joelh) Date: Thu, 16 Jul 1998 01:32:28 -0500 (CDT) Message-Id: <199807160632.BAA02045@detlev.UUCP> To: jak@cetlink.net CC: bde@zeta.org.au, current@FreeBSD.ORG In-reply-to: <35ad9407.200559635@mail.cetlink.net> (jak@cetlink.net) Subject: Re: tickadj -t not changing tick From: Joel Ray Holveck Reply-to: joelh@gnu.org References: <199807150330.NAA22646@godzilla.zeta.org.au> <35ad9407.200559635@mail.cetlink.net> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > And besides trial and error, is there any way of determining what the > true frequency of my oscillator is? Well, you *could* hook up a frequency counter... Or, at a guess, you may be able to take the number of seconds deviation you get in a week, divide by 604800 (seconds per week), and multiply by your current value of machdep.i8254_freq, and get the number of ticks you need to adjust the value by. But I'm rather tired at the moment and can't be sure that I got the math right. A real quick dimensional analysis doesn't seem to turn out right, but it's more likely I'm doing that wrong than the original formula. Happy hacking, joelh -- Joel Ray Holveck - joelh@gnu.org - http://www.wp.com/piquan Fourth law of programming: Anything that can go wrong wi sendmail: segmentation violation - core dumped To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message