changed sys_path
changed sys_path
Release LibusbJava1_2
changed license to apache2, added interrupt transfer, added isochronous transfer, added bulk stream transfer
Release 1_1
Hi everyone, I'd like to know if it would still be possible to use libusbjava like I found on this (really old) project in Processing... I tried importing the library in Processing, and tried a little test code, but I get an error message : “A library used by this sketch is not installed properly.” and “A library relies on native code that’s not available. Or only works properly when the sketch is run as a 32-bit application.” Hope anyone has a solution, Thanks forward !
almost kind of... i did 1) install libusb, libusbx from package manager. libusb is a wrapper for libusbx i think so need them bothe 2) svn checkout then jump to revision 280, this afaik is the latest version that has the functions for 0.5.9 I THINK 3) inside both libusbjava.cpp and libusbjava.h do a find/replace for inf_libubsjava_ -> usb_, this is where 0.5.9 expects to find the functions in the namespace or whatever its actually called. 4) edit project.properties, i pointed /usr/lib to /usr/lib64...
Hi Have you found a way to get ch.ntb.usb-0.5.9.jar running in linux?
I realised i have been silly, rather than the 1.1 so and jar the project was built with ch.ntb.usb-0.5.9.jar so i need to use an older .so that uses old libusb. I didn't understand that the ch.ntb.usb-0.5.9.jar was the old version of libusbjava. I tried building an older version from svn but java segfaults on one of the get string methods.
ok i'm trying to follow these instructions https://github.com/tinwhisker/Owon-VDS1022 on fedora. I dont know anything at all about java whatsoever. i can't find a libusb-java package on my package manager. i followed the instructions here: http://libusb-java.ch/installation/start i run the jar file and get the folowing error: java.lang.UnsatisfiedLinkError: no usbJava in java.library.path so i renamed libLibusbJava-1_1.so to libusbJava.so and copied it into the working directory i run the jar file...
Sorry Erik to have you wait for such a long time. We are under some pressure in a urgent project and did not have time for a more detailed analysis. However, some of our students last week successfully installed you driver package, which among other things include the LibUsbJava. May I ask you to try http://wiki.ntb.ch/infoportal/software/ntb_windows_driver_package/start Hope it works Urs Von: Erik [mailto:erik_hjerten@users.sf.net] Gesendet: Freitag, 5. Januar 2018 21:22 An: [libusbjava:discussion]...
Hello I'm trying to make a small app for X-Plane (flight simulator) to control the LEDs and a small display on the Logitech/Saitek X52 Pro Joystick. I'm thinking i lines of: [X-Plane] -> [My java app] -> [Libusb Java] -> [Libusb-win32 filter driver] -> [Logitech/Saitek driver] -> [Joystick] The reason I need the filter driver approach is that the Logitech/Saitek driver needs to be installed to make the Joystick still act as a joystick. (I tried with a more recent version of Libusb but the drivers...
Thank you for the fast reply. I looked at the API for the new libusbjava but do not see how I can transfrer my (big) program over from the classes shown in ch.ntb.usb-0.5.9.jar to the new distro so I am trying to use the libusb-win32-bin-1.2.6.0 distribution. This works fine in Win 7. On a Win-10 computer it is not working. However, the ch.ntb.usb-0.5.9. USBView program appears to work with my device just fine. The test programs included in the distro: testlibusb.exe and testlibusb-win.exe also both...
No, that won't be possible as the API changed. Please get the new jar file and try again. The linker should be able to successfully resolve all links.
I have been trying to get LibusbJava-1_1 to work on both Win7 and Ubuntu 16.04 without success. I have tried both jdk7 and jdk8 on windows and openjdk7 on a VirtualBox Ubuntu 14.04 guest. I cannot find anything I have done wrong following the instructions from http://libusb-java.ch/installation/start Both the Win7 and Ubuntu installations give errors on starting my application program that are quite similar: Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: ch.ntb.usb.LibusbJava.usb_error_no(I)I...
unit tests added
No USB3 support
USB3.0 hubs and devices are recognized and are supported now. High speed transfers...
support for control transfers added, c++ part
support for Control Transfer added
License added in source files, control transfer...
debug prints fixed
fix for multiple devices with same vid, pid on ...
Linux support added
spelling in comment fixed
minor fix exception throw, class loading path
The 1.1 release is a complete rewrite for the libusb 1.0. Further details will be...
I'm curious what's new/different with the recent 1.1 release. Also, will there be...
Javadoc added
import of cmake main-file
import of libusbx/LibusbJava
import from libusbx branch
remove deprecated LibusbJava from trunk
remove deprecated java from trunk
descriptors, bulk transfer, handling
detection of TransferType added, libusb updated...
JNI, Descriptors, Bulk Transfers working, Cpp part
Descriptors, getDeviceList, Bulk Transfers working
DeviceDescriptors, Config-, InterfaceDescriptor...
JNI functions, tests for getList started
added build and workspace folders to ignore list
main cmake file added
project structure changed, create support for l...
project structure changed, libusb 1.0.18 included
Eclipse Plugin deleted