|
From: Nathan K. <nat...@sp...> - 2016-06-08 13:40:49
|
On 08/06/16 07:34 AM, Xiaofan Chen wrote: > On Wed, Jun 8, 2016 at 6:16 AM, Nathan Kidd <nat...@sp...> wrote: >> Hi, >> >> FreeRDP uses libusb-1.0 API to forward USB devices remotely. I'm trying >> to make that work on Windows with the libusb0 filter driver and libusb, >> but hitting a lot of roadblocks (unable to open composite devices >> without major hacks to the libusb code, etc.). The more I read the code >> and mailing list posts I'm doubting if I'm going down the right path. >> So, before I start barking up this tree with more technical questions: >> >> Would you consider this a reasonable technical approach, or suggest >> something different? > > This is a no-go. libusb-win32 filter does not work well with libusb-1.0 > under Windows. > > You should look at the usbdk backend which has been integrated > into libusb git tree. > > usbdk: > https://github.com/daynix/UsbDk/blob/master/ARCHITECTURE That looks much more appropriate; somehow I overlooked the UsbDk project in my confusion trying to sort out libusbK.dll/libusbK.sys/libusb-win32/libusb0.sys/libusb. Thanks! -Nathan |