[Spice-devel] UsbDk

Dmitry Fleytman dmitry at daynix.com
Wed Mar 4 05:03:55 PST 2015


Hi Jason,

My name is Dmitry Fleytman and I’m author and maintainer of UsbDk.

> On Mar 3, 2015, at 23:36 PM, Jason Kotzin <jason at flirc.tv> wrote:
> 
> Spice Developers - 
> 
> I have been watching the discussion on the libusb developer mailer and am absolutely intrigued. The number one issue I have my product is with windows usb device handling. Drivers and inf’s do not consistently work and with so many versions of windows and hardware, I have battled issue after issue. I’m at the point now where I’m considering re-writing all my firmware, and all my drivers to use a hid device for windows driverless communication (already started).
> 
> UsbDk sounds too good to be true.


Thanks :)

> 
> I’m interested in playing with it, and have read through all the documentation, but am a bit unclear how everything works. Please let me know if this is correct:
> 
> 1. Instal via msi package (I understand there is an alternative, but this is what I would use)
> 2. Ensure I have the libusb backend for UsbDk.
> 3. Done, my libusb on windows should now use the UsbDk filter driver.
> 
> Is that correct?

Yes, exactly.

> 
> How do I tell windows not to fire up that ‘new hardware detected’ message. With UsbDkController.exe -r ID sn ?


Use hider API, UsbDk_AddHideRule() etc.

> 
> Where can I find the libusb patches? I’m anxious to try this.

I’ve posted patches to libusb-devel a few days ago. Please do not hesitate to send us problem reports if any.

> 
> Thanks so much.

You’re welcome!

~Dmitry

P.S. While we are very interested to have people use and test UsbDk for different devices and in different scenarios, I must say that driverless HID device scheme is way better and simpler as long as your device functionally covered by HID specification, so maybe you should go that direction even if UsbDk works good for you...


> 
> Very Sincerely,
> Jason
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel



More information about the Spice-devel mailing list