From owner-cvs-all Mon Nov 8 15:58:38 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 98EB7154A2; Mon, 8 Nov 1999 15:58:34 -0800 (PST) (envelope-from n_hibma@FreeBSD.org) Received: (from n_hibma@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id PAA90719; Mon, 8 Nov 1999 15:58:33 -0800 (PST) (envelope-from n_hibma@FreeBSD.org) Message-Id: <199911082358.PAA90719@freefall.freebsd.org> From: Nick Hibma Date: Mon, 8 Nov 1999 15:58:33 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/usb ums.c usb_quirks.c usb_quirks.h Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk n_hibma 1999/11/08 15:58:33 PST Modified files: sys/dev/usb ums.c usb_quirks.c usb_quirks.h Log: The Qtronix keyboard has a built in PS/2 port for a mouse. It however posts a bogus button up event once in a while. Whenever we receive dx=dy=dz=buttons=0 we postpone adding it to the queue for 50msecs with a timeout. If in the meantime something else is posted the event is ignored. This avoids the problem Nik Sayer reported. He noticed that X windows would drop and pick up a window once in a while. Thanks, Nik, for supplying me with the keyboard to fix the problem! Revision Changes Path 1.33 +101 -53 src/sys/dev/usb/ums.c 1.11 +2 -1 src/sys/dev/usb/usb_quirks.c 1.8 +2 -1 src/sys/dev/usb/usb_quirks.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message