usb4java-javax
usb4java-javax copied to clipboard
Kernel attach and bulk fixes
Fixes i've made a while ago but forgot to share.
- keep track of each usb interfaces we detached from kernel to properly re-attach them later
- Handle bulk transfer with data size being modulo of transfer size, sending a zlp to indicate end of transfert and not fall in a dead loop for receiver.