flat assembler
Message board for the users of flat assembler.

Index > OS Construction > USB HID Report Descriptor

Author
Thread Post new topic Reply to topic
BAiC



Joined: 22 Mar 2011
Posts: 272
Location: California
BAiC
I'm developing an HID driver. my code is at the point of reading in the Report Descriptor and printing all of the tokens/items to the screen. all of the devices I've tested report two "End Collection" tokens yet they don't include any "Collection" tokens which means the documentation must be missing something (or worse; the devices reports are invalid). does anyone know of some websites that provide information on USB aside from USB-IF (I already downloaded all of the PDFs and read most of them [some repeatedly]).

- Stefan

_________________
byte me.
Post 19 Sep 2015, 08:45
View user's profile Send private message Visit poster's website Reply with quote
BAiC



Joined: 22 Mar 2011
Posts: 272
Location: California
BAiC
nevermind the "Collection" thing. the assholes who wrote the HID standard declared everything except the Feature and Collection in the order of the tokens (10 and 11). basically I was decoding the Collection as if it was Feature (and vice-versa). fuckers Twisted Evil

- Stefan

_________________
byte me.
Post 20 Sep 2015, 13:31
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17639
Location: In your JS exploiting you and your system
revolution
Never attribute to malice that which is adequately explained by stupidity - Robert J. Hanlon
Post 20 Sep 2015, 13:41
View user's profile Send private message Visit poster's website Reply with quote
BAiC



Joined: 22 Mar 2011
Posts: 272
Location: California
BAiC
well you're as passive aggressive as ever Rolling Eyes .

_________________
byte me.
Post 20 Sep 2015, 14:30
View user's profile Send private message Visit poster's website Reply with quote
shutdownall



Joined: 02 Apr 2010
Posts: 518
Location: Munich
shutdownall
BAiC wrote:
nevermind the "Collection" thing. the assholes who wrote the HID standard declared everything except the Feature and Collection in the order of the tokens (10 and 11). basically I was decoding the Collection as if it was Feature (and vice-versa). fuckers Twisted Evil

- Stefan


This posting seems a bit aggressive, too. Wink
Post 20 Sep 2015, 14:38
View user's profile Send private message Send e-mail Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.