libftdi Archives

Subject: Re: To support libusb_set_option and usbdk backend

From: Xiaofan Chen <xiaofanc@xxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Wed, 18 Aug 2021 10:37:50 +0800
On Mon, Jun 11, 2018 at 9:45 PM Xiaofan Chen <xiaofanc@xxxxxxxxx> wrote:
>
> Ref:
> https://github.com/pyusb/pyusb/issues/200
> https://github.com/libusb/libusb/issues/443
> https://github.com/libusb/libusb/wiki/Windows#Driver_Installation
>
> This will help to support the possibility of using usbdk
> backend under Windows.
>
> usbdk backend has an advantage that you can keep the
> vendor FTDI driver (for VCP and D2XX function) and
> at the same time you can use libftdi/libusb/etc.
>

This is still good to have.
https://libusb.sourceforge.io/api-1.0/group__libusb__lib.html#ga07d4ec54cf575d672ba94c72b3c0de7c

LIBUSB_OPTION_USE_USBDK
Use the UsbDk backend for a specific context, if available.
This option should be set immediately after calling libusb_init(),
otherwise unspecified behavior may occur.
Only valid on Windows.


-- 
Xiaofan

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread
  • Re: To support libusb_set_option and usbdk backend, Xiaofan Chen <=