From: Dmitry F. <dm...@da...> - 2017-01-08 09:13:06
|
> On 6 Jan 2017, at 18:34 PM, Chris Dickens <chr...@gm...> wrote: > > I love this idea! I was exploring this idea in my head long ago. Cool! We will submit such a patch soon. > > Chris > > On Fri, Jan 6, 2017 at 4:17 AM, Xiaofan Chen <xia...@gm...> wrote: >> On Wed, Jan 4, 2017 at 10:51 PM, Dmitry Fleytman <dm...@da...> wrote: >>> >>>> On 2 Jan 2017, at 13:50 PM, Xiaofan Chen <xia...@gm...> wrote: >>>> Another thing, right now WinUSB/libusbK/HID backend and usbdk >>>> backend are kind of mutual exclusive. >>>> >>>> Ref: https://github.com/libusb/libusb/blob/master/libusb/Makefile.am >>>> >>>> if USE_USBDK >>>> OS_SRC = $(WINDOWS_USBDK_SRC) $(WINDOWS_COMMON_SRC) >>>> else >>>> OS_SRC = $(WINDOWS_USB_SRC) $(WINDOWS_COMMON_SRC) >>>> endif >>>> >>>> On the other hand, usbdk backend will still work with WinUSB/libusbK/HID >>>> based device since it will act as a filter for them as well. >>>> >>>> Is it possible to make the USBDK backend fall back to the >>>> WinUSB/libusbK/HID backend if USBDK is not installed. >>> >>> Yes, this is totally possible. We will prepare such a patch. >>> Do you think we should also drop —enable-usbdk option for >>> configuration simplicity? >> >> Yes I think that is a good idea. >> >> Hi Chris, >> How do you like this idea? >> >> >> >> -- >> Xiaofan |