On Fri, Feb 15, 2013 at 10:13 PM, Wim De Kimpe
<wim.deki...@medecbenelux.be> wrote:
> One difference I forgot to mention: when using it under windows,
> the software needs to detach from the kernel, hence attached = 1.
> Does this make a difference.

No, the kernel detach/attach call are not supported under Windows
and Mac OS X, it only has effects under Linux.

> Going to try it now with 0x81.
> could you please tell me why nEndpoint needs to be 0x81 rather than
> 0x01, and on EP2 this needs to be 0x02?

You need to have the direction bit set for libusbx.
Ref: 
http://libusbx.sourceforge.net/api-1.0/structlibusb__endpoint__descriptor.html#a111d087a09cbeded8e15eda9127e23d2

-- 
Xiaofan

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to