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

From: Rene Ladan <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED],  [EMAIL PROTECTED]
Cc:  
Subject: Re: usb/101775: [libusbhid] [patch] possible error in report descriptor
 parsing
Date: Sun, 24 Sep 2006 21:43:32 +0200

 I saw this error too (it is an error, see section 6.2.2.7, page 35, of
 the USB HID 1.11 specification), but fixing this gave a physical minimum
 of 32768 (no minus sign) instead of -32768 (with minus sign) for
 "Generic_Desktop.{Rx,Ry,X,Y}" when plugging in an Xbox 360 controller.
 
 /usr/src/sys/dev/usb/uxb360gp_rdesc.h (RELENG_6) shows (line 110):
 
  0x36, 0x00, 0x80,   /*  PHYSICAL MINIMUM (-32768)           */
 
 so -32768 (with minus sign) is the correct value.  I could not see any
 sign error in the sources of libusbhid or usbhidctl though.
 
 Any clues?
 
 Regards,
 Rene
 -- 
 GPG fingerprint = E738 5471 D185 7013 0EE0  4FC8 3C1D 6F83 12E1 84F6
 (subkeys.pgp.net)
 
 "It won't fit on the line."
                -- me, 2001
 
_______________________________________________
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to