On Sat, 2008-08-02 at 11:04 -0400, Dan Streetman wrote: > Ok while I'm working on getting the TCK hardware back...didn't someone > else on this list perform a TCK test of their own implementation a > while ago? > > Ok, back to the implementation. So can you test hot-plugging to see if > it works? Is there an easy build environment/process for others (e.g. > me) who want to build and test it? I can help if it doesn't require > windows programming ;-) I looked at some code for testing hot-plugging, but I wasn't clear how to use it. I do know that a polled thread is running that looks for changes and reports them.
Using libusb on Linux is pretty much the same as running it on windows. There are a few important differences. a) the name of the library changes b) added Libusb.usb_set_configuration(getWindowsDeviceOsImp().getHandle(),ucd.getIConfiguration()); to WindowsInterfaceOsImp.java, when claiming interface on Windows machine c) all the swig related files (run swig to fix) And maybe one or two other small changes that I couldn't find I can generate a cleaner set of changes once what I have is checked in. >From that, I think you can do libusb development on a Linux box transparently. > > On Thu, Jul 31, 2008 at 6:08 PM, Mike Crowe <[EMAIL PROTECTED]> wrote: > > Hi > > I've brought javax-usb-libusb up to date with the latest versions of > > javax-usb, javax-usb-ri, and libusb-win32. It is working with my device > > (USB-accelerometer, a HID interrupt device). Now what? I looked at the > > test suite, but because of the lack of target devices, I don't think I > > can perform the TCK stuff. > > > > Changes that I've made > > compiling, linking and running with latest javax-usb and libusb > > distros > > now compiling with cygwin and gcc (and of course SWIG) > > many many things not tested, BULK, Isochronous, hot plugging,... > > > > Mike > > > > > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > > Build the coolest Linux based applications with Moblin SDK & win great > > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > javax-usb-devel mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/javax-usb-devel > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ javax-usb-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/javax-usb-devel
