That's part of the problem you're trying to solve. These are the
values you have to know, they're what make your driver unique. In
other words, that's your problem.
Ideally you'd have documentation which told you this. As you don't
you're trying reverse engineering. If you had a bus trace, it'd
probably display the data with each field labelled clearly, but you
don't have an analyser.
If you got a transaction sniffer for a Windows box which is working,
you'd probably get some output like:
Control: 01 02 03 04 05 06 07 08
Hopefully this is telling you the bytes in the control packet. As
Dave suggested you can look this up in chapter 9.
01 is the bmRequestType
02 is bRequest
03 and 04 are wValue, that's actually 0x0403
05 and 06 are wIndex, 0x0605
07 and 08 are wLen, the buffer length 0x0807
--
Barry Twycross
email@hidden
---
USB, it's not a Dyslexic BUS. (Thanks to TC.)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/usb/email@hidden