Skip to content

Conversation

@jimklimov
Copy link
Member

Not really sure if this would help (checking) but the Windows branch was originally developed before libusb-1.0 effort started, so tweaks to code applied to what is now libusb0.c should be more successful.

In limited dev-testing so far, builds with plain libusb-1.0 and with it wrapped as libusb-0.1-compat (mis-)behave in a similar manner, claiming I/O errors with interrupt processing mode, and nearly no data collected with polling mode. Maybe snatching the device from "kernel" should be done differently (Windows does represent the "USB HID Battery" and probably holds the critical resources).

Have yet to try with original libusb-win32 project the branch was built against.

@AppVeyorBot
Copy link

@jimklimov
Copy link
Member Author

Regarding AppVeyor fail: Huh, this relies on #1628 to be there, for MSYS2 builds. Will retry after merging that one.

configure.ac, drivers/libusb0.c: fix detection of strlwr() and fallback strcasestr() implem
@AppVeyorBot
Copy link

@jimklimov jimklimov merged commit e6894cd into networkupstools:Windows-v2.8.0-1 Aug 30, 2022
@jimklimov jimklimov deleted the Windows-v2.8.0-libusb-0.1 branch August 30, 2022 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants