Commit Graph

106 Commits

Author SHA1 Message Date
Klaus Reimer
5d1a91b726 Move LibUsbException into libusb package and remove unused constructors 2013-04-12 18:54:18 +02:00
Klaus Reimer
3f7cd721d7 Split complex scan method 2013-04-12 18:34:50 +02:00
Klaus Reimer
1e98fb97fc Only wait when really necessary 2013-04-12 18:00:12 +02:00
Klaus Reimer
403908f52d Code cleanups 2013-04-12 17:57:46 +02:00
Klaus Reimer
5d80ddceb3 Add missing API doc 2013-04-12 17:35:34 +02:00
Klaus Reimer
4984dc98c0 Remove old libusb 0.1 stuff 2013-04-12 17:28:49 +02:00
Klaus Reimer
ab2fcb69f1 Code cleanups 2013-04-12 17:27:20 +02:00
Klaus Reimer
55c169f493 Code cleanups 2013-04-11 22:45:42 +02:00
Klaus Reimer
d1d42a9ff0 Code cleanups 2013-04-11 22:11:18 +02:00
Klaus Reimer
8c706b46aa Change identification of virtual root hub 2013-04-11 21:01:39 +02:00
Klaus Reimer
2737de708f Add toString method for easier identification of devices 2013-04-11 20:59:24 +02:00
Klaus Reimer
7807eca729 Refactor jsr80 API to use new libusb 1.0 API as backend 2013-04-11 20:54:53 +02:00
Klaus Reimer
d8bedc9f1f Implement bus root_dev support in libusb 0.1 wrapper. 2013-04-11 20:54:53 +02:00
Klaus Reimer
0cee3b2729 Remove wrong comment. 2013-04-11 20:54:53 +02:00
Klaus Reimer
3044d8c53b Correct iterator so it doesn't skip the last device 2013-04-11 20:54:53 +02:00
Klaus Reimer
fd6d234d75 Use bus devices list instead of bus root device as starting point for
device enumeration.
2013-04-11 20:54:52 +02:00
Klaus Reimer
e496e990fb Implement child device enumeration in libusb 0.1 wrapper 2013-04-11 20:54:52 +02:00
Klaus Reimer
58452e2eaf Convert old libusb 0.1 interface to a deprecated wrapper for the new
libusb 1.0 interface.
2013-04-10 23:11:25 +02:00
Klaus Reimer
0ae5e0e971 Add deprecation messages to old JNI stuff 2013-04-10 23:11:25 +02:00
Klaus Reimer
9e6c04c43e Implement first parts of Transfer class 2013-03-05 22:14:51 +01:00
Klaus Reimer
230a433408 Implement JNI code for setPollfdNotifiers() method. 2013-03-05 21:06:46 +01:00
Klaus Reimer
2463d30408 Add Java part of polling and timing functions 2013-03-02 13:43:12 +01:00
Klaus Reimer
f8e3bb8c0e Explicitly loading libusb-1.0.so from usb4java 2013-03-02 12:09:56 +01:00
Klaus Reimer
24da607def Remove Test file 2013-03-01 22:20:19 +01:00
Klaus Reimer
b55f66bade Implement synchronized IO 2013-03-01 22:18:38 +01:00
Klaus Reimer
d56ce5589e Implement getDescriptor and getStringDescriptor methods 2013-03-01 21:13:54 +01:00
Klaus Reimer
dfb8104520 Implement libusbx descriptor stuff and some unit tests. 2013-03-01 20:22:42 +01:00
Klaus Reimer
2169a91c1a Implement large parts of libusbx 1.0 JNI wrapper 2013-02-28 22:02:27 +01:00
Klaus Reimer
ad87ef7c19 Add toString methods 2013-02-28 07:15:33 +01:00
Klaus Reimer
90dfbd984a Add missing Context class 2013-02-28 00:12:33 +01:00
Klaus Reimer
fa8e34a344 Started working on switch to libusbx 1.0 2013-02-28 00:12:07 +01:00
Klaus Reimer
9f208cb3cb Implement support for control endpoints. 2013-02-24 21:59:11 +01:00
Klaus Reimer
99d6caa3d9 Unify type conversion 2013-02-24 21:43:55 +01:00
Klaus Reimer
614e493e5f Fix wrong key type 2013-02-24 21:43:45 +01:00
Klaus Reimer
b39ca1aeb0 Add short package handling 2013-02-24 20:09:06 +01:00
Klaus Reimer
9a497e7708 Unified handling of bulk and interrupt IO 2013-02-24 17:56:24 +01:00
Klaus Reimer
5209e5c3ec Correct processing of short packets 2013-02-24 17:36:19 +01:00
Klaus Reimer
40930d68d9 Improve IRP processing thread execution 2013-02-24 17:35:38 +01:00
Klaus Reimer
ab5c148f37 Switch from synchronized list to thread-safe queue to speed up
asynchronous operations
2013-02-24 16:30:36 +01:00
Klaus Reimer
1887a0d89e Read multiple chunks if necessary 2013-02-24 16:02:56 +01:00
Klaus Reimer
25f0db3ecd Send dataEventOccurred event when control IRP has finished. 2013-02-24 02:03:11 +01:00
Klaus Reimer
d694fe7d55 Ignore duplicate listeners. 2013-02-24 02:02:06 +01:00
Klaus Reimer
62f79e31ae Fix wrong logic in isBusy 2013-02-20 17:43:31 +01:00
Klaus Reimer
c2fb86f1d8 Move os, arch and ext names into constants 2013-02-20 17:42:01 +01:00
Klaus Reimer
02ebe76c65 Improve error handling during native lib loading so javax.usb no
longer hides the important exceptions.
2013-02-20 17:30:08 +01:00
Klaus Reimer
c5d52c3ae2 Native libraries are no longer extracted to a temporary directory when
they are not in a JAR file.
2013-02-16 17:46:48 +01:00
Klaus Reimer
e89e800b22 Increase version 2013-02-16 15:23:05 +01:00
Klaus Reimer
ea52468ecd Made library loading more universal to support loading shared libraries
for platforms not officially supported by usb4java.
2013-02-16 15:22:42 +01:00
Klaus Reimer
f36e7ec5f2 Rename Dump tool to Main. This tool is now executed automatically when
executing the JAR file. Maybe later I add some command line parameters
to use this tool as a Java implementation of lsusb.
2013-02-15 19:31:58 +01:00
Klaus Reimer
aebea196f7 Convert back into single project structure. Let's keep it simple 2013-02-15 19:27:41 +01:00