Re: Invalid Parameter in usb_set_configuration call on Win7

Mirco Salvador gmail <[email protected]> Tue, 28 Feb 2017 12:18:56 +0100
Newsgroups gmane.comp.lib.libusb.devel.windows
Message-ID <[email protected]>
On Thu, Dec 8, 2011 at 11:30 AM, David Kobe <dkobe@...> wrote:
> Wow.  Thank you for figuring that out.  I searched for hours and was unable
> to locate an explanation for the problem.
> I am glad to know that it isn't anything that I did but not so happy that I
> will need an old PC with XP to make it work.

A second PC with XP is of course an option. On the other hand,
there are other solutions.

If you are using Windows 7 Professional/Enterprise/Ultimate Version,
you can download XP Mode for free and it should work as well.
http://www.microsoft.com/windows/virtual-pc/download.aspx

Home Premium version can be upgraded for a fee.
http://windows.microsoft.com/en-US/windows7/products/windows-anytime-upgrade

If not, you can try VirtualBox.
https://www.virtualbox.org/


-- 
Xiaofan

Above instructions are not always applicable, at least, not on my Windows 7 64 bit HP EliteBook, because for some usb 
port virtualization does not work.

The only thing I had to do is to get libusb-win32 driver 1.2.6.0, change set_configuration.c in order to replace bulk 
with interrupt transfer in the driver, then compile and install it, at voilà, now I can use both eclipse ide and CF 
Flasher 3.1.
It would be wonderful if somebody could sign the driver with a valid certificate, so it is not necessary to enable 
TESTSIGNING in order to use the driver.

Ratavanax

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot

_______________________________________________
Libusb-win32-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel