<div dir="ltr"> Hi,<div>What do you think about those patches, guys ?<br><div class="gmail_extra">Kirill </div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 9, 2015 at 3:53 PM, Kirill Moizik <span dir="ltr"><<a href="mailto:kirill@daynix.com" target="_blank">kirill@daynix.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">From: Kirill Moizik <<a href="mailto:kirillm@daynix.com">kirillm@daynix.com</a>><br>
<br>
UsbDk (USB Development Kit) is a set of software components meant to provide<br>
Windows user mode applications with direct and exclusive access to USB devices.<br>
<br>
Some distinctive UsbDk properties are:<br>
<br>
1. UsbDk supports all types of devices and interfaces - bulk, isochronous,<br>
composite, HID etc.<br>
2. Device capture process is totally dynamic, i.e. no inf files and<br>
self-signing needed, any device can be captured.<br>
3. UsbDk co-exists with original device driver, when the device is not<br>
captured original driver is loaded by the system automatically.<br>
4. If user mode client terminates unexpectedly for any reason system reverts<br>
to original device driver immediately.<br>
5. Being USB filter driver UsbDk doesn't require WHQL-ing<br>
as per Microsoft requirements.<br>
<br>
UsbDk supports all Windows OS versions staring from Windows XP,<br>
i.e. XP/Vista/7/8/8.1/2003/2008/2008R2/2012/2012R2.<br>
Both 32 and 64 bit architectures are supported.<br>
<br>
UsbDk is fully open source and distributed under Apache 2.0 license.<br>
<br>
UsbDk project is hosted at <a href="http://spice-space.org" rel="noreferrer" target="_blank">spice-space.org</a>, source code repository available at:<br>
<a href="http://cgit.freedesktop.org/spice/win32/usbdk" rel="noreferrer" target="_blank">http://cgit.freedesktop.org/spice/win32/usbdk</a><br>
<br>
Latest source tarball is at: \<br>
<a href="http://www.spice-space.org/download/windows/usbdk/spice-usbdk-win-1.0-4-sources.zip" rel="noreferrer" target="_blank">http://www.spice-space.org/download/windows/usbdk/spice-usbdk-win-1.0-4-sources.zip</a><br>
<br>
UsbDk releases come with precompiled and signed by Red Hat binaries:<br>
1. 32 bit: <a href="http://www.spice-space.org/download/windows/usbdk/UsbDk_1.0.4_x86.msi" rel="noreferrer" target="_blank">http://www.spice-space.org/download/windows/usbdk/UsbDk_1.0.4_x86.msi</a><br>
2. 64 bit: <a href="http://www.spice-space.org/download/windows/usbdk/UsbDk_1.0.4_x64.msi" rel="noreferrer" target="_blank">http://www.spice-space.org/download/windows/usbdk/UsbDk_1.0.4_x64.msi</a><br>
<br>
UsbDk documentation:<br>
1. Short presentation: <a href="http://www.spice-space.org/docs/usbdk/UsbDk_at_a_Glance.pdf" rel="noreferrer" target="_blank">http://www.spice-space.org/docs/usbdk/UsbDk_at_a_Glance.pdf</a><br>
2. SDM: <a href="http://www.spice-space.org/docs/usbdk/UsbDk_Software_Development_Manual.pdf" rel="noreferrer" target="_blank">http://www.spice-space.org/docs/usbdk/UsbDk_Software_Development_Manual.pdf</a><br>
3. UsbDk architecture specificatin (part of source tree):<br>
<a href="http://cgit.freedesktop.org/spice/win32/usbdk/tree/ARCHITECTURE" rel="noreferrer" target="_blank">http://cgit.freedesktop.org/spice/win32/usbdk/tree/ARCHITECTURE</a><br>
<br>
UsbDk is maintained by Dmitry Fleytman (<a href="mailto:dfleytma@redhat.com">dfleytma@redhat.com</a>) and<br>
Kirill Moizik (<a href="mailto:kmoizik@redhat.com">kmoizik@redhat.com</a>) we'll be glad to answer your questions sent<br>
to us directly or via this mailing list.<br>
<br>
This set of patches add UsbDk backend support to spice-gtk. This series currently cannot be applied since it require next patches series in libusb<br>
<a href="http://marc.info/?l=libusb-devel&m=142532078226137&w=2" rel="noreferrer" target="_blank">http://marc.info/?l=libusb-devel&m=142532078226137&w=2</a> .<br>
We are waiting for this patches to be commited to libusb soon and then this series can be applied.<br>
<br>
<br>
V2 changeset :<br>
-opaque usbdk wrapper<br>
-use_usbclerk instead of use_usbdk<br>
-use_usbclerk is DeviceManager member, not global variable<br>
-all v1 suggestions were applied<br>
<br>
<br>
Kirill Moizik (2):<br>
UsbDk: Add UsbDk wrapper<br>
UsbDk: Add UsbDk as a default backend<br>
<br>
src/Makefile.am | 2 +<br>
src/usb-device-manager.c | 297 +++++++++++++++++++++++++++++++++--------------<br>
src/usbdk_api.c | 166 ++++++++++++++++++++++++++<br>
src/usbdk_api.h | 34 ++++++<br>
4 files changed, 410 insertions(+), 89 deletions(-)<br>
create mode 100644 src/usbdk_api.c<br>
create mode 100644 src/usbdk_api.h<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
2.1.0<br>
<br>
</font></span></blockquote></div><br></div></div></div>