From owner-cvs-src-old@FreeBSD.ORG Tue Feb 24 03:34:39 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6EB1B1065680 for ; Tue, 24 Feb 2009 03:34:39 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 5A7768FC29 for ; Tue, 24 Feb 2009 03:34:39 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n1O3Yd3g076238 for ; Tue, 24 Feb 2009 03:34:39 GMT (envelope-from thompsa@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n1O3Ydf8076237 for cvs-src-old@freebsd.org; Tue, 24 Feb 2009 03:34:39 GMT (envelope-from thompsa@repoman.freebsd.org) Message-Id: <200902240334.n1O3Ydf8076237@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to thompsa@repoman.freebsd.org using -f From: Andrew Thompson Date: Tue, 24 Feb 2009 03:34:05 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/usb usb_hid.c usb_hid.h src/sys/dev/usb/input ums.c src/sys/dev/usb/quirk usb_quirk.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2009 03:34:39 -0000 thompsa 2009-02-24 03:34:05 UTC FreeBSD src repository Modified files: sys/dev/usb usb_hid.c usb_hid.h sys/dev/usb/input ums.c sys/dev/usb/quirk usb_quirk.c Log: SVN rev 188981 on 2009-02-24 03:34:05Z by thompsa MFp4 //depot/projects/usb; 157814, 157863, 157868 - The software computed HID size is not always correct, because the algoritm does not handle unsorted HID descriptors. - Change the way we obtain the report ID. - Use the X/Y/Z+button locations instead for report ID source for ums. - Add more range checks. - Remove Microsoft Mouse quirks. If the positions are moduloed the report length multiplied by 8, the values seem correct. - Some minor style changes. Submitted by: Hans Petter Selasky Revision Changes Path 1.2 +75 -110 src/sys/dev/usb/input/ums.c 1.2 +0 -3 src/sys/dev/usb/quirk/usb_quirk.c 1.2 +70 -33 src/sys/dev/usb/usb_hid.c 1.2 +4 -2 src/sys/dev/usb/usb_hid.h