Open brandonros opened 10 months ago
Why would it say Entity not found... hmm... let me add some logs
I got it, this only supports libusb
devices, not devices with like actual drivers...? I'd have to uninstall my driver for this device and replace it with WinUSB, the rusb::open()
call is failing which is basically libusb_open
No idea if this is even possible
Does #54 help?
I'm down to try it but I have a question. Is it a bad idea to try and proxy from Windows to Android?
Basically virtual USB, cross-platform
Not sure what you mean - a windows device as a USB server and Android as the client? That seems reasonable.
What about reverse?
USB device connected to an Android tablet (server), Windows trying to communicate with the device remotely (client)
You and I would expect that to not work, right? Or should I try it and report back?
That should work in theory, but you would need a USBIP Server on Android and a client on Windows. I haven't tested these but something like this Android app and this client might work.
I wrote the Rust + JNI wrapper to run this as the USBIP Server, the problem is
Android wants to speak libusb
Windows wanted to speak not-libusb
That'll never be compatiable, right?
How can the kernel Windows USB driver (even if it boils down to simple libusb-like commands, reading/writing/transferring/ioctling from endpoints, etc.), are they compatible without a conversion layer?
The conversion layer is the USB/IP Protocol. It shouldn't matter how the client and server are implemented, as long as they implement the same spec. The usbip-win2
uses all native Windows APIs and networking stack, but that shouldn't matter.
https://github.com/vadimgrn/usbip-win2/issues/55#issuecomment-1913692407
Some strangeness on this
Trying to see what the issue is, opening this issue to put my notes