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

From: [EMAIL PROTECTED] (dfilter service)
To: [EMAIL PROTECTED]
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
 _______________________________________________
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "[EMAIL PROTECTED]"
 
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to