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

2022-01-09 Thread i iordanov
Hi Frediano, Uri, and Marc-Andre, Just wanted to revive the discussion on this topic and see whether you need anything more for this merge request: https://gitlab.freedesktop.org/spice/spice-gtk/-/merge_requests/95 Thanks! iordan On Thu, Dec 23, 2021 at 3:19 PM i iordanov wrote: > > Hi

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

2021-12-23 Thread i iordanov
Hi Frediano, Thanks for your feedback, that's exactly what I was looking for ahead of opening a MR. On Thu, Dec 23, 2021 at 4:21 AM Frediano Ziglio wrote: > could you open a MR? Is this the right copy of the repo to make an MR against? https://gitlab.freedesktop.org/spice/spice-gtk > I

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

2021-12-23 Thread Frediano Ziglio
Hi Iordan, could you open a MR? Il giorno gio 23 dic 2021 alle ore 03:59 i iordanov ha scritto: > Hi Uri, > > Thanks for your assistance. I got it working. I'm attaching a patch > that does the job, and would really like it if we can make it > acceptable for inclusion into spice-gtk. > > In

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

2021-12-22 Thread i iordanov
Hi Uri, Thanks for your assistance. I got it working. I'm attaching a patch that does the job, and would really like it if we can make it acceptable for inclusion into spice-gtk. In general, the changes accomplish the following: - Add the ability to allocate a SpiceUsbDevice using a file

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

2021-12-21 Thread Uri Lublin
Hi, On Tue, Dec 21, 2021 at 9:24 AM i iordanov wrote: > > Hello, > > Thanks for responding! As mentioned, I am trying to find a working, > programmatic way to pass a USB devices by either libusb_device or > libusb_device_handle from aSPICE and Opaque. > > I've now compiled libusb, usbredir 0.12,

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

2021-12-20 Thread i iordanov
Hello, Thanks for responding! As mentioned, I am trying to find a working, programmatic way to pass a USB devices by either libusb_device or libusb_device_handle from aSPICE and Opaque. I've now compiled libusb, usbredir 0.12, and recompiled spice-gtk 0.39 with usbredir support. The code I came

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

2021-12-20 Thread Uri Lublin
Hi iordan, On Mon, Dec 20, 2021 at 9:46 AM i iordanov wrote: > > 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

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

2021-12-19 Thread i iordanov
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