[Spice-devel] attaching a USB device by libusb_device or libusb_device_handle on Android

i iordanov iiordanov at gmail.com
Mon Dec 20 07:45:29 UTC 2021


Hi guys,

I saw that the developers at libusb have done a bunch of work to
support accessing USB devices on unrooted Android devices, and in
response to a user request, I decided to look into the current state
of the implementation.

I am able to obtain permissions and get both:

libusb_device *dev

and

libusb_device_handle *handle

for an attached USB stick, but now do not have a good idea how to
request libspice to attach the device to the remote.

Is there an API exposed that would permit me to attach devices by
either libusb_device or libusb_device_handle? In either case, any
pointers on how to accomplish this are welcome!

Sincerely,
iordan

-- 
The conscious mind has only one thread of execution.


More information about the Spice-devel mailing list