mcuee

Results 3052 comments of mcuee

I think there is even less motivation now to add things like this (considered at most as "Nice to have") because of the lack of active core developers (now mainly...

Okay. I will re-open this but label it as "won't fix" until when situations change. As for Windows, I really do not see much benefits of CMake. For VS build,...

For the projects I am more interested (usually related to libusb), some of them are using Autotools (like OpenOCD), some of them are switching from Autotools to CMake (hidapi). Some...

Somehow my experiences with meson is probably more negative than CMake. libftdi/hidapi/libuvc are probably not good examples of using CMake. But usually I can get things done (libuvc itself has...

> > support for shared/static libraries. If you want both > > I'd like to learn here: what is the use-case when you need both static and shared libraries? For...

The question does not seem to be clear. Please state what you want to do. What do you mean by "libusb_handle_events API is blocking and return is case of connected\disconnected...

It seems to me libusb is not the right tool for you for your purpose, rather libudev may be the one.

Test with #1016 and #1018 on top of libusb git head https://github.com/libusb/libusb/commit/f33c9562a1dd7a0cb333fcd9a670ba14fbbfbc0e FTDI FT232R USB to serial converter (with FTDI vendor driver 2.12.28 installed by Windows 10) with libusb0.sys 1.2.6...

It is the same for 1.0.23. ``` C:\work\libusb\libusb-1.0.23_bin\examples\bin64> $Env:LIBUSB_DEBUG=0 C:\work\libusb\libusb-1.0.23_bin\examples\bin64> .\xusb.exe 0403:6001 Using libusb v1.0.23.11397 Opening device 0403:6001... Reading device descriptor: length: 18 device class: 0 S/N: 3 VID:PID: 0403:6001...

Even if I take out the BOS descriptor fetching, the result is the same. ``` C:\work\libusb\libusb\x64\Release\examples [master ↑5 +4 ~1 -0 !]> .\xusb_nobos.exe 0403:6001 Using libusb v1.0.24.11670 Opening device 0403:6001......