On Sun, Feb 17, 2013 at 12:53 AM, GORAN RADIVOJEVIC
<yt7...@open.telekom.rs> wrote:
> In the meanwhile I have question about exact procedure to activate Vendor
> class. Is this correct order:
> 1. find device by VID and PID;
> 2. claim interface;
> 3. set configuration (is this step necessary?);
> 4. set Alt. configuration;
> 5. send/receive data through endpoints.

1. find device by VID and PID;

2.set configuration (optional for WinUSB and libusbK.sys
and they anyway do not support multiple configuration,
necessary for libusb0.sys);

3. claim interface

4. set Alt. interface

5. send/receive data through endpoints.

You may want to read some USB information here.
http://www.usbmadesimple.co.uk/ums_4.htm

-- 
Xiaofan

------------------------------------------------------------------------------
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, 
is your hub for all things parallel software development, from weekly thought 
leadership blogs to news, videos, case studies, tutorials, tech docs, 
whitepapers, evaluation guides, and opinion stories. Check out the most 
recent posts - join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to