From owner-freebsd-hackers Sun Sep 30 18:33:30 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from cain.gsoft.com.au (genesi.lnk.telstra.net [139.130.136.161]) by hub.freebsd.org (Postfix) with ESMTP id 0B57037B411 for ; Sun, 30 Sep 2001 18:33:26 -0700 (PDT) Received: from cain.gsoft.com.au (root@spare0.gsoft.com.au [203.38.152.114]) by cain.gsoft.com.au (8.8.8/8.8.8) with ESMTP id LAA24470; Mon, 1 Oct 2001 11:03:14 +0930 (CST) (envelope-from doconnor@gsoft.com.au) Message-ID: X-Mailer: XFMail 1.5.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200109301623.4359@EO> Date: Mon, 01 Oct 2001 11:03:14 +0930 (CST) From: "Daniel O'Connor" To: Bart Kus Subject: Re: sio modification Cc: hackers@freebsd.org, Mike Meyer Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 01-Oct-2001 Bart Kus wrote: > The variance for some time-deltas is sometimes as high as a factor of 10 > (note: I'm not using the statistical definition of variance - I simply mean > that a +edge -> -edge time can be 100us and then 1000us on the next press of > the same button). Sadly, this seemingly good mechanism doesn't perform well > enough to produce the kind of data I'd need for pattern matching. > > Perhaps actually managing to generate a SIGHUP would cut down on this > variance? > > I've attached the source for the test program for your reading enjoyment. > :) > Don't feel obligated to open it. If you're making an IR rx/tx device I suggest you visit.. http://www.lirc.org/ They have 'dumb' recievers which is probably what you're using, but there is also a link for 'smart' one which uses a PIC chip to do the polling... http://www.geocities.com/SiliconValley/Sector/3863/uir/index.html You could probably fit the whole thing inside a D9 backshell. --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message