On Mon, Jun 24, 2013 at 02:47:10PM +0800, Xiaofan Chen wrote: > On Mon, Jun 24, 2013 at 11:49 AM, Paul Fertser <[email protected]> wrote: > > So for OpenOCD users it looks like always installing plain > > WinUSB driver and employing libusb-compat-0.1 for the older > > code would be a fine solution, or am I still missing something? > > No, you are not missing anything. The only thing is that if > someone will like to do it (cleanup libusb-compat-01. for > Windows) and if libusb-win32 users will like to switch to > libusb-compat-0.1 or not.
I think I'm starting to understand what you mean (finally :)). My idea was that a typical OpenOCD user shouldn't be bothered to install different drivers for different kind of adapters and that the procedure can be made unambiguous by telling them all to just use WinUSB, with OpenOCD using the compat layer when necessary. So using windows would be almost as smooth as using GNU/Linux (where the user just runs OpenOCD and doesn't care about the drivers at all, everything handled transparently). But now you tell me that some shit-vendors tools do not work with WinUSB so if an OpenOCD user wants to run the vendor tool he is just forced to use vendor driver so he needs the filter mode, so he needs libusb-win32, so he can't just use "OpenOCD->libusb-compat-0.1->libusbx->libusb-win32" because currently libusbx doesn't fully support composite devices when using libusb-win32, so OpenOCD can't be built with libusb-compat-0.1 because it'll be impossible to use those adapters with vendors drivers, right? Moreover, have you seen my commit 6be2a55bde5531de9897fd844c6db13e49213ae8? For the usual Windows builds it'll make jlink, osbdm, opendous and aice use libusb-1.x api (via the common layer inside OpenOCD), so do you mean it'll break the functionality for those who are using e.g. jlink with old vendor's drivers? What can be done about it? Oh my, is it really such a mess? I appreciate your explanations a lot. -- Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software! mailto:[email protected] ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
