]> sigrok.org Git - sigrok-androidutils.git/commit
UsbHelper: Add additional methods for device enumeration and monitoring
authorMarcus Comstedt <redacted>
Sun, 27 Nov 2016 14:56:24 +0000 (15:56 +0100)
committerUwe Hermann <redacted>
Sat, 3 Dec 2016 18:42:17 +0000 (19:42 +0100)
commit054991d3ec685bf80bd7ca5c2f4c54963f797952
treef0f63aaff64784707279e82b8375f8da11953d7f
parent995e06f35f8fae7370a286c44be86951632776d7
UsbHelper: Add additional methods for device enumeration and monitoring

In newer Android versions, the native enumeration code use by
libusb does not work anymore due to the necessary virtual file
system nodes not being available to user processes. Therefore,
Java helper code is now needed for enumeration as well.

This fixes parts of bug #701.
src/org/sigrok/androidutils/UsbEventListener.java [new file with mode: 0644]
src/org/sigrok/androidutils/UsbEventListenerStub.java [new file with mode: 0644]
src/org/sigrok/androidutils/UsbEventMonitor.java [new file with mode: 0644]
src/org/sigrok/androidutils/UsbHelper.java
src/org/sigrok/androidutils/UsbSupplicant.java