From owner-freebsd-usb@freebsd.org Mon Sep 9 08:06:39 2019 Return-Path: Delivered-To: freebsd-usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 409B1F1336 for ; Mon, 9 Sep 2019 08:06:39 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 46RgjV3rCPz4c38 for ; Mon, 9 Sep 2019 08:06:38 +0000 (UTC) (envelope-from darius@dons.net.au) Received: by mailman.nyi.freebsd.org (Postfix) id 81F77F1335; Mon, 9 Sep 2019 08:06:38 +0000 (UTC) Delivered-To: usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 81BDAF1334 for ; Mon, 9 Sep 2019 08:06:38 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from ipmail06.adl6.internode.on.net (ipmail06.adl6.internode.on.net [150.101.137.145]) by mx1.freebsd.org (Postfix) with ESMTP id 46RgjT28vwz4c2w for ; Mon, 9 Sep 2019 08:06:37 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from ppp14-2-110-112.adl-apt-pir-bras32.tpg.internode.on.net (HELO midget.dons.net.au) ([14.2.110.112]) by ipmail06.adl6.internode.on.net with ESMTP; 09 Sep 2019 17:31:33 +0930 Received: from midget.dons.net.au (localhost [127.0.0.1]) by midget.dons.net.au (8.15.2/8.15.2) with ESMTPS id x8980dV8040128 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 9 Sep 2019 17:31:29 +0930 (ACST) (envelope-from darius@dons.net.au) Received: (from mailnull@localhost) by midget.dons.net.au (8.15.2/8.15.2/Submit) id x897oWSu032909 for ; Mon, 9 Sep 2019 17:20:32 +0930 (ACST) (envelope-from darius@dons.net.au) X-Authentication-Warning: midget.dons.net.au: mailnull set sender to using -f Received: from [203.31.81.177] ([203.31.81.177]) by ppp14-2-110-112.adl-apt-pir-bras32.tpg.internode.on.net (envelope-sender ) (MIMEDefang) with ESMTP id x897oQgp032249; Mon, 09 Sep 2019 17:20:32 +0930 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Is it a good idea to use a usb-serial adapter for PPS input? Yes, it is. From: "O'Connor, Daniel" In-Reply-To: <20190908134205.GO2559@kib.kiev.ua> Date: Mon, 9 Sep 2019 17:20:25 +0930 Cc: Ian Lepore , "usb@freebsd.org" , "freebsd-arm@FreeBSD.org" Content-Transfer-Encoding: quoted-printable Message-Id: <25BF53F1-23CF-4619-AB13-110566D6DC82@dons.net.au> References: <61B1AAF3-40F6-47BC-8F05-7491C13BF288@dons.net.au> <9E142F1A-5E8C-4410-91F5-7C80B3D0A15B@dons.net.au> <9D2ACA87-C2DB-40D9-9638-B0E215A4EEC0@dons.net.au> <0A7796DA-508B-4FE6-B5C0-391EC5F46C86@dons.net.au> <20190908134205.GO2559@kib.kiev.ua> To: Konstantin Belousov X-Mailer: Apple Mail (2.3445.104.11) X-Spam-Score: 1.3 (*) No, score=1.3 required=5.0 tests=HELO_MISC_IP, RDNS_NONE, SPF_NONE autolearn=no autolearn_force=no version=3.4.1 X-Scanned-By: MIMEDefang 2.83 on 10.0.2.1 X-Rspamd-Queue-Id: 46RgjT28vwz4c2w X-Spamd-Bar: ++++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of darius@dons.net.au has no SPF policy when checking 150.101.137.145) smtp.mailfrom=darius@dons.net.au X-Spamd-Result: default: False [6.26 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_XAW(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_NO_TLS_LAST(0.10)[]; RCVD_IN_DNSWL_LOW(-0.10)[145.137.101.150.list.dnswl.org : 127.0.5.1]; IP_SCORE(2.87)[ip: (9.82), ipnet: 150.101.0.0/16(3.04), asn: 4739(1.48), country: AU(0.01)]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; SUBJECT_HAS_QUESTION(0.00)[]; ARC_NA(0.00)[]; ASN(0.00)[asn:4739, ipnet:150.101.0.0/16, country:AU]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[usb@freebsd.org]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.99)[0.985,0]; DMARC_NA(0.00)[dons.net.au]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; R_SPF_NA(0.00)[]; GREYLIST(0.00)[pass,body] X-Spam: Yes X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Sep 2019 08:06:39 -0000 > On 8 Sep 2019, at 23:12, Konstantin Belousov = wrote: >> I suppose it would be good to change it to the same structure as the = feed forward clock stuff, that way it is much easier to change the = number of hands at compile time.. >>=20 >=20 > The reason to not increase it by default is the same as the reason why = it > was reduced. But since I did still not provided the analysis why = increasing > timehands count helps for Ian' and your case, I think that making it = easy > to increase the timehands number is due. I am a bit worried (based on your commit log for r303383) that the code = now relies on it being 2 for correct function, although given I = increased it to 10 and this system works fine perhaps not :) > Please see D21563 'Make timehands count selectable at boottime.' Looks good to me, I've installed it on the Beaglebone and it seems to be = running OK so far. -- Daniel O'Connor "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum