From owner-freebsd-stable Tue Jul 25 1:39:59 2000 Delivered-To: freebsd-stable@freebsd.org Received: from outmail.utsunomiya-u.ac.jp (outmail.utsunomiya-u.ac.jp [160.12.196.3]) by hub.freebsd.org (Postfix) with ESMTP id 3D30037B8D5 for ; Tue, 25 Jul 2000 01:39:54 -0700 (PDT) (envelope-from yokota@zodiac.mech.utsunomiya-u.ac.jp) Received: from zodiac.mech.utsunomiya-u.ac.jp (IDENT:nE1eeHR4AMOBPVlZbWQvzpI1Lyr6SGhS@zodiac.mech.utsunomiya-u.ac.jp [160.12.42.1]) by outmail.utsunomiya-u.ac.jp (8.9.3/3.7Wpl2) with ESMTP id RAA24238; Tue, 25 Jul 2000 17:39:52 +0900 (JST) Received: from zodiac.mech.utsunomiya-u.ac.jp (IDENT:JSmVqO6ScIRwfxnqqzJp6o/XhAGbFfvr@zodiac.mech.utsunomiya-u.ac.jp [160.12.42.1]) by zodiac.mech.utsunomiya-u.ac.jp (8.9.3+3.2W/3.7W/zodiac-May2000) with ESMTP id RAA25921; Tue, 25 Jul 2000 17:46:32 +0900 (JST) Message-Id: <200007250846.RAA25921@zodiac.mech.utsunomiya-u.ac.jp> To: Graham Wheeler Cc: "Jordan K. Hubbard" , stable@freebsd.org, yokota@zodiac.mech.utsunomiya-u.ac.jp Subject: Re: psmintr: out of sync (0080 != 0000). ARGH! In-reply-to: Your message of "Tue, 25 Jul 2000 09:27:26 +0200." <397D415E.64DD5CE0@cequrux.com> References: <25919.964459652@localhost> <397D415E.64DD5CE0@cequrux.com> Date: Tue, 25 Jul 2000 17:46:31 +0900 From: Kazutaka YOKOTA Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >I'm also very willing to help. [...] >The hacks that I made, which have made my mouse completely usable >(that's not to say perfect, but I seem to have reduced the problem to >only the transitions between the 3-byte and 4-byte states), perform >extra sanity checks on the data and try to detect when these transitions >occur. After a transition to the 4-byte state, my code drops the zero >bytes that are being inserted; after a transition back to the three byte >state, they stop dropping these. > >I sent Jordan my kludged driver; I'm not sure if I sent it to you, Kazu. >Let me know if you want to look at it. It's ugly, but I was desperate to >be able to use X and so the elegance wasn't an issue. Yes, I have your patch. >To solve the problem properly, one would have to figure out where these >zero bytes come from and why they occur. I have been thinking about why this is happening. But, I cannot think of any plausible reason so far... I will contact you later, after I do some experiments tonight. Kazu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message