Usb-Hid Driver
This is an implementation of the UsbBus
trait of usb-device
, simulating a USB device as a USBIP server.
Note
This crate is not intended to be used in production ever.
It's purpose is to ease development of new UsbClass
implementation or to emulate USB devices for easier embedded application development.
Usage
The usbip client can be stared in the following way:
Then, start the application.
and then start the USBIP client.
Depending on you machine setup, you might need do sudo
.
Known Bugs
This is a very alpha software, which still has a lot of quirks to be worked out.
- When using HID, the connection always fails the first time and usually works the second time. It is not entirely clear, why.
License
Apache-2.0 or MIT.