usb/125941: commit references a PR

dfilter service dfilter at FreeBSD.ORG
Mon Aug 18 16:50:08 UTC 2008


The following reply was made to PR usb/125941; it has been noted by GNATS.

From: dfilter at FreeBSD.ORG (dfilter service)
To: bug-followup at FreeBSD.org
Cc:  
Subject: Re: usb/125941: commit references a PR
Date: Mon, 18 Aug 2008 16:49:13 +0000 (UTC)

 kaiw        2008-08-18 16:48:53 UTC
 
   FreeBSD src repository
 
   Modified files:
     sys/dev/usb          hid.c 
   Log:
   SVN rev 181841 on 2008-08-18 16:48:53Z by kaiw
   
   In the hid parser, if a INPUT/OUTPUT/FEATURE item is skipped, its
   corresponding USAGE should be skipped as well.
   
   For example, below is a report desc fragment of some mouse:
   
   COLLECTION
   ...
   USAGE TWHEEL
   FEATURE ...
   ...
   USAGE WHEEL
   INPUT ...
   ...
   END COLLECTION
   
   "USAGE TWHEEL" should be consumed after the FEATURE item is skipped,
   otherwise, the INPUT item will be assigned to "USAGE TWHEEL" later,
   other than "USAGE WHEEL".
   
   Tested by:        Grzegorz Blach
   PR:               usb/125941
   
   Revision  Changes    Path
   1.30      +12 -3     src/sys/dev/usb/hid.c
 _______________________________________________
 cvs-all at freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe at freebsd.org"
 


More information about the freebsd-usb mailing list