mcuee

Results 3052 comments of mcuee

The following is okay. ``` #include #include int main( void ) { struct usb_bus *busses; struct usb_bus *bus; usb_set_debug(255); usb_init(); usb_find_busses(); //usb_find_devices(); return 0; } ``` Debug log: Click for...

For the release version of libusb-1.0.21, 1.0.22, 1.0.23 and 1.0.24, the warning message is like the following. ``` [ 0.108524] [00000ebc] libusb: debug [libusb_exit] [ 0.108613] [00000ebc] libusb: debug [libusb_exit]...

Looks like there is a bug in libusb Windows backend. https://github.com/vpelletier/python-libusb1/issues/77

This is still there. Probably this is a bug of libusb-compat. Here is the debug log under my Mac Mini M1 running macOS 12.3. ``` mcuee@mcuees-Mac-mini libusb-compat-0.1 % ./examples/testlibusb [timestamp]...

Same under Linux (Ubuntu Linux 20.04 x64 version). click for debug log ``` mcuee@UbuntuSwift3:~/build/libusb-compat-0.1$ ./examples/testlibusb [timestamp] [threadID] facility level [function call] -------------------------------------------------------------------------------- [ 0.000102] [00001212] libusb: debug [libusb_init] libusb v1.0.26.11717-rc1...

I have closed #974 as it seems to be okay. So I tend to think there is an issue with libusb-compat-0.1 or at least its usage of libusb-1.0 APIs.

Same under my WIndows 11 machine. click for debug log ``` $ ./examples/lsusb.exe [timestamp] [threadID] facility level [function call] -------------------------------------------------------------------------------- [ 0.000957] [0000327c] libusb: debug [libusb_init] libusb v1.0.26.11717-rc1 [ 0.001257]...

From https://github.com/libusb/libusb/pull/749#issuecomment-1082565952 I am encounter issues with SuperSpeed transfer with WinUSB, libusbk seems to perform better. I am not so sure if this is address in the pull request #749...

Debug log for libusbk: ``` 2022-03-30 10:41:22,912 DEBUG:usb.backend.libusb1:_LibUSB.__init__() libusb: info [winusbx_init] WinUSB DLL available (with isoch support) libusb: error [load_usbdk_helper_dll] Failed to load UsbDkHelper.dll: [126] The specified module could not...

Using the Cypress isoc sourcesink FW and the issue seems to be similar. libusbk seems to be okay, WinUSB seems to have issues. ``` #!/usr/bin/python ### quick mod from https://github.com/danielkucera/cyusb3014-breakout/blob/master/software/loopback-test.py...