On Tue, Sep 18, 2012 at 6:50 AM, Pete Batard <p...@akeo.ie> wrote:
> On 2012.09.17 08:23, Xiaofan Chen wrote:
>> I can see from the codes that you add the support of libusb_reset_device()
>> if using libusb0.sys/libusbk.sys, the other seems to be the support
>> of set_configuration() which should only be supported by libusb0.sys.
>
> It's not supported in K then? If so, that's news to me, and I coded as
> if both were supported, though I did that quickly a long time ago, and
> really haven't looked at it again since. That's party of the 0/K stuff
> I'm hoping to look more closely to complete driver support for those in
> 1.0.14.

Yes I agree some of the work for 0/K can be dealt with after 1.0.13,
say 1.0.14 and later.

As for set_configuration limitation, it comes from KMDF.
http://blogs.msdn.com/b/usbcoreblog/archive/2010/05/19/multi-config-usb-devices-and-windows.aspx

"KMDF itself can be used by the device's function driver;
however, KMDF's USB I/O Target functionality does not
 support any device configuration other than the first."

libusbk.sys uses the KMDF USB I/O Target so it does not
support multiple configuration.

http://libusbk.sourceforge.net/UsbK3/usbk_comparisons.html
libusbK.sys disadvantages when compared to libusb0.sys:

1) Does not support multiple configurations.
2) Does not support a "filter driver" mode.
3) Significantly larger device driver installation packages.
4) Less tolerant of usb devices which or not fully compliant
    with usb specifications.

1), 3) and 4) come from KMDF and are similar to WinUSB.

-- 
Xiaofan

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to