Subject: USB HID
To: None <tech-userlevel@netbsd.org>
From: None <jakllsch@kollasch.net>
List: tech-userlevel
Date: 12/29/2007 12:48:24
--Qrgsu6vtpU/OV/zm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi,

I've got a Logitech EX110.  All the media keys
are off-by-one.

I'm trying to figure out where
things are going wrong.

Here's the report descriptor:

Report descriptor:
Input   size=16 count=2 Array page=Consumer usage=Consumer_Control..AC_Send, logical range 1..652
Collection page=Consumer usage=Consumer_Control
Total   input size 4 bytes
Total  output size 0 bytes
Total feature size 0 bytes

Anyway, Usage=Consumer_Control is 0x000c0001, and that's
being used to increment everything out of order.

Is this a "broken" descriptor?  Or are we handling this
wrong?

FWIW, Windows XP deals with this fine.

	Jonathan Kollasch

--Qrgsu6vtpU/OV/zm
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFHdpZ4Ojx1ye3hmokRAtl2AKCPkYR9Zq+GXZ7u/rGDn5xYtqD5agCfYb0N
mTv2aTlgNT+qNneaVxDAc0k=
=wWoX
-----END PGP SIGNATURE-----

--Qrgsu6vtpU/OV/zm--