On 21.03.2014 01:57, Pio Tofanelli wrote:
> Sorry, my mistake, I forgot to say that.
> I tested on Windows 7 x64 and VM Ware windows XP x86.
Sorry, if I just rant down the usual answers for Windows users first:
Did you create a Windows driver for the device with the Zadig tool as
mentioned in the FAQ? If not then you should read the following article
in the libusb Wiki which explains how to do it:
https://github.com/libusb/libusb/wiki/Windows#How_to_use_libusb_on_Windows
usb4java internally uses libusb for the actual USB communication and on
Windows libusb only can communicate with devices for which you have
installed a libusb compatible driver. This Zadig tool mentioned in the
above article is an easy way to create such a driver with just a few
mouse clicks. Without such a driver libusb is only able to read some
descriptor information from the device but it can't actually communicate
with it. This may explain the error messages you get.
> I can test on Linux (2.6.24 and 3.2.1)
This is always a good idea. libusb works best on Linux. So it is helpful
to check if there is a problem in your code or if it is a
platform-specific problem.
But I don't know if it works on an old Distribution which still uses
kernel 2.6. The Distribution with the oldest kernel we tested usb4java
on is Debian 7 which uses kernel 3.2.0.