Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Needs to be updated to libusb 1.0.26 #14

Open
prevoj opened this issue Oct 12, 2023 · 1 comment
Open

Needs to be updated to libusb 1.0.26 #14

prevoj opened this issue Oct 12, 2023 · 1 comment

Comments

@prevoj
Copy link

prevoj commented Oct 12, 2023

I've been having trouble with usb4java 1.3.0 on Windows. I have a USB composite device with a HID, MIDI, and WinUSB interface. usb4java 1.3.0 can't open a handle to the device because it's using libusb 1.0.22, which does not handle a USB device configured like this on Windows.

After some head banging, I finally managed to rebuild libusb4java 1.3.0 with libusb 1.0.26 for Windows X64. I had to make changes to the build script but didn't have to make any code changes. I can now access my device via usb4java 1.3.0 just fine.

Is there any chance of libusb 1.0.26 being added officially to libusb4java? I noticed that the usb4java/libusb4java projects seems to be pretty static these days.

@homeseerwu
Copy link

+1 to this. There have been important fixes since 1.0.22 which warrant updating.
Personally, the breaking when a root devnode's children cannot be enumerated blocks me:
https://github.com/libusb/libusb/issues/441

Enumeration just stops when it hits any root hub failing to enumerate children. This blocks using Silex remote USB servers on my box; its driver causes this problem. You can repo this by installing the Silex SX Virtual Link software (https://www.silextechnology.com/). You do not need the hardware, the mere presence of the software devnode (SXUPTP driver) will repo the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants